re PR target/59593 ([arm big-endian] using "ldrh" access a immediate which stored...
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Thu, 27 Nov 2014 11:00:15 +0000 (11:00 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Thu, 27 Nov 2014 11:00:15 +0000 (11:00 +0000)
commit84593a48f6446a48ee86724972fdcdcae143f9cd
tree2ecb3f7c37c9ba655643c1ae162a6cb5f4b91d1d
parent687a5d7c39dad8a9209ef3d90bef5b4de32b0b91
re PR target/59593 ([arm big-endian] using "ldrh" access a  immediate  which stored in a memory by word)

2014-11-27  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/59593
    * config/arm/arm.c (dump_minipool): dispatch to consttable pattern
    based on mode size.
    * config/arm/arm.md (consttable_1): Move from config/arm/thumb1.md and
    make it TARGET_EITHER.
    (consttable_2): Move from config/arm/thumb1.md, make it TARGET_EITHER
    and move HFmode handling from consttable_4 to it.
    (consttable_4): Move HFmode handling to consttable_2 pattern.
    * config/arm/thumb1.md (consttable_1): Move to config/arm/arm.md.
    (consttable_2): Ditto.

    gcc/testsuite/
    PR target/59593
    * gcc.target/arm/constant-pool.c: New test.

From-SVN: r218118
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/config/arm/thumb1.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/constant-pool.c [new file with mode: 0644]