2007-01-09 Nicolas Pitre <nico@cam.org>
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jan 2007 10:08:49 +0000 (10:08 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 9 Jan 2007 10:08:49 +0000 (10:08 +0000)
PR target/30173
* arm/ieee754-df.S (Lad_s): Also test the low word of X for zero.

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

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

index caeff6b..2451d71 100644 (file)
@@ -1,3 +1,8 @@
+2007-01-09  Nicolas Pitre  <nico@cam.org>
+
+       PR target/30173
+       * arm/ieee754-df.S (Lad_s): Also test the low word of X for zero.
+
 2007-01-08  Geoffrey Keating  <geoffk@apple.com>
 
        * target.h (struct gcc_target): New field library_rtti_comdat.
index 7a428a2..76cbb6e 100644 (file)
@@ -363,7 +363,7 @@ LSYM(Lad_s):
        beq     1f
 
        @ Result is x + 0.0 = x or 0.0 + y = y.
-       teq     r4, #0
+       orrs    ip, r4, xl
        do_it   eq, t
        moveq   xh, yh
        moveq   xl, yl