]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/53291 (Code generated for xtest is wrong)
authorUros Bizjak <ubizjak@gmail.com>
Thu, 10 May 2012 23:31:03 +0000 (01:31 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 10 May 2012 23:31:03 +0000 (01:31 +0200)
PR target/53291
* config/i386/i386.md (xtest): Use NE condition in ix86_expand_setcc.

From-SVN: r187387

gcc/ChangeLog
gcc/config/i386/i386.md

index 6eb4d871de0afb930c002785f8a6926b92b2556b..ffff7dbb38e3d0aa8bcfd3e7c4680cd680db741b 100644 (file)
@@ -1,3 +1,8 @@
+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
index 44eafe036944d3b1cc61c407786bc62666941067..cce78b5c535ea29d85db1523ff223662dd38ac0d 100644 (file)
 {
   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;
 })