Update architectures.nix
This commit is contained in:
parent
8ad48c921e
commit
60ce27db2b
@ -59,17 +59,18 @@ rec {
|
|||||||
loongson2f = [ ];
|
loongson2f = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
predicates = {
|
predicates = rec {
|
||||||
sse3Support = x: builtins.elem "sse3" features.${x};
|
featureSupport = feature: x: builtins.elem feature features.${x};
|
||||||
ssse3Support = x: builtins.elem "ssse3" features.${x};
|
sse3Support = featureSupport "sse3";
|
||||||
sse4_1Support = x: builtins.elem "sse4_1" features.${x};
|
ssse3Support = featureSupport "ssse3";
|
||||||
sse4_2Support = x: builtins.elem "sse4_2" features.${x};
|
sse4_1Support = featureSupport "sse4_1";
|
||||||
sse4_aSupport = x: builtins.elem "sse4a" features.${x};
|
sse4_2Support = featureSupport "sse4_2";
|
||||||
avxSupport = x: builtins.elem "avx" features.${x};
|
sse4_aSupport = featureSupport "sse4a";
|
||||||
avx2Support = x: builtins.elem "avx2" features.${x};
|
avxSupport = featureSupport "avx";
|
||||||
avx512Support = x: builtins.elem "avx512" features.${x};
|
avx2Support = featureSupport "avx2";
|
||||||
aesSupport = x: builtins.elem "aes" features.${x};
|
avx512Support = featureSupport "avx512";
|
||||||
fmaSupport = x: builtins.elem "fma" features.${x};
|
aesSupport = featureSupport "aes";
|
||||||
fma4Support = x: builtins.elem "fma4" features.${x};
|
fmaSupport = featureSupport "fma";
|
||||||
|
fma4Support = featureSupport "fma4";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user