diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-02-15 16:27:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-15 16:27:00 +0100 |
commit | d05e6727a2b511106ace4e08a9ce2a5cf17dde92 (patch) | |
tree | dca74f8c5ef8723139f011b7bf832b1713fff604 /lib | |
parent | 05fe3be94929ce03d16f9872608c6f6ddf0bc353 (diff) | |
parent | c5923af98669282886140478c6d83ddcdcf77a42 (diff) |
Merge pull request #203539 from SuperSandro2000/architectures-expand-inferiors
lib/systems/architectures: expand inferiors
Diffstat (limited to 'lib')
-rw-r--r-- | lib/systems/architectures.nix | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/lib/systems/architectures.nix b/lib/systems/architectures.nix index 94127fa90b351..57b9184ca60cd 100644 --- a/lib/systems/architectures.nix +++ b/lib/systems/architectures.nix @@ -40,14 +40,21 @@ rec { # a superior CPU has all the features of an inferior and is able to build and test code for it inferiors = { # x86_64 Intel + # https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html default = [ ]; westmere = [ ]; - sandybridge = [ "westmere" ] ++ inferiors.westmere; - ivybridge = [ "sandybridge" ] ++ inferiors.sandybridge; - haswell = [ "ivybridge" ] ++ inferiors.ivybridge; - broadwell = [ "haswell" ] ++ inferiors.haswell; - skylake = [ "broadwell" ] ++ inferiors.broadwell; - skylake-avx512 = [ "skylake" ] ++ inferiors.skylake; + sandybridge = [ "westmere" ] ++ inferiors.westmere; + ivybridge = [ "sandybridge" ] ++ inferiors.sandybridge; + haswell = [ "ivybridge" ] ++ inferiors.ivybridge; + broadwell = [ "haswell" ] ++ inferiors.haswell; + skylake = [ "broadwell" ] ++ inferiors.broadwell; + skylake-avx512 = [ "skylake" ] ++ inferiors.skylake; + cannonlake = [ "skylake-avx512" ] ++ inferiors.skylake-avx512; + icelake-client = [ "cannonlake" ] ++ inferiors.cannonlake; + icelake-server = [ "icelake-client" ] ++ inferiors.icelake-client; + cascadelake = [ "skylake-avx512" ] ++ inferiors.cannonlake; + cooperlake = [ "cascadelake" ] ++ inferiors.cascadelake; + tigerlake = [ "icelake-server" ] ++ inferiors.icelake-server; # x86_64 AMD # TODO: fill this (need testing) |