HomePhabricator

[X86] Support -march=x86-64-v[234]

Authored by MaskRay on Oct 12 2020, 9:35 AM.

Description

[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

Details

Committed
MaskRayOct 12 2020, 10:29 AM
Reviewer
craig.topper
Differential Revision
D89197: [X86] Support -march=x86-64-v[234]
Parents
rGe944455eaf1e: [flang][openacc] Lower parallel construct
Branches
Unknown
Tags
Unknown