Commit ab3e1ef6 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

mmix.md ("*cmpcc_folded"): In condition, gate with REG_P tests before REGNO access.

	* config/mmix/mmix.md ("*cmpcc_folded"): In condition, gate
	with REG_P tests before REGNO access.

From-SVN: r128743
parent 8d2fd9c9
2007-09-25 Hans-Peter Nilsson <hp@bitrange.com>
* config/mmix/mmix.md ("*cmpcc_folded"): In condition, gate
with REG_P tests before REGNO access.
2007-09-24 DJ Delorie <dj@redhat.com> 2007-09-24 DJ Delorie <dj@redhat.com>
PR target/31482 PR target/31482
...@@ -481,7 +481,8 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2") ...@@ -481,7 +481,8 @@ DIVU %1,%1,%2\;GET %0,:rR\;NEGU %2,0,%0\;CSNN %0,$255,%2")
(const_int 0)))] (const_int 0)))]
;; FIXME: Can we test equivalence any other way? ;; FIXME: Can we test equivalence any other way?
;; FIXME: Can we fold any other way? ;; FIXME: Can we fold any other way?
"REGNO (operands[1]) == REGNO (operands[0])" "REG_P (operands[0]) && REG_P (operands[1])
&& REGNO (operands[1]) == REGNO (operands[0])"
"%% folded: cmp %0,%1,0") "%% folded: cmp %0,%1,0")
(define_insn "*cmpcc" (define_insn "*cmpcc"
......
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