initial support ZEN 4

This commit is contained in:
JanLJL
2024-08-30 17:41:45 +02:00
parent 3cf2d02b7a
commit 8f84368db9
4 changed files with 5378 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ The usage of OSACA can be listed as:
shows the programs version number.
--arch ARCH
needs to be replaced with the target architecture abbreviation.
Possible options are ``SNB``, ``IVB``, ``HSW``, ``BDW``, ``SKX``, ``CSX``, ``ICL`` (Client), ``ICX`` (Server), ``SPR`` for the latest Intel micro architectures starting from Intel Sandy Bridge and ``ZEN1``, ``ZEN2``, and ``ZEN3`` for AMD Zen architectures.
Possible options are ``SNB``, ``IVB``, ``HSW``, ``BDW``, ``SKX``, ``CSX``, ``ICL`` (Client), ``ICX`` (Server), ``SPR`` for the latest Intel micro architectures starting from Intel Sandy Bridge and ``ZEN[1-4]`` for AMD Zen architectures.
Furthermore, ``TX2`` for Marvell`s ARM-based ThunderX2 , ``N1`` for ARM's Neoverse, ``A72`` for ARM Cortex-A72, ``TSV110`` for the HiSilicon TaiShan v110, ``A64FX`` for Fujitsu's HPC ARM architecture, ``M1`` for the Apple M1-Firestorm performance core, and ``V2`` for the Neoverse V2 (used in NVIDIA's Grace CPU) are available.
If no micro-architecture is given, OSACA assumes a default architecture for x86/AArch64.
--fixed
@@ -169,6 +169,8 @@ Supported microarchitectures
+----------+-----------------+------------+
| AMD | Milan / Zen 3 | ``ZEN3`` |
+----------+-----------------+------------+
| AMD | Genoa / Zen 4 | ``ZEN4`` |
+----------+-----------------+------------+
**ARM AArch64 CPUs**

5371
osaca/data/zen4.yml Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -34,6 +34,7 @@ SUPPORTED_ARCHS = [
"ZEN1",
"ZEN2",
"ZEN3",
"ZEN4",
"TX2",
"N1",
"A64FX",
@@ -104,8 +105,8 @@ def create_parser(parser=None):
"--arch",
type=str,
help="Define architecture (SNB, IVB, HSW, BDW, SKX, CSX, ICL, ICX, SPR, ZEN1, ZEN2, ZEN3, "
"TX2, N1, A64FX, TSV110, A72, M1, V2). If no architecture is given, OSACA assumes a default uarch for "
"x86/AArch64.",
"ZEN4, TX2, N1, A64FX, TSV110, A72, M1, V2). If no architecture is given, OSACA assumes a "
"default uarch for x86/AArch64.",
)
parser.add_argument(
"--fixed",

View File

@@ -444,6 +444,7 @@ class MachineModel(object):
"zen+": "x86",
"zen2": "x86",
"zen3": "x86",
"zen4": "x86",
"con": "x86", # Intel Conroe
"wol": "x86", # Intel Wolfdale
"snb": "x86",