re PR target/82498 (Missed optimization for x86 rotate instruction)
authorJakub Jelinek <jakub@redhat.com>
Thu, 12 Oct 2017 19:10:34 +0000 (21:10 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 12 Oct 2017 19:10:34 +0000 (21:10 +0200)
commit912a7ec3b1f424ee8c6dce7965bd2f98df174dea
tree8ce05f2a6a420f4c899eda179a769703b2321d36
parent1baafc8d197217a11085f48a93ccd23dc59d2edb
re PR target/82498 (Missed optimization for x86 rotate instruction)

PR target/82498
* config/i386/i386.md (*ashl<mode>3_mask_1,
*<shift_insn><mode>3_mask_1, *<rotate_insn><mode>3_mask_1,
*<btsc><mode>_mask_1, *btr<mode>_mask_1): New define_insn_and_split
patterns.

* gcc.target/i386/pr82498-1.c: New test.
* gcc.target/i386/pr82498-2.c: New test.

From-SVN: r253695
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr82498-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr82498-2.c [new file with mode: 0644]