Add support for ARM Cortex-M33 processor

2016-11-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>

gas/
	* config/tc-arm.c (cortex-m33): Declare new processor.
	* doc/c-arm.texi (-mcpu ARM command line option): Document new
	Cortex-M33 processor.
	* NEWS: Mention ARM Cortex-M33 support.
This commit is contained in:
Thomas Preud'homme 2016-11-04 16:24:59 +00:00
parent ce1b0a458a
commit b19ea8d28b
5 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config/tc-arm.c (cortex-m33): Declare new processor.
* doc/c-arm.texi (-mcpu ARM command line option): Document new
Cortex-M33 processor.
* NEWS: Mention ARM Cortex-M33 support.
2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com> 2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config/tc-arm.c (cortex-m23): Declare new processor. * config/tc-arm.c (cortex-m23): Declare new processor.

View File

@ -2,7 +2,7 @@
* Add support for the RISC-V architecture. * Add support for the RISC-V architecture.
* Add support for the ARM Cortex-M23 processor. * Add support for the ARM Cortex-M23 and Cortex-M33 processors.
Changes in 2.27: Changes in 2.27:

View File

@ -25459,6 +25459,8 @@ static const struct arm_cpu_option_table arm_cpus[] =
ARM_CPU_OPT ("cortex-r8", ARM_ARCH_V7R_IDIV, ARM_CPU_OPT ("cortex-r8", ARM_ARCH_V7R_IDIV,
FPU_ARCH_VFP_V3D16, FPU_ARCH_VFP_V3D16,
"Cortex-R8"), "Cortex-R8"),
ARM_CPU_OPT ("cortex-m33", ARM_ARCH_V8M_MAIN_DSP,
FPU_NONE, "Cortex-M33"),
ARM_CPU_OPT ("cortex-m23", ARM_ARCH_V8M_BASE, ARM_CPU_OPT ("cortex-m23", ARM_ARCH_V8M_BASE,
FPU_NONE, "Cortex-M23"), FPU_NONE, "Cortex-M23"),
ARM_CPU_OPT ("cortex-m7", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M7"), ARM_CPU_OPT ("cortex-m7", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M7"),

View File

@ -131,6 +131,7 @@ recognized:
@code{cortex-r5}, @code{cortex-r5},
@code{cortex-r7}, @code{cortex-r7},
@code{cortex-r8}, @code{cortex-r8},
@code{cortex-m33},
@code{cortex-m23}, @code{cortex-m23},
@code{cortex-m7}, @code{cortex-m7},
@code{cortex-m4}, @code{cortex-m4},

View File

@ -151,8 +151,10 @@
#define ARM_AEXT2_V8_2A (ARM_AEXT2_V8_1A | ARM_EXT2_V8_2A | ARM_EXT2_RAS) #define ARM_AEXT2_V8_2A (ARM_AEXT2_V8_1A | ARM_EXT2_V8_2A | ARM_EXT2_RAS)
#define ARM_AEXT_V8M_BASE (ARM_AEXT_V6SM | ARM_EXT_DIV) #define ARM_AEXT_V8M_BASE (ARM_AEXT_V6SM | ARM_EXT_DIV)
#define ARM_AEXT_V8M_MAIN ARM_AEXT_V7M #define ARM_AEXT_V8M_MAIN ARM_AEXT_V7M
#define ARM_AEXT_V8M_MAIN_DSP ARM_AEXT_V7EM
#define ARM_AEXT2_V8M (ARM_EXT2_V8M | ARM_EXT2_ATOMICS | ARM_EXT2_V6T2_V8M) #define ARM_AEXT2_V8M (ARM_EXT2_V8M | ARM_EXT2_ATOMICS | ARM_EXT2_V6T2_V8M)
#define ARM_AEXT2_V8M_MAIN (ARM_AEXT2_V8M | ARM_EXT2_V8M_MAIN) #define ARM_AEXT2_V8M_MAIN (ARM_AEXT2_V8M | ARM_EXT2_V8M_MAIN)
#define ARM_AEXT2_V8M_MAIN_DSP ARM_AEXT2_V8M_MAIN
/* Processors with specific extensions in the co-processor space. */ /* Processors with specific extensions in the co-processor space. */
#define ARM_ARCH_XSCALE ARM_FEATURE_LOW (ARM_AEXT_V5TE, ARM_CEXT_XSCALE) #define ARM_ARCH_XSCALE ARM_FEATURE_LOW (ARM_AEXT_V5TE, ARM_CEXT_XSCALE)
@ -272,6 +274,8 @@
#define ARM_ARCH_V8M_BASE ARM_FEATURE_CORE (ARM_AEXT_V8M_BASE, ARM_AEXT2_V8M) #define ARM_ARCH_V8M_BASE ARM_FEATURE_CORE (ARM_AEXT_V8M_BASE, ARM_AEXT2_V8M)
#define ARM_ARCH_V8M_MAIN ARM_FEATURE_CORE (ARM_AEXT_V8M_MAIN, \ #define ARM_ARCH_V8M_MAIN ARM_FEATURE_CORE (ARM_AEXT_V8M_MAIN, \
ARM_AEXT2_V8M_MAIN) ARM_AEXT2_V8M_MAIN)
#define ARM_ARCH_V8M_MAIN_DSP ARM_FEATURE_CORE (ARM_AEXT_V8M_MAIN_DSP, \
ARM_AEXT2_V8M_MAIN_DSP)
/* Some useful combinations: */ /* Some useful combinations: */
#define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0) #define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0)