arm.h (TARGET_LDRD): Reject Thumb1 targets.
authorGreta Yorsh <greta.yorsh@arm.com>
Mon, 26 Nov 2012 10:38:23 +0000 (10:38 +0000)
committerGreta Yorsh <gretay@gcc.gnu.org>
Mon, 26 Nov 2012 10:38:23 +0000 (10:38 +0000)
2012-11-26  Greta Yorsh  <Greta.Yorsh@arm.com>

* config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets.

From-SVN: r193810

gcc/ChangeLog
gcc/config/arm/arm.h

index ad6b4cc2d0a90fcc12b52a1fea36866c24acf017..5a48e1be50983d38e4412fe6f2cf83040c7cc2c4 100644 (file)
@@ -1,3 +1,7 @@
+2012-11-26  Greta Yorsh  <Greta.Yorsh@arm.com>
+
+       * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets.
+
 2012-11-26  Matthias Klose  <doko@ubuntu.com>
 
        * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced
index 2df36cbdcb930c07846cbed59c6da4c5ed923e7a..e4f9634ac620704fbbd8536db92443853b1a2876 100644 (file)
@@ -252,7 +252,6 @@ extern void (*arm_lang_output_object_attributes_hook)(void);
 #define TARGET_BACKTRACE               (leaf_function_p () \
                                         ? TARGET_TPCS_LEAF_FRAME \
                                         : TARGET_TPCS_FRAME)
-#define TARGET_LDRD                    (arm_arch5e && ARM_DOUBLEWORD_ALIGN)
 #define TARGET_AAPCS_BASED \
     (arm_abi != ARM_ABI_APCS && arm_abi != ARM_ABI_ATPCS)
 
@@ -269,6 +268,9 @@ extern void (*arm_lang_output_object_attributes_hook)(void);
 /* Thumb-1 only.  */
 #define TARGET_THUMB1_ONLY             (TARGET_THUMB1 && !arm_arch_notm)
 
+#define TARGET_LDRD                    (arm_arch5e && ARM_DOUBLEWORD_ALIGN \
+                                         && !TARGET_THUMB1)
+
 /* The following two macros concern the ability to execute coprocessor
    instructions for VFPv3 or NEON.  TARGET_VFP3/TARGET_VFPD32 are currently
    only ever tested when we know we are generating for VFP hardware; we need