re PR target/78904 (zero-extracts are not effective)
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 28 Dec 2016 15:16:26 +0000 (16:16 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 28 Dec 2016 15:16:26 +0000 (16:16 +0100)
commit5c8617dce6534f9438d4a7d110b277b2fddf19c5
tree8dc69a56a38e95c09a4c283eaac811ff475b6736
parentc05169aab6c52fb250ad4d113d2f3d965a9c6416
re PR target/78904 (zero-extracts are not effective)

PR target/78904
* config/i386/constraints.md (Bn): New special memory constraint.
* config/i386/predicates.md (norex_memory_operand): New predicate.
* config/i386/i386.md (*extzvqi_mem_rex64): New insn pattern and
corresponding peephole2 pattern.

testsuite/ChangeLog:

PR target/78904
* gcc.target/i386/pr78904-4.c: New test.
* gcc.target/i386/pr78904-5.c: Ditto.

From-SVN: r243955
gcc/ChangeLog
gcc/config/i386/constraints.md
gcc/config/i386/i386.md
gcc/config/i386/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr78904-4.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78904-5.c [new file with mode: 0644]