From 0cda1e190dffc804d1f1ffc4bd849ffdca694914 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sat, 24 Jun 2017 10:56:32 +0100 Subject: [PATCH] [ARM] Add support for ARM Cortex-R52 processor === Context === This patch is part of a patch series to add support for ARMv8-R architecture. Its purpose is to add support for ARM Cortex-R52 processor. === Patch description === This patch adds support for Cortex-R52 as an ARMv8-R processor with CRC extensions. 2017-06-26 Thomas Preud'homme gas/ * NEWS: Mention support of ARM Cortex-R52 processor. * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor. * doc/c-arm.texi: Mention support for -mcpu=cortex-r52. --- gas/ChangeLog | 6 ++++++ gas/NEWS | 3 ++- gas/config/tc-arm.c | 3 +++ gas/doc/c-arm.texi | 1 + 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 919804c2011..1c946d27560 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2017-06-26 Thomas Preud'homme + + * NEWS: Mention support of ARM Cortex-R52 processor. + * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor. + * doc/c-arm.texi: Mention support for -mcpu=cortex-r52. + 2017-06-24 Thomas Preud'homme * NEWS: Mention support for ARMv8-R architecture. diff --git a/gas/NEWS b/gas/NEWS index 18de4d009f1..b4ee6b625c4 100644 --- a/gas/NEWS +++ b/gas/NEWS @@ -10,7 +10,8 @@ * Add support for the Texas Instruments PRU processor. -* Support for the ARMv8-R architecture has been added to the ARM port. +* Support for the ARMv8-R architecture and Cortex-R52 processor has been + added to the ARM port. Changes in 2.28: diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b0f2832a27b..3c37b4f1a26 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -25780,6 +25780,9 @@ static const struct arm_cpu_option_table arm_cpus[] = ARM_CPU_OPT ("cortex-r8", "Cortex-R8", ARM_ARCH_V7R, ARM_FEATURE_CORE_LOW (ARM_EXT_ADIV), FPU_ARCH_VFP_V3D16), + ARM_CPU_OPT ("cortex-r52", "Cortex-R52", ARM_ARCH_V8R, + ARM_FEATURE_COPROC (CRC_EXT_ARMV8), + FPU_ARCH_NEON_VFP_ARMV8), ARM_CPU_OPT ("cortex-m33", "Cortex-M33", ARM_ARCH_V8M_MAIN, ARM_FEATURE_CORE_LOW (ARM_EXT_V5ExP | ARM_EXT_V6_DSP), FPU_NONE), diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index 379c011fc98..31a012ea1b7 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-r52}, @code{cortex-m33}, @code{cortex-m23}, @code{cortex-m7}, -- 2.30.2