[Bug target/59593] [arm big-endian] using "ldrh" access a immediate which stored in a memory by word
thopre01 at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Mar 4 05:57:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59593
--- Comment #9 from Thomas Preud'homme <thopre01 at gcc dot gnu.org> ---
Author: thopre01
Date: Wed Mar 4 05:56:54 2015
New Revision: 221173
URL: https://gcc.gnu.org/viewcvs?rev=221173&root=gcc&view=rev
Log:
2015-03-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
Backport from mainline
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): Make it TARGET_EITHER.
(consttable_2): Make it TARGET_EITHER and move HFmode handling from
consttable_4 to it.
(consttable_4): Move HFmode handling to consttable_2 pattern.
gcc/testsuite/
PR target/59593
* gcc.target/arm/constant-pool.c: New test.
Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.target/arm/constant-pool.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config/arm/arm.c
branches/gcc-4_8-branch/gcc/config/arm/arm.md
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list