re PR target/40153 (Long long comparison optimized away incorrectly in Thumb code.)
authorRichard Earnshaw <rearnsha@arm.com>
Sat, 16 May 2009 12:53:22 +0000 (12:53 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 16 May 2009 12:53:22 +0000 (12:53 +0000)
PR target/40153
* arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name
implies.

From-SVN: r147613

gcc/ChangeLog
gcc/config/arm/arm.md

index a53a2e0..b130e14 100644 (file)
@@ -1,5 +1,11 @@
 2009-05-16  Richard Earnshaw  <rearnsha@arm.com>
 
+       PR target/40153
+       * arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name
+       implies.
+
+2009-05-16  Richard Earnshaw  <rearnsha@arm.com>
+
        * arm.md (movdi2): Copy non-reg values to DImode registers.
 
 2009-05-16  Jakub Jelinek  <jakub@redhat.com>
index 0561940..2b2d703 100644 (file)
 
 (define_insn "cstoresi_nltu_thumb1"
   [(set (match_operand:SI 0 "s_register_operand" "=l,l")
-        (neg:SI (gtu:SI (match_operand:SI 1 "s_register_operand" "l,*h")
+        (neg:SI (ltu:SI (match_operand:SI 1 "s_register_operand" "l,*h")
                        (match_operand:SI 2 "thumb1_cmp_operand" "lI*h,*r"))))]
   "TARGET_THUMB1"
   "cmp\\t%1, %2\;sbc\\t%0, %0, %0"