aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/cpu-arm.c1
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-arm.c3
-rw-r--r--gas/doc/c-arm.texi1
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-x1.d6
6 files changed, 21 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4222ebb..317c0d3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
+ * cpu-arm.c: (processors) Add Cortex-X1.
+
2020-09-28 Alan Modra <amodra@gmail.com>
PR 26656
diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c
index 0b7a8c4..8d6977a 100644
--- a/bfd/cpu-arm.c
+++ b/bfd/cpu-arm.c
@@ -165,6 +165,7 @@ processors[] =
{ bfd_mach_arm_8R, "cortex-r52" },
{ bfd_mach_arm_7, "cortex-r7" },
{ bfd_mach_arm_7, "cortex-r8" },
+ { bfd_mach_arm_8, "cortex-x1" },
{ bfd_mach_arm_4T, "ep9312" },
{ bfd_mach_arm_8, "exynos-m1" },
{ bfd_mach_arm_4, "fa526" },
diff --git a/gas/ChangeLog b/gas/ChangeLog
index fbd69ca..c1ccfb6 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,11 @@
2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+ * config/tc-arm.c: (arm_cpus): Add Cortex-X1.
+ * doc/c-arm.texi: Document -mcpu=cortex-x1.
+ * testsuite/gas/arm/cpu-cortex-x1.d: New test.
+
+2020-09-28 Przemyslaw Wirkus <przemyslaw.wirkus@arm.com>
+
* testsuite/gas/aarch64/etm-ro-invalid.d: New test.
* testsuite/gas/aarch64/etm-ro-invalid.l: New test.
* testsuite/gas/aarch64/etm-ro-invalid.s: New test.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 39f989e..7d154e7 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -31588,6 +31588,9 @@ static const struct arm_cpu_option_table arm_cpus[] =
ARM_CPU_OPT ("cortex-m0plus", "Cortex-M0+", ARM_ARCH_V6SM,
ARM_ARCH_NONE,
FPU_NONE),
+ ARM_CPU_OPT ("cortex-x1", "Cortex-X1", ARM_ARCH_V8_2A,
+ ARM_FEATURE_CORE_HIGH (ARM_EXT2_FP16_INST),
+ FPU_ARCH_DOTPROD_NEON_VFP_ARMV8),
ARM_CPU_OPT ("exynos-m1", "Samsung Exynos M1", ARM_ARCH_V8A,
ARM_FEATURE_CORE_HIGH (ARM_EXT2_CRC),
FPU_ARCH_CRYPTO_NEON_VFP_ARMV8),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 16c94de..f8ed8bb 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -147,6 +147,7 @@ recognized:
@code{cortex-m1},
@code{cortex-m0},
@code{cortex-m0plus},
+@code{cortex-x1},
@code{exynos-m1},
@code{marvell-pj4},
@code{marvell-whitney},
diff --git a/gas/testsuite/gas/arm/cpu-cortex-x1.d b/gas/testsuite/gas/arm/cpu-cortex-x1.d
new file mode 100644
index 0000000..68b869b
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-x1.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-x1 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-x1
+# objdump: -d -mcortex-x1
+
+#...