From fc3fb4bad52a2185acb11a3c17aead7d63719954 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 24 Mar 2016 15:48:05 +0100 Subject: [PATCH] i386.md (*anddi3_doubleword): Generate AND insn using ix86_expand_binary_operator instead of gen_andsi3. * config/i386/i386.md (*anddi3_doubleword): Generate AND insn using ix86_expand_binary_operator instead of gen_andsi3. From-SVN: r234456 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c17cc11c624..72c3d7da272 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-03-24 Uros Bizjak + + * config/i386/i386.md (*anddi3_doubleword): Generate AND insn + using ix86_expand_binary_operator instead of gen_andsi3. + 2016-03-24 Richard Biener PR tree-optimization/70396 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 51e9a6eb75a..339a13401dd 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -8154,7 +8154,7 @@ 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) @@ -8163,7 +8163,7 @@ 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; }) -- 2.30.2