mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 20:05:31 +02:00
83cccb37e9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23865 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
771 B
Diff
21 lines
771 B
Diff
--- a/gcc/config/avr32/lib1funcs.S
|
|
+++ b/gcc/config/avr32/lib1funcs.S
|
|
@@ -1733,7 +1733,7 @@ __avr32_f64_div_round_subnormal:
|
|
brne 16f /* Return NaN if op1 is NaN */
|
|
/* Op1 is inf check op2 */
|
|
lsr r6, r9, 20 /* Extract exponent */
|
|
- cbr r6, 8 /* Clear sign bit */
|
|
+ cbr r6, 11 /* Clear sign bit */
|
|
cp r6, 0x7ff
|
|
brne 17f /* Inf/number gives inf, return inf */
|
|
rjmp 16f /* The rest gives NaN*/
|
|
@@ -1849,7 +1849,7 @@ __avr32_f64_div_res_subnormal:/* Divide
|
|
|
|
16: /* Return NaN. */
|
|
mov r11, -1
|
|
- mov r10, -1
|
|
+ mov r10, 0
|
|
ldm sp++, r0, r1, r2, r3, r4, r5, r6, r7,pc
|
|
|
|
17: /* Return INF. */
|