Update archspec to latest commit (#32368)
Modifications: - [x] Add graviton3 - [x] Optimize __eq__ for microarchitectures
This commit is contained in:
parent
a2f0588004
commit
b6ea2a46d1
2
lib/spack/external/__init__.py
vendored
2
lib/spack/external/__init__.py
vendored
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
* Homepage: https://pypi.python.org/pypi/archspec
|
* Homepage: https://pypi.python.org/pypi/archspec
|
||||||
* Usage: Labeling, comparison and detection of microarchitectures
|
* Usage: Labeling, comparison and detection of microarchitectures
|
||||||
* Version: 0.1.4 (commit b8eea9df2b4204ff27d204452cd46f5199a0b423)
|
* Version: 0.1.4 (commit e2cfdc266174488dee78b8c9058e36d60dc1b548)
|
||||||
|
|
||||||
argparse
|
argparse
|
||||||
--------
|
--------
|
||||||
|
@ -106,7 +106,7 @@ def __eq__(self, other):
|
|||||||
self.name == other.name
|
self.name == other.name
|
||||||
and self.vendor == other.vendor
|
and self.vendor == other.vendor
|
||||||
and self.features == other.features
|
and self.features == other.features
|
||||||
and self.ancestors == other.ancestors
|
and self.parents == other.parents # avoid ancestors here
|
||||||
and self.compilers == other.compilers
|
and self.compilers == other.compilers
|
||||||
and self.generation == other.generation
|
and self.generation == other.generation
|
||||||
)
|
)
|
||||||
|
@ -1099,8 +1099,7 @@
|
|||||||
"avx512cd",
|
"avx512cd",
|
||||||
"avx512vbmi",
|
"avx512vbmi",
|
||||||
"avx512ifma",
|
"avx512ifma",
|
||||||
"sha",
|
"sha"
|
||||||
"umip"
|
|
||||||
],
|
],
|
||||||
"compilers": {
|
"compilers": {
|
||||||
"gcc": [
|
"gcc": [
|
||||||
@ -1263,7 +1262,6 @@
|
|||||||
"avx512vbmi",
|
"avx512vbmi",
|
||||||
"avx512ifma",
|
"avx512ifma",
|
||||||
"sha_ni",
|
"sha_ni",
|
||||||
"umip",
|
|
||||||
"clwb",
|
"clwb",
|
||||||
"rdpid",
|
"rdpid",
|
||||||
"gfni",
|
"gfni",
|
||||||
@ -2249,7 +2247,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"graviton2": {
|
"graviton2": {
|
||||||
"from": ["aarch64"],
|
"from": ["graviton"],
|
||||||
"vendor": "ARM",
|
"vendor": "ARM",
|
||||||
"features": [
|
"features": [
|
||||||
"fp",
|
"fp",
|
||||||
@ -2319,6 +2317,107 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"graviton3": {
|
||||||
|
"from": ["graviton2"],
|
||||||
|
"vendor": "ARM",
|
||||||
|
"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",
|
||||||
|
"paca",
|
||||||
|
"pacg",
|
||||||
|
"dcpodp",
|
||||||
|
"svei8mm",
|
||||||
|
"svebf16",
|
||||||
|
"i8mm",
|
||||||
|
"bf16",
|
||||||
|
"dgh",
|
||||||
|
"rng"
|
||||||
|
],
|
||||||
|
"compilers" : {
|
||||||
|
"gcc": [
|
||||||
|
{
|
||||||
|
"versions": "4.8:4.8.9",
|
||||||
|
"flags": "-march=armv8-a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "4.9:5.9",
|
||||||
|
"flags": "-march=armv8-a+crc+crypto"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "6:6.9",
|
||||||
|
"flags" : "-march=armv8.1-a"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "7:7.9",
|
||||||
|
"flags" : "-march=armv8.2-a+crypto+fp16 -mtune=cortex-a72"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "8.0:8.9",
|
||||||
|
"flags" : "-march=armv8.2-a+fp16+dotprod+crypto -mtune=cortex-a72"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "9.0:9.9",
|
||||||
|
"flags" : "-march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+nodotprod -mtune=neoverse-v1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "10.0:",
|
||||||
|
"flags" : "-march=armv8.4-a+crypto+rcpc+sha3+sm4+sve+rng+ssbs+i8mm+bf16+nodotprod -mtune=neoverse-v1"
|
||||||
|
}
|
||||||
|
|
||||||
|
],
|
||||||
|
"clang" : [
|
||||||
|
{
|
||||||
|
"versions": "3.9:4.9",
|
||||||
|
"flags" : "-march=armv8.2-a+fp16+crc+crypto"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "5:10",
|
||||||
|
"flags" : "-march=armv8.2-a+fp16+rcpc+dotprod+crypto"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "11:",
|
||||||
|
"flags" : "-march=armv8.4-a+sve+ssbs+fp16+bf16+crypto+i8mm+rng"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"arm" : [
|
||||||
|
{
|
||||||
|
"versions": "20:21.9",
|
||||||
|
"flags" : "-march=armv8.2-a+sve+fp16+rcpc+dotprod+crypto"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"versions": "22:",
|
||||||
|
"flags" : "-march=armv8.4-a+sve+ssbs+fp16+bf16+crypto+i8mm+rng"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"m1": {
|
"m1": {
|
||||||
"from": ["aarch64"],
|
"from": ["aarch64"],
|
||||||
"vendor": "Apple",
|
"vendor": "Apple",
|
||||||
|
Loading…
Reference in New Issue
Block a user