]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: Subnormal double to float conversion
authorCarl Shaw <carl.shaw@st.com>
Fri, 5 Sep 2008 07:36:19 +0000 (16:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 8 Sep 2008 01:35:05 +0000 (10:35 +0900)
commitb6ad1e8c3f76fcc5dee506d5e79e752d296ff745
treec626da55bdfc3e19419856e086a5cad1dc4829c4
parentf040ddaf4cfd28f25ea9d6a42d3c734d5c3f6798
sh: Subnormal double to float conversion

This patch adds support for the SH4 to convert a subnormal double
into a float by catching the FPE and implementing the FCNVDS
instruction in software.

Signed-off-by: Carl Shaw <carl.shaw@st.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4/fpu.c
arch/sh/kernel/cpu/sh4/softfloat.c