]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR target/57819 (Suboptimal shift patterns)
authorJakub Jelinek <jakub@redhat.com>
Mon, 8 Jul 2013 08:48:40 +0000 (10:48 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 8 Jul 2013 08:48:40 +0000 (10:48 +0200)
commit8140c06592fe11cfb82c54f0dc467705381a8785
tree38579d40ff3a272b2669af830c79e5de77e39b55
parent78d432da45406aaeb97b7485f548d07fc3ca7049
re PR target/57819 (Suboptimal shift patterns)

PR target/57819
* simplify-rtx.c (simplify_unary_operation_1) <case ZERO_EXTEND>:
Simplify (zero_extend:SI (subreg:QI (and:SI (reg:SI)
(const_int 63)) 0)).
* combine.c (make_extraction): Create ZERO_EXTEND or SIGN_EXTEND
using simplify_gen_unary instead of gen_rtx_*_EXTEND.
* config/i386/i386.md (*jcc_bt<mode>_1): New define_insn_and_split.

* gcc.target/i386/pr57819.c: New test.

From-SVN: r200775
gcc/ChangeLog
gcc/combine.c
gcc/config/i386/i386.md
gcc/simplify-rtx.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr57819.c [new file with mode: 0644]