Add x86-64-v2, x86-64-v3, and x86-64-v4 as available target_cpus #82024
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
O-x86_64
Target: x86-64 processors (like x86_64-*)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Page 14 of the 2020-08-31 version of the AMD64 supplement to the System V ABI defines new microarchitecture levels that bundle instruction set extensions:
x86-64-v2
,x86-64-v3
, andx86-64-v4
. According to a Red Hat blog post, LLVM 12 will support these.rustc
should support these astarget_cpu
values, enable the righttarget_feature
s, and pass them appropriately to LLVM.Internals thread
The text was updated successfully, but these errors were encountered: