]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/40153 (Long long comparison optimized away incorrectly in Thumb code.)
authorRichard Earnshaw <rearnsha@arm.com>
Sat, 16 May 2009 23:04:06 +0000 (23:04 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 16 May 2009 23:04:06 +0000 (23:04 +0000)
PR target/40153
* arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name
implies.

From-SVN: r147626

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

index 7e7649778528dca6c224868f26cf9914e0ab42e7..d1023425ce3ff098e5175ff2df9124a807ed4ed6 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 1894cec01dc02585b6009db89a4be2fbbc4dee8f..e6ae54393b8b6032f70f1a97a82d702631dc0196 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"