Commit 8d463d3a by Uros Bizjak Committed by Uros Bizjak

re PR target/53291 (Code generated for xtest is wrong)

	PR target/53291
	* config/i386/i386.md (xtest): Use NE condition in ix86_expand_setcc.

From-SVN: r187387
parent 63705578
2012-05-11 Uros Bizjak <ubizjak@gmail.com> 2012-05-11 Uros Bizjak <ubizjak@gmail.com>
PR target/53291
* config/i386/i386.md (xtest): Use NE condition in ix86_expand_setcc.
2012-05-11 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (*movti_internal_rex64): Avoid MOVAPS size * config/i386/i386.md (*movti_internal_rex64): Avoid MOVAPS size
optimization for TARGET_AVX. optimization for TARGET_AVX.
(*movti_internal_sse): Ditto. (*movti_internal_sse): Ditto.
......
...@@ -18479,7 +18479,7 @@ ...@@ -18479,7 +18479,7 @@
{ {
emit_insn (gen_xtest_1 ()); emit_insn (gen_xtest_1 ());
ix86_expand_setcc (operands[0], EQ, ix86_expand_setcc (operands[0], NE,
gen_rtx_REG (CCZmode, FLAGS_REG), const0_rtx); gen_rtx_REG (CCZmode, FLAGS_REG), const0_rtx);
DONE; DONE;
}) })
......
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