From: Uros Bizjak Date: Thu, 10 May 2012 23:31:03 +0000 (+0200) Subject: re PR target/53291 (Code generated for xtest is wrong) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d463d3a54e22861e2866d72c2b4c8259bd6a4b5;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6eb4d871de0..ffff7dbb38e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-11 Uros Bizjak + + PR target/53291 + * config/i386/i386.md (xtest): Use NE condition in ix86_expand_setcc. + 2012-05-11 Uros Bizjak * config/i386/i386.md (*movti_internal_rex64): Avoid MOVAPS size diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 44eafe03694..cce78b5c535 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18479,7 +18479,7 @@ { 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); DONE; })