summaryrefslogtreecommitdiff
path: root/gcc/config/arm/arm.h
diff options
context:
space:
mode:
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-13 12:59:19 +0000
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>2016-10-13 12:59:19 +0000
commitae4c8f6187b1d31bf3f886288ee469ea84701a62 (patch)
tree8baed8a89130f9058cd0b61d70362bcec4209d16 /gcc/config/arm/arm.h
parent48c1ec59429b894f8d04d52f51a73ad2ac36e193 (diff)
downloadgcc-ae4c8f6187b1d31bf3f886288ee469ea84701a62.tar.gz
[ARM] Remove redundant model field from FPU descriptions
* arm.h (TARGET_VFP): Unconditionally define to 1. (arm_fpu_desc): Remove 'model' field. (TARGET_FPU_MODEL): Delete. * arm.c (all_fpus): Don't initialize the model field. (arm_can_inline_p): Don't check the FPU model. * arm-fpus.def: Remove redundant model field from all FPU descriptions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241116 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/arm.h')
-rw-r--r--gcc/config/arm/arm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h
index 35c72d30a25..7c4ea85c405 100644
--- a/gcc/config/arm/arm.h
+++ b/gcc/config/arm/arm.h
@@ -134,7 +134,8 @@ extern void (*arm_lang_output_object_attributes_hook)(void);
#define TARGET_HARD_FLOAT (arm_float_abi != ARM_FLOAT_ABI_SOFT)
/* Use hardware floating point calling convention. */
#define TARGET_HARD_FLOAT_ABI (arm_float_abi == ARM_FLOAT_ABI_HARD)
-#define TARGET_VFP (TARGET_FPU_MODEL == ARM_FP_MODEL_VFP)
+/* We only support the VFP model these days. */
+#define TARGET_VFP (1)
#define TARGET_IWMMXT (arm_arch_iwmmxt)
#define TARGET_IWMMXT2 (arm_arch_iwmmxt2)
#define TARGET_REALLY_IWMMXT (TARGET_IWMMXT && TARGET_32BIT)
@@ -363,7 +364,6 @@ enum vfp_reg_type
extern const struct arm_fpu_desc
{
const char *name;
- enum arm_fp_model model;
int rev;
enum vfp_reg_type regs;
arm_fpu_feature_set features;
@@ -372,7 +372,6 @@ extern const struct arm_fpu_desc
/* Accessors. */
#define TARGET_FPU_NAME (all_fpus[arm_fpu_index].name)
-#define TARGET_FPU_MODEL (all_fpus[arm_fpu_index].model)
#define TARGET_FPU_REV (all_fpus[arm_fpu_index].rev)
#define TARGET_FPU_REGS (all_fpus[arm_fpu_index].regs)
#define TARGET_FPU_FEATURES (all_fpus[arm_fpu_index].features)