diff options
author | Richard Earnshaw <Richard.Earnshaw@arm.com> | 2016-09-07 17:14:54 +0100 |
---|---|---|
committer | Richard Earnshaw <Richard.Earnshaw@arm.com> | 2016-09-07 17:14:54 +0100 |
commit | 27e5a270962fb92c07e7d476966ba380fa3bb68e (patch) | |
tree | 4fb082d799af658a2ae6d93ae71156f0508ccb56 /include | |
parent | 361441170c2503ccd00aee8bc2b2accf4e121553 (diff) | |
download | gdb-27e5a270962fb92c07e7d476966ba380fa3bb68e.zip gdb-27e5a270962fb92c07e7d476966ba380fa3bb68e.tar.gz gdb-27e5a270962fb92c07e7d476966ba380fa3bb68e.tar.bz2 |
[arm] Automatically enable CRC instructions on supported ARMv8-A CPUs.
2016-09-07 Richard Earnshaw <rearnsha@arm.com>
* opcode/arm.h (ARM_ARCH_V8A_CRC): New architecture.
2016-09-07 Richard Earnshaw <rearnsha@arm.com>
* config/tc-arm.c ((arm_cpus): Use ARM_ARCH_V8A_CRC for all
ARMv8-A CPUs except xgene1.
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/arm.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 72d915e..2c922c4 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2016-09-07 Richard Earnshaw <rearnsha@arm.com> + + * opcode/arm.h (ARM_ARCH_V8A_CRC): New architecture. + 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com> * elf/arc-reloc.def: Fixed relocation formula for N*, SDA, SDA_12, SDA_16_LD*, S13_PCREL, N32_ME, SECTOFF_* relocations. diff --git a/include/opcode/arm.h b/include/opcode/arm.h index 60715cf..feace5c 100644 --- a/include/opcode/arm.h +++ b/include/opcode/arm.h @@ -263,6 +263,8 @@ #define ARM_ARCH_V7M ARM_FEATURE_CORE (ARM_AEXT_V7M, ARM_EXT2_V6T2_V8M) #define ARM_ARCH_V7EM ARM_FEATURE_CORE (ARM_AEXT_V7EM, ARM_EXT2_V6T2_V8M) #define ARM_ARCH_V8A ARM_FEATURE_CORE (ARM_AEXT_V8A, ARM_AEXT2_V8A) +#define ARM_ARCH_V8A_CRC ARM_FEATURE (ARM_AEXT_V8A, ARM_AEXT2_V8A, \ + CRC_EXT_ARMV8) #define ARM_ARCH_V8_1A ARM_FEATURE (ARM_AEXT_V8A, ARM_AEXT2_V8_1A, \ CRC_EXT_ARMV8 | FPU_NEON_EXT_RDMA) #define ARM_ARCH_V8_2A ARM_FEATURE (ARM_AEXT_V8A, ARM_AEXT2_V8_2A, \ |