i386.md (*anddi3_doubleword): Generate AND insn using ix86_expand_binary_operator...
authorUros Bizjak <ubizjak@gmail.com>
Thu, 24 Mar 2016 14:48:05 +0000 (15:48 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 24 Mar 2016 14:48:05 +0000 (15:48 +0100)
* config/i386/i386.md (*anddi3_doubleword): Generate AND insn
using ix86_expand_binary_operator instead of gen_andsi3.

From-SVN: r234456

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;
 })