diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2016-03-24 15:48:05 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2016-03-24 15:48:05 +0100 |
commit | fc3fb4bad52a2185acb11a3c17aead7d63719954 (patch) | |
tree | 00cc0887993b6bd87c2f0e12bd2fe8b7ee36271b /gcc | |
parent | 69a9a66f466f89b3e65bad5ee3087cbf7461fd98 (diff) | |
download | gcc-fc3fb4bad52a2185acb11a3c17aead7d63719954.zip gcc-fc3fb4bad52a2185acb11a3c17aead7d63719954.tar.gz gcc-fc3fb4bad52a2185acb11a3c17aead7d63719954.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.md | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c17cc11..72c3d7d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 51e9a6e..339a134 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; }) |