diff mbox series

[committed] AArch64 Fix failing testcase for native cpu detection

Message ID patch-14513-tamar@arm.com
State New
Headers show
Series [committed] AArch64 Fix failing testcase for native cpu detection | expand

Commit Message

Tamar Christina June 3, 2021, 9:23 a.m. UTC
Hi All,

A late change in the patch changed the implemented ID to one that
hasn't been used yet to avoid any ambiguity. Unfortunately the
chosen value of 0xFF matches the value of -1 which is used as an
invalid implementer so the test started failing.

This patch changes it to 0xFE which is the highest usable number.

Bootstrapped Regtested on aarch64-none-linux-gnu and no issues.

Committed under the obvious rule.

Thanks,
Tamar

gcc/testsuite/ChangeLog:

	* gcc.target/aarch64/cpunative/info_16: Update implementer.
	* gcc.target/aarch64/cpunative/info_17: Likewise

--- inline copy of patch -- 
diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/info_16 b/gcc/testsuite/gcc.target/aarch64/cpunative/info_16
index b0679579d9167d46c832e55cb63d9077f7a80f70..2c04ff19cb6ca99f7c62ea80c5bb6cd0985a0949 100644


--
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/info_16 b/gcc/testsuite/gcc.target/aarch64/cpunative/info_16
index b0679579d9167d46c832e55cb63d9077f7a80f70..2c04ff19cb6ca99f7c62ea80c5bb6cd0985a0949 100644
--- a/gcc/testsuite/gcc.target/aarch64/cpunative/info_16
+++ b/gcc/testsuite/gcc.target/aarch64/cpunative/info_16
@@ -1,7 +1,7 @@ 
 processor	: 0
 BogoMIPS	: 100.00
 Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 asimddp sve sve2
-CPU implementer	: 0xff
+CPU implementer	: 0xfe
 CPU architecture: 8
 CPU variant	: 0x0
 CPU part	: 0xd08
diff --git a/gcc/testsuite/gcc.target/aarch64/cpunative/info_17 b/gcc/testsuite/gcc.target/aarch64/cpunative/info_17
index b0679579d9167d46c832e55cb63d9077f7a80f70..2c04ff19cb6ca99f7c62ea80c5bb6cd0985a0949 100644
--- a/gcc/testsuite/gcc.target/aarch64/cpunative/info_17
+++ b/gcc/testsuite/gcc.target/aarch64/cpunative/info_17
@@ -1,7 +1,7 @@ 
 processor	: 0
 BogoMIPS	: 100.00
 Features	: fp asimd evtstrm aes pmull sha1 sha2 crc32 asimddp sve sve2
-CPU implementer	: 0xff
+CPU implementer	: 0xfe
 CPU architecture: 8
 CPU variant	: 0x0
 CPU part	: 0xd08