re PR target/15184 (Direct access to byte inside word not working with -march=pentiumpro)
authorJeff Law <law@redhat.com>
Thu, 29 Jan 2015 14:30:45 +0000 (07:30 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 29 Jan 2015 14:30:45 +0000 (07:30 -0700)
commit52d285303c8fb614b39a0c0366ef7decd4bea198
tree5f77c59797bc55ba92354910fbc0f9280546b541
parentb8aa7083ec7490b69bd69c21e728f381f6cd4fc3
re PR target/15184 (Direct access to byte inside word not working with -march=pentiumpro)

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.

From-SVN: r220249
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]