]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386/i386.md (*anddi3_doubleword): Generate AND insn
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Mar 2016 14:48:05 +0000 (14:48 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 24 Mar 2016 14:48:05 +0000 (14:48 +0000)
using ix86_expand_binary_operator instead of gen_andsi3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234456 138bc75d-0d04-0410-961f-82ee72b054a4

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

index c17cc11c624e2fca62a5b0bfff0ab2647353663d..72c3d7da272104f753805940417ccb8dfed18bfb 100644 (file)
@@ -1,3 +1,8 @@
+2016-03-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*anddi3_doubleword): Generate AND insn
+       using ix86_expand_binary_operator instead of gen_andsi3.
+
 2016-03-24  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/70396
index 51e9a6eb75a9bb03903b2c57edce40fc76ebef77..339a13401ddb8529ab2c3892c6090e15f30b89fc 100644 (file)
       ix86_expand_move (SImode, &operands[0]);
     }
   else if (operands[2] != constm1_rtx)
-    emit_insn (gen_andsi3 (operands[0], operands[1], operands[2]));
+    ix86_expand_binary_operator (AND, SImode, &operands[0]);
   else if (operands[5] == constm1_rtx)
     emit_note (NOTE_INSN_DELETED);
   if (operands[5] == const0_rtx)
       ix86_expand_move (SImode, &operands[3]);
     }
   else if (operands[5] != constm1_rtx)
-    emit_insn (gen_andsi3 (operands[3], operands[4], operands[5]));
+    ix86_expand_binary_operator (AND, SImode, &operands[3]);
   DONE;
 })