Module Name: src Committed By: matt Date: Sat Aug 17 05:42:07 UTC 2013
Modified Files: src/external/gpl3/gcc/dist/gcc/config/arm: arm.h Log Message: If hardware divide is supported on the CPU, predefine __ARM_ARCH_EXT_IDIV__ To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/arm/arm.h diff -u src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.3 src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.4 --- src/external/gpl3/gcc/dist/gcc/config/arm/arm.h:1.3 Fri Jan 25 08:31:43 2013 +++ src/external/gpl3/gcc/dist/gcc/config/arm/arm.h Sat Aug 17 05:42:06 2013 @@ -100,6 +100,8 @@ extern char arm_arch_name[]; if (TARGET_HARD_FLOAT && TARGET_VFP) \ builtin_define ("__ARM_PCS_VFP"); \ } \ + if (TARGET_IDIV) \ + builtin_define ("__ARM_ARCH_EXT_IDIV__"); \ } while (0) /* The various ARM cores. */ @@ -269,6 +271,8 @@ extern void (*arm_lang_output_object_att for Thumb-2. */ #define TARGET_UNIFIED_ASM TARGET_THUMB2 +/* Nonzero if integer division instructions supported. */ +#define TARGET_IDIV (arm_arch_hwdiv) /* True iff the full BPABI is being used. If TARGET_BPABI is true, then TARGET_AAPCS_BASED must be true -- but the converse does not