summaryrefslogtreecommitdiffstats
path: root/toolchain/gcc/patches/4.3.5/940-avr32_fix_f32_to_f64.patch
blob: 6476aaa2a13fd5084936a363b230fab309392c82 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/gcc/config/avr32/lib1funcs.S
+++ b/gcc/config/avr32/lib1funcs.S
@@ -2800,6 +2800,7 @@ __extendsfdf_return_op1:        
         lsl     r11,8                   /* check mantissa */
         movne   r11, -1                 /* Return NaN */
         moveq   r11, r10                /* Return inf */
+        mov     r10, 0
         rjmp    __extendsfdf_return_op1
 #endif