aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2016-11-04 16:24:59 +0000
committerThomas Preud'homme <thomas.preudhomme@arm.com>2016-11-04 16:24:59 +0000
commitb19ea8d28b1c06c2973738c1cda076f895ac3ad0 (patch)
treeef82fa4a6d433773e413ab3c75a0320bd67cdd42
parentce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f (diff)
downloadfsf-binutils-gdb-b19ea8d28b1c06c2973738c1cda076f895ac3ad0.zip
fsf-binutils-gdb-b19ea8d28b1c06c2973738c1cda076f895ac3ad0.tar.gz
fsf-binutils-gdb-b19ea8d28b1c06c2973738c1cda076f895ac3ad0.tar.bz2
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.
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/NEWS2
-rw-r--r--gas/config/tc-arm.c2
-rw-r--r--gas/doc/c-arm.texi1
-rw-r--r--include/opcode/arm.h4
5 files changed, 15 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4e98cda..e83132f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,12 @@
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>
+
* config/tc-arm.c (cortex-m23): Declare new processor.
* doc/c-arm.texi (-mcpu ARM command line option): Document new
Cortex-M23 processor.
diff --git a/gas/NEWS b/gas/NEWS
index cb47be0..48cfa9b 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -2,7 +2,7 @@
* 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:
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 011701b..9a12bcc 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -25459,6 +25459,8 @@ static const struct arm_cpu_option_table arm_cpus[] =
ARM_CPU_OPT ("cortex-r8", ARM_ARCH_V7R_IDIV,
FPU_ARCH_VFP_V3D16,
"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,
FPU_NONE, "Cortex-M23"),
ARM_CPU_OPT ("cortex-m7", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M7"),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index f08f6eb..547950a 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -131,6 +131,7 @@ recognized:
@code{cortex-r5},
@code{cortex-r7},
@code{cortex-r8},
+@code{cortex-m33},
@code{cortex-m23},
@code{cortex-m7},
@code{cortex-m4},
diff --git a/include/opcode/arm.h b/include/opcode/arm.h
index feace5c..3b0d061 100644
--- a/include/opcode/arm.h
+++ b/include/opcode/arm.h
@@ -151,8 +151,10 @@
#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_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_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. */
#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_MAIN ARM_FEATURE_CORE (ARM_AEXT_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: */
#define ARM_ARCH_NONE ARM_FEATURE_LOW (0, 0)