[ARM] Add ACLE feature macro for ARMv8.1 instructions.
* config/arm/arm-c.c (arm_cpu_builtins): Define __ARM_FEATURE_QRDMX. Clean up some trailing whitespace. From-SVN: r231682
This commit is contained in:
parent
5f2ca3b2fd
commit
c48083824a
@ -1,3 +1,8 @@
|
||||
2015-12-16 Matthew Wahab <matthew.wahab@arm.com>
|
||||
|
||||
* config/arm/arm-c.c (arm_cpu_builtins): Define
|
||||
__ARM_FEATURE_QRDMX. Clean up some trailing whitespace.
|
||||
|
||||
2015-12-16 Matthew Wahab <matthew.wahab@arm.com>
|
||||
|
||||
* config/arm/iterators.md (VQRDMLH_AS): New.
|
||||
|
@ -62,19 +62,21 @@ static void
|
||||
arm_cpu_builtins (struct cpp_reader* pfile)
|
||||
{
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_DSP", TARGET_DSP_MULTIPLY);
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_QBIT", TARGET_ARM_QBIT);
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_QBIT", TARGET_ARM_QBIT);
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_SAT", TARGET_ARM_SAT);
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_CRYPTO", TARGET_CRYPTO);
|
||||
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_UNALIGNED", unaligned_access);
|
||||
|
||||
def_or_undef_macro (pfile, "__ARM_FEATURE_QRDMX", TARGET_NEON_RDMA);
|
||||
|
||||
if (TARGET_CRC32)
|
||||
builtin_define ("__ARM_FEATURE_CRC32");
|
||||
|
||||
def_or_undef_macro (pfile, "__ARM_32BIT_STATE", TARGET_32BIT);
|
||||
def_or_undef_macro (pfile, "__ARM_32BIT_STATE", TARGET_32BIT);
|
||||
|
||||
if (TARGET_ARM_FEATURE_LDREX)
|
||||
builtin_define_with_int_value ("__ARM_FEATURE_LDREX",
|
||||
builtin_define_with_int_value ("__ARM_FEATURE_LDREX",
|
||||
TARGET_ARM_FEATURE_LDREX);
|
||||
else
|
||||
cpp_undef (pfile, "__ARM_FEATURE_LDREX");
|
||||
|
Loading…
Reference in New Issue
Block a user