re PR rtl-optimization/78952 (Combine does not convert 8-bit sign-extract to a zero...
authorUros Bizjak <uros@gcc.gnu.org>
Wed, 18 Jan 2017 19:24:30 +0000 (20:24 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Wed, 18 Jan 2017 19:24:30 +0000 (20:24 +0100)
commita711887ed98d6524dda82e8ab174fe93142e43ca
treefd04f8865bce5099513d075f47e73fbf346586ea
parent525a5e33b5c7baafd44ce91b4064148e99b4e97e
re PR rtl-optimization/78952 (Combine does not convert 8-bit sign-extract to a zero-extract for QImode operations)

PR rtl-optimization/78952
* config/i386/i386.md (any_extract): New code iterator.
(*insvqi_2): Use any_extract for source operand.
(*insvqi_3): Use any_shiftrt for source operand.

testsuite/ChangeLog:

PR rtl-optimization/78952
* gcc.target/i386/pr78952-1.c: New test.
* gcc.target/i386/pr78952-2.c: Ditto.

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