https://gcc.gnu.org/g:ddcfae1d1dfe5875875c9897f0dda14e342b2534

commit r15-6806-gddcfae1d1dfe5875875c9897f0dda14e342b2534
Author: Tamar Christina <tamar.christ...@arm.com>
Date:   Fri Jan 10 21:13:50 2025 +0000

    AArch64: correct Cortex-X4 MIDR
    
    The Parts Num field for the MIDR for Cortex-X4 is wrong.  It's currently the
    parts number for a Cortex-A720 (which does have the right number).
    
    The correct number can be found in the Cortex-X4 Technical Reference Manual 
[1]
    on page 382 in Issue Number 5.
    
    [1] https://developer.arm.com/documentation/102484/latest/
    
    gcc/ChangeLog:
    
            * config/aarch64/aarch64-cores.def (AARCH64_CORE): Fix cortex-x4 
parts
            num.

Diff:
---
 gcc/config/aarch64/aarch64-cores.def | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/aarch64-cores.def 
b/gcc/config/aarch64/aarch64-cores.def
index caf61437d180..5ac81332b67c 100644
--- a/gcc/config/aarch64/aarch64-cores.def
+++ b/gcc/config/aarch64/aarch64-cores.def
@@ -193,7 +193,7 @@ AARCH64_CORE("cortex-x2",  cortexx2, cortexa57, V9A,  
(SVE2_BITPERM, MEMTAG, I8M
 
 AARCH64_CORE("cortex-x3",  cortexx3, cortexa57, V9A,  (SVE2_BITPERM, MEMTAG, 
I8MM, BF16), neoversev2, 0x41, 0xd4e, -1)
 
-AARCH64_CORE("cortex-x4",  cortexx4, cortexa57, V9_2A,  (SVE2_BITPERM, MEMTAG, 
PROFILE), neoversev3, 0x41, 0xd81, -1)
+AARCH64_CORE("cortex-x4",  cortexx4, cortexa57, V9_2A,  (SVE2_BITPERM, MEMTAG, 
PROFILE), neoversev3, 0x41, 0xd82, -1)
 AARCH64_CORE("cortex-x925", cortexx925, cortexa57, V9_2A,  (SVE2_BITPERM, 
MEMTAG, PROFILE), cortexx925, 0x41, 0xd85, -1)
 
 AARCH64_CORE("neoverse-n2", neoversen2, cortexa57, V9A, (I8MM, BF16, 
SVE2_BITPERM, RNG, MEMTAG, PROFILE), neoversen2, 0x41, 0xd49, -1)

Reply via email to