ieee754-sf.S (floatdisf): Fix regression with values smaller than 2^32.
authorNicolas Pitre <nico@cam.org>
Mon, 1 Nov 2004 04:40:48 +0000 (04:40 +0000)
committerNicolas Pitre <nico@gcc.gnu.org>
Mon, 1 Nov 2004 04:40:48 +0000 (04:40 +0000)
* config/arm/ieee754-sf.S (floatdisf): Fix regression with
values smaller than 2^32.

From-SVN: r89934

gcc/ChangeLog
gcc/config/arm/ieee754-sf.S

index 5c03c9e811806459086256258f71a7b321696632..6f350f13e806250d84d31d86daa13c534e406088 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-31  Nicolas Pitre <nico@cam.org>
+
+       * config/arm/ieee754-sf.S (floatdisf): Fix regression with
+       values smaller than 2^32.
+
 2004-10-31 Jeff Law  <law@redhat.com>
 
        * cfgloop.h (struct loop): Remove unused "nodes" field.
index 8eae6e9325d225e0e0c6d245ca306686267eb024..485a72f19c335c1a167a8809e7682b63fb175e02 100644 (file)
@@ -333,6 +333,8 @@ ARM_FUNC_ALIAS aeabi_l2f floatdisf
 
        movs    ip, ah
        moveq   ip, al
+       moveq   ah, al
+       moveq   al, #0
 
        @ Add initial exponent to sign
        orr     r3, r3, #((127 + 23 + 32) << 23)