Elias Kauppi
6 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
13 additions and
1 deletions
-
cranelift/codegen/meta/src/isa/x86.rs
|
|
@ -373,11 +373,23 @@ pub(crate) fn define() -> TargetIsa { |
|
|
|
"Zen (second generation) microarchitecture.", |
|
|
|
preset!(znver1), |
|
|
|
); |
|
|
|
settings.add_preset( |
|
|
|
let znver3 = settings.add_preset( |
|
|
|
"znver3", |
|
|
|
"Zen (third generation) microarchitecture.", |
|
|
|
preset!(znver2), |
|
|
|
); |
|
|
|
settings.add_preset( |
|
|
|
"znver4", |
|
|
|
"Zen (fourth generation) microarchitecture.", |
|
|
|
preset!( |
|
|
|
znver3 |
|
|
|
&& has_avx512bitalg |
|
|
|
&& has_avx512dq |
|
|
|
&& has_avx512f |
|
|
|
&& has_avx512vbmi |
|
|
|
&& has_avx512vl |
|
|
|
), |
|
|
|
); |
|
|
|
|
|
|
|
// Generic
|
|
|
|
|
|
|
|