Paul Mundt
e9bf51e5cc
sh: __udivdi3 -> do_div() in softfloat lib.
...
Inhibit the generation of __udivdi3 for the softfloat lib, use do_div()
outright.
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2008-12-22 18:42:53 +09:00
Carl Shaw
b6ad1e8c3f
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 >
2008-09-08 10:35:05 +09:00
Paul Mundt
f15cbe6f1a
sh: migrate to arch/sh/include/
...
This follows the sparc changes a439fe51a1
.
Most of the moving about was done with Sam's directions at:
http://marc.info/?l=linux-sh&m=121724823706062&w=2
with subsequent hacking and fixups entirely my fault.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2008-07-29 08:09:44 +09:00
Stuart Menefy
c8c0a1aba9
sh: Support denormalization on SH-4 FPU.
...
Signed-off-by: Stuart Menefy <stuart.menefy@st.com >
Signed-off-by: Paul Mundt <lethal@linux-sh.org >
2008-01-28 13:18:59 +09:00