diff options
author | Jakub Jelinek <jakub@redhat.com> | 2017-09-30 10:10:15 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2017-09-30 10:10:15 +0200 |
commit | 15c77315001af0842a537ff748d1a0995ad38545 (patch) | |
tree | 88422c20d5913d279b89b716af89576b2fe24a3b /config.sub | |
parent | 6bc1d858fbeba5ed7ee06266a3d6738bad2d8b3f (diff) | |
download | gcc-15c77315001af0842a537ff748d1a0995ad38545.zip gcc-15c77315001af0842a537ff748d1a0995ad38545.tar.gz gcc-15c77315001af0842a537ff748d1a0995ad38545.tar.bz2 |
re PR target/82361 (Useless "mov eax, eax" in generated code)
PR target/82361
* config/i386/i386.md
(TARGET_USE_8BIT_IDIV zext divmodsi4 splitter): New define_split.
(divmodsi4_zext_1, divmodsi4_zext_2, *divmodsi4_zext_1,
*divmodsi4_zext_2): New define_insn_and_split.
(*divmodsi4_noext_zext_1, *divmodsi4_noext_zext_2): New define_insn.
(TARGET_USE_8BIT_IDIV zext udivmodsi4 splitter): New define_split.
(udivmodsi4_zext_1, udivmodsi4_zext_2, *udivmodsi4_zext_1,
*udivmodsi4_zext_2, *udivmodsi4_pow2_zext_1, *udivmodsi4_pow2_zext_2):
New define_insn_and_split.
(*udivmodsi4_noext_zext_1, *udivmodsi4_noext_zext_2): New define_insn.
* config/i386/i386.c (ix86_split_idivmod): Handle operands[0] or
operands[1] having DImode when mode is SImode.
* gcc.target/i386/pr82361-1.c: New test.
* gcc.target/i386/pr82361-2.c: New test.
From-SVN: r253317
Diffstat (limited to 'config.sub')
0 files changed, 0 insertions, 0 deletions