diff options
author | gretay <gretay@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-26 12:33:02 +0000 |
---|---|---|
committer | gretay <gretay@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-26 12:33:02 +0000 |
commit | 2d39155324de726830dd815b6e71fec3e6b9dcaa (patch) | |
tree | 5a65426955ffce1108cecf4a27b6ddbd65697dc0 /gcc/config/arm/arm.h | |
parent | 3157acc6ccb1cffaf26605c0267f7618fe3a029a (diff) | |
download | gcc-2d39155324de726830dd815b6e71fec3e6b9dcaa.tar.gz |
gcc/
2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.h (TARGET_FPU_ARMV8): New macro.
* config/arm/arm.md (UNSPEC_VRINTZ, UNSPEC_VRINTP, UNSPEC_VRINTM)
(UNSPEC_VRINTR, UNSPEC_VRINTX, UNSPEC_VRINTA): New unspecs.
(f_rints, f_rintd): New types.
* config/arm/iterators.md (VRINT): New int iterator.
(F_fma_type): Remove.
(vfp_type): New mode attribute.
(vfp_double_cond): Likewise.
(vrint_pattern, vrint_variant, vrint_predicable): New int attribute.
* config/arm/vfp.md (fma<SDF:mode>4): Use vfp_type iterator
instead of F_fma_type.
(*fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4): Likewise.
(<vrint_pattern><SDF:mode>2): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193813 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/arm.h')
-rw-r--r-- | gcc/config/arm/arm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.h b/gcc/config/arm/arm.h index e4f9634ac62..f520cc717aa 100644 --- a/gcc/config/arm/arm.h +++ b/gcc/config/arm/arm.h @@ -298,6 +298,9 @@ extern void (*arm_lang_output_object_attributes_hook)(void); /* FPU supports fused-multiply-add operations. */ #define TARGET_FMA (TARGET_VFP && arm_fpu_desc->rev >= 4) +/* FPU is ARMv8 compatible. */ +#define TARGET_FPU_ARMV8 (TARGET_VFP && arm_fpu_desc->rev >= 8) + /* FPU supports Crypto extensions. */ #define TARGET_CRYPTO (TARGET_VFP && arm_fpu_desc->crypto) |