diff options
author | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-04 14:17:06 +0000 |
---|---|---|
committer | kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-11-04 14:17:06 +0000 |
commit | 83cccb37e9c5a36b06bf0ad05df0b61ba7e75f34 (patch) | |
tree | 9503686e994b2c3ad2016ddd466e8568ef31ed44 /toolchain/gcc/patches/4.3.5/945-avr32_fix_f64_to_f32.patch | |
parent | 61c948163d164c338de3bb040422b00c9a217f9b (diff) |
[toolchain]: add avr32 support to gcc 4.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc/patches/4.3.5/945-avr32_fix_f64_to_f32.patch')
-rw-r--r-- | toolchain/gcc/patches/4.3.5/945-avr32_fix_f64_to_f32.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.3.5/945-avr32_fix_f64_to_f32.patch b/toolchain/gcc/patches/4.3.5/945-avr32_fix_f64_to_f32.patch new file mode 100644 index 000000000..55d50a7b6 --- /dev/null +++ b/toolchain/gcc/patches/4.3.5/945-avr32_fix_f64_to_f32.patch @@ -0,0 +1,11 @@ +--- a/gcc/config/avr32/lib1funcs.S ++++ b/gcc/config/avr32/lib1funcs.S +@@ -2866,7 +2866,7 @@ __truncdfsf_return_op1: + /* NaN or inf */ + cbr r12,31 /* clear implicit bit */ + retne -1 /* Return NaN if mantissa not zero */ +- mov_imm r12, 0xff000000 ++ mov_imm r12, 0x7f800000 + ret r12 /* Return inf */ + + 3: /* Result is subnormal. Adjust it.*/ |