From 2830fc54f2cd4eb8b2c4044d3a86bcccb91ec8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mos=C3=A8=20Giordano?= Date: Fri, 15 Mar 2024 23:48:54 +0000 Subject: [PATCH] Remove `paca`, `pacg`, and `bti` from Neoverse V2 These features are not always reported by the operating system. --- cpu/microarchitectures.json | 5 +---- tests/targets/linux-rhel9-neoverse_v2 | 8 ++++++++ 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 tests/targets/linux-rhel9-neoverse_v2 diff --git a/cpu/microarchitectures.json b/cpu/microarchitectures.json index 1e77cab..c897554 100644 --- a/cpu/microarchitectures.json +++ b/cpu/microarchitectures.json @@ -3066,8 +3066,6 @@ "flagm", "ssbs", "sb", - "paca", - "pacg", "dcpodp", "sve2", "sveaes", @@ -3081,8 +3079,7 @@ "svebf16", "i8mm", "bf16", - "dgh", - "bti" + "dgh" ], "compilers" : { "gcc": [ diff --git a/tests/targets/linux-rhel9-neoverse_v2 b/tests/targets/linux-rhel9-neoverse_v2 new file mode 100644 index 0000000..cd50241 --- /dev/null +++ b/tests/targets/linux-rhel9-neoverse_v2 @@ -0,0 +1,8 @@ +processor : 0 +BogoMIPS : 2000.00 +Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh +CPU implementer : 0x41 +CPU architecture: 8 +CPU variant : 0x0 +CPU part : 0xd4f +CPU revision : 0