[toolchain/gcc/4.3.5]: refresh patches
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.3.5 / 945-avr32_fix_f64_to_f32.patch
1 --- a/gcc/config/avr32/lib1funcs.S
2 +++ b/gcc/config/avr32/lib1funcs.S
3 @@ -2866,7 +2866,7 @@ __truncdfsf_return_op1:
4 /* NaN or inf */
5 cbr r12,31 /* clear implicit bit */
6 retne -1 /* Return NaN if mantissa not zero */
7 - mov_imm r12, 0xff000000
8 + mov_imm r12, 0x7f800000
9 ret r12 /* Return inf */
10
11 3: /* Result is subnormal. Adjust it.*/