Commit 70544f44 by Richard Earnshaw Committed by Richard Earnshaw

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: r147613
parent 6241ded1
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>
......
......@@ -7977,7 +7977,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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment