From 2f663db52c9b1ee9b50e6479c9dcbda59931497e Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 30 Aug 2026 15:36:59 -0700 Subject: [PATCH] Scripts/fit_native: Classify Oryon-1/3 If the compiler is new enough than classify Oryon-1. Clang doesn't support Oryon-3 so just claim its Oryon-1 in that case. --- Scripts/aarch64_fit_native.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Scripts/aarch64_fit_native.py b/Scripts/aarch64_fit_native.py index 7a934cd69..f5c149ba6 100644 --- a/Scripts/aarch64_fit_native.py +++ b/Scripts/aarch64_fit_native.py @@ -75,6 +75,14 @@ BigCoreIDs = { tuple([0x51, 0x800]): "cortex-a73", # Kryo 2xx Gold tuple([0x51, 0x802]): "cortex-a75", # Kryo 3xx Gold tuple([0x51, 0x804]): "cortex-a76", # Kryo 4xx Gold + tuple([0x51, 0x001]): # Oryon-1 + [ ["cortex-a78", "0.0"], + ["oryon-1", "19.0"], # Only exists in clang 19.0 or newer. + ], + tuple([0x51, 0x002]): # Oryon-3 is unknown to clang for now. + [ ["cortex-a78", "0.0"], + ["oryon-1", "19.0"], # Only exists in clang 19.0 or newer. + ], # Apple M1 Parallels hypervisor tuple([0x41, 0x0]): [ ["apple-a13", "0.0"], # If we aren't on 12.0+