Commit bbb52802 by H.J. Lu Committed by H.J. Lu

re PR target/38824 (performance regression of sse code from 4.2/4.3)

2009-03-12  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/38824
	* config/i386/i386.md: Compare REGNO on the new peephole2
	patterns.

From-SVN: r144817
parent a812fb07
2009-03-12 H.J. Lu <hongjiu.lu@intel.com>
PR target/38824
* config/i386/i386.md: Compare REGNO on the new peephole2
patterns.
2009-03-12 Vladimir Makarov <vmakarov@redhat.com>
PR debug/39432
......
......@@ -20813,7 +20813,7 @@
[(match_dup 0)
(match_operand:SI 2 "memory_operand" "")]))
(clobber (reg:CC FLAGS_REG))])]
"operands[0] != operands[1]
"REGNO (operands[0]) != REGNO (operands[1])
&& GENERAL_REGNO_P (REGNO (operands[0]))
&& GENERAL_REGNO_P (REGNO (operands[1]))"
[(set (match_dup 0) (match_dup 4))
......@@ -20829,7 +20829,7 @@
(match_operator 3 "commutative_operator"
[(match_dup 0)
(match_operand 2 "memory_operand" "")]))]
"operands[0] != operands[1]
"REGNO (operands[0]) != REGNO (operands[1])
&& ((MMX_REG_P (operands[0]) && MMX_REG_P (operands[1]))
|| (SSE_REG_P (operands[0]) && SSE_REG_P (operands[1])))"
[(set (match_dup 0) (match_dup 2))
......
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