[all-commits] [llvm/llvm-project] 012dd4: [X86] Support -march=x86-64-v[234]
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Oct 12 10:30:05 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 012dd42e027e2ff3d183cc9dcf27004cf9711720
https://github.com/llvm/llvm-project/commit/012dd42e027e2ff3d183cc9dcf27004cf9711720
Author: Fangrui Song <i at maskray.me>
Date: 2020-10-12 (Mon, 12 Oct 2020)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/docs/UsersManual.rst
M clang/lib/Basic/Targets/X86.cpp
M clang/lib/Basic/Targets/X86.h
M clang/test/CodeGen/attr-target-x86.c
M clang/test/Driver/x86-march.c
M clang/test/Driver/x86-mtune.c
M clang/test/Misc/target-invalid-cpu-note.c
A clang/test/Preprocessor/predefined-arch-macros-x86.c
M clang/test/Preprocessor/predefined-arch-macros.c
M clang/test/Sema/builtin-cpu-supports.c
M llvm/docs/ReleaseNotes.rst
M llvm/include/llvm/Support/X86TargetParser.h
M llvm/lib/Support/X86TargetParser.cpp
M llvm/lib/Target/X86/X86.td
M llvm/test/CodeGen/X86/cpus-other.ll
Log Message:
-----------
[X86] Support -march=x86-64-v[234]
PR47686. These micro-architecture levels are defined in the x86-64 psABI:
https://gitlab.com/x86-psABIs/x86-64-ABI/-/commit/77566eb03bc6a326811cb7e9
GCC 11 will support these levels.
Note, -mtune=x86-64-v[234] are invalid and __builtin_cpu_is cannot be
used on them.
Reviewed By: craig.topper, RKSimon
Differential Revision: https://reviews.llvm.org/D89197
More information about the All-commits
mailing list