re PR target/46091 (missed optimization: x86 bt/btc/bts instructions)
authorUros Bizjak <ubizjak@gmail.com>
Mon, 14 Aug 2017 16:42:15 +0000 (18:42 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Mon, 14 Aug 2017 16:42:15 +0000 (18:42 +0200)
commit2912db04c1091e5b6a0fd8a464d9ec8a2c5a1fb6
treeef84b6e0b05dce8ae6c9c2c51519caf478c49d19
parentc7fd21762de653a19dabf837917a8ad6f9491bc0
re PR target/46091 (missed optimization: x86 bt/btc/bts instructions)

PR target/46091
* config/i386/i386.md (*anddi_1_btr): New insn_and_split pattern.
(*iordi_1_bts): Ditto.
(*xordi_1_btc): Ditto.

testsuite/ChangeLog:

PR target/46091
* gcc.target/i386/pr46091-1.c: New test.
* gcc.target/i386/pr46091-2.c: Ditto.
* gcc.target/i386/pr46091-3.c: Ditto.

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