diff mbox

[1/3,GCC/ARM] Add MIDR info for ARM Cortex-R7 and Cortex-R8

Message ID b5e20bd7-2ca0-a7b6-d7c6-9a8361c8f2fa@foss.arm.com
State New
Headers show

Commit Message

Thomas Preudhomme June 29, 2017, 1:55 p.m. UTC
Hi,

The driver is missing MIDR information for processors ARM Cortex-R7 and
Cortex-R8 to support -march/-mcpu/-mtune=native on the command line.
This patch adds the missing information.

ChangeLog entry is as follows:

*** gcc/ChangeLog ***

2017-01-31  Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* config/arm/driver-arm.c (arm_cpu_table): Add entry for ARM
	Cortex-R7 and Cortex-R8 processors.

Is this ok for master?

Best regards,

Thomas

Comments

Kyrill Tkachov July 4, 2017, 1:57 p.m. UTC | #1
On 29/06/17 14:55, Thomas Preudhomme wrote:
> Hi,
>
> The driver is missing MIDR information for processors ARM Cortex-R7 and
> Cortex-R8 to support -march/-mcpu/-mtune=native on the command line.
> This patch adds the missing information.
>
> ChangeLog entry is as follows:
>
> *** gcc/ChangeLog ***
>
> 2017-01-31  Thomas Preud'homme  <thomas.preudhomme@arm.com>
>
>     * config/arm/driver-arm.c (arm_cpu_table): Add entry for ARM
>     Cortex-R7 and Cortex-R8 processors.
>
> Is this ok for master?
>

Ok.
Thanks,
Kyrill

> Best regards,
>
> Thomas
diff mbox

Patch

diff --git a/gcc/config/arm/driver-arm.c b/gcc/config/arm/driver-arm.c
index b034f13fda63f5892bbd9879d72f4b02e2632d69..29873d57a1e45fd989f6ff01dd4a2ae7320d93bb 100644
--- a/gcc/config/arm/driver-arm.c
+++ b/gcc/config/arm/driver-arm.c
@@ -54,6 +54,8 @@  static struct vendor_cpu arm_cpu_table[] = {
     {"0xd09", "armv8-a+crc", "cortex-a73"},
     {"0xc14", "armv7-r", "cortex-r4"},
     {"0xc15", "armv7-r", "cortex-r5"},
+    {"0xc17", "armv7-r", "cortex-r7"},
+    {"0xc18", "armv7-r", "cortex-r8"},
     {"0xc20", "armv6-m", "cortex-m0"},
     {"0xc21", "armv6-m", "cortex-m1"},
     {"0xc23", "armv7-m", "cortex-m3"},