PR target/15184
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jan 2015 14:30:45 +0000 (14:30 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 29 Jan 2015 14:30:45 +0000 (14:30 +0000)
commit50a2b7fd9abffb72417d2c85d09fdf44edb8148a
tree5f77c59797bc55ba92354910fbc0f9280546b541
parentd3815dd181189834d04b4692900988657978c419
PR target/15184
* combine.c (try_combine): If I0 is a memory load and I3 a store
to a related address, increase the "goodness" of doing a 4-insn
combination with I0-I3.
(make_field_assignment): Handle SUBREGs in the ior+and case.

PR target/15184
* gcc.target/i386/pr15184-1.c: New test.
* gcc.target/i386/pr15184-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220249 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr15184-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr15184-2.c [new file with mode: 0644]