mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
guix: cpu: Add detection for znver5.
* guix/cpu.scm (cpu->gcc-architecture): Add detection for znver5. (gcc-architecture->micro-architecture-level): Add entry for znver5. Change-Id: If0ff9540517cb9ac869afabf413c9993166d78a5
This commit is contained in:
parent
1d4a44a29b
commit
2545afa64a
1 changed files with 3 additions and 2 deletions
|
@ -167,7 +167,8 @@ (define (cpu->gcc-architecture cpu)
|
|||
("lm" "sse3" => "k8-sse3")
|
||||
("longmode" => "k8")
|
||||
("lm" => "k8")))
|
||||
(if-flags ("avx512f" => "znver4")
|
||||
(if-flags ("avx512vp2intersect" => "znver5")
|
||||
("avx512f" => "znver4")
|
||||
("vaes" => "znver3")
|
||||
("clwb" => "znver2")
|
||||
("clzero" => "znver1")
|
||||
|
@ -312,7 +313,7 @@ (define (gcc-architecture->micro-architecture-level gcc-architecture)
|
|||
((or "graniterapids-d" "graniterapids" "tigerlake" "sapphirerapids"
|
||||
"cooperlake" "icelake-server" "icelake-client" "cannonlake" "knm"
|
||||
"knl" "skylake-avx512"
|
||||
"znver4")
|
||||
"znver5" "znver4")
|
||||
"x86-64-v4")
|
||||
((or "pantherlake" "clearwaterforest" "arrowlake-s" "sierraforest"
|
||||
"alderlake" "skylake" "broadwell" "haswell"
|
||||
|
|
Loading…
Reference in a new issue