re PR target/78904 (zero-extracts are not effective)
authorUros Bizjak <ubizjak@gmail.com>
Tue, 27 Dec 2016 08:59:04 +0000 (09:59 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Tue, 27 Dec 2016 08:59:04 +0000 (09:59 +0100)
commitb1d3a450becb7fb1648c11d4210b109d660f085d
treef2ec4288c38d3284d2753bd944ad5631f455549e
parent2226492f2637964d2ba1b5a2cb1354b0b0ef5b51
re PR target/78904 (zero-extracts are not effective)

PR target/78904
* config/i386/i386.md (*cmpqi_ext_1, *extvqi, *extzvqi): Use
nonimmediate_operand instead of nonimmediate_x64nomem_operand.
(*cmpqi_ext_3, insv<mode>_1, addqi_ext_1, *testqi_ext_1, andqi_ext_1)
(*<any_or:code>qi_ext_1, *xorqi_ext_1_cc): Use general_operand
instead of general_x64nomem_operand.
* config/i386/predicates.md (nonimmediate_x64nomem_operand): Remove.
(general_x64nomem_operand): Ditto.

testsuite/ChangeLog:

PR target/78904
* gcc.target/i386/pr78904-2.c: New test.

From-SVN: r243933
gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/i386/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr78904-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78904-2.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr78904.c [deleted file]