re PR target/40153 (Long long comparison optimized away incorrectly in Thumb code.)

PR target/40153
	* arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name
	implies.

From-SVN: r147614
This commit is contained in:
Richard Earnshaw 2009-05-16 13:28:27 +00:00 committed by Richard Earnshaw
parent 13a2d9093b
commit 38bb58a093
2 changed files with 7 additions and 1 deletions

View 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-14 H.J. Lu <hongjiu.lu@intel.com>
Backport from mainline:

View File

@ -8214,7 +8214,7 @@
(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"