OSDN Git Service

* config/arm/ieee754-sf.S (floatdisf): Fix regression with
authornico <nico@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Nov 2004 04:40:48 +0000 (04:40 +0000)
committernico <nico@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Nov 2004 04:40:48 +0000 (04:40 +0000)
values smaller than 2^32.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89934 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5c03c9e..6f350f1 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 8eae6e9..485a72f 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)