aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-22 17:13:31 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-22 17:13:31 -0500
commit48c7e6c48b81e6e0423b3e4aea238402189eecb7 (patch)
tree1d585eaa73a43b473809ffdc85b4207e2e72ee9c /src/zig_llvm.cpp
parentc6bfece1d54c54024397d7aff9f25087cc4dbfda (diff)
downloadzig-48c7e6c48b81e6e0423b3e4aea238402189eecb7.tar.gz
zig-48c7e6c48b81e6e0423b3e4aea238402189eecb7.zip
std.Target.CpuFeatures is now a struct with both CPU and feature set
Previously it was a tagged union which was one of: * baseline * a specific CPU * a set of features Now, it's possible to have a CPU but also modify the CPU's feature set on top of that. This is closer to what LLVM does. This is more correct because Zig's notion of CPUs (and LLVM's) is not exact CPU models. For example "skylake" is not one very specific model; there are several different pieces of hardware that match "skylake" that have different feature sets enabled.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions