Fix PR80082: LDRD erronously used for 64bit load on ARMv7-R
authorThomas Preud'homme <thomas.preudhomme@arm.com>
Wed, 22 Mar 2017 11:35:15 +0000 (11:35 +0000)
committerThomas Preud'homme <thopre01@gcc.gnu.org>
Wed, 22 Mar 2017 11:35:15 +0000 (11:35 +0000)
commitbf634d1c4c9cc3cd3a4523ab4178b94398892ded
treeea7e7b9a74354d39e29fac53693fa3831d8296ba
parentf7325b95de5695677008cff92181f36cf59ad19a
Fix PR80082: LDRD erronously used for 64bit load on ARMv7-R

2017-03-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    PR target/80082
    * config/arm/arm-isa.h (isa_bit_lpae): New feature bit.
    (ISA_ARMv7ve): Add isa_bit_lpae to the definition.
    * config/arm/arm-protos.h (arm_arch7ve): Rename into ...
    (arm_arch_lpae): This.
    * config/arm/arm.c (arm_arch7ve): Rename into ...
    (arm_arch_lpae): This.  Define it in term of isa_bit_lpae.
    * config/arm/arm.h (TARGET_HAVE_LPAE): Redefine in term of
    arm_arch_lpae.

    gcc/testsuite/
    PR target/80082
    * gcc.target/arm/atomic_loaddi_10.c: New testcase.
    * gcc.target/arm/atomic_loaddi_11.c: Likewise.

From-SVN: r246365
gcc/ChangeLog
gcc/config/arm/arm-isa.h
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/atomic_loaddi_10.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/atomic_loaddi_11.c [new file with mode: 0644]