[PATCH] D135937: [X86] Support -march=raptorlake, meteorlake

Freddy, Ye via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 1 20:37:29 PDT 2022


FreddyYe added a comment.

In D135937#3898501 <https://reviews.llvm.org/D135937#3898501>, @FreddyYe wrote:

> In D135937#3898228 <https://reviews.llvm.org/D135937#3898228>, @FreddyYe wrote:
>
>> For saving capacity of ProcessorSubtypes, gcc decided to not support part of compiler features of these two cpus:
>>
>>   __builtin_cpu_is("meteorlake")
>>   __attribute__((target("arch=raptorlake")))
>>   ... some others I don't know.
>>
>> Gcc's related patch:
>> raptorlake <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=470a0659b508d684148f362c4dc0eccf5a83a23e> and meteorlake <https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=fd206f0e95fb6f41b96eaaaab1dc0c30378e5e08>
>> Updated to align with gcc first. Welcome opinions and review!
>
> GCC may supported these two features. I'm confirming... Stay tuned. Sorry for noise.

Confirmed they still supported these two features. So I added X86_CPU_SUBTYPE_ALIAS to support so. Pls review.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D135937/new/

https://reviews.llvm.org/D135937



More information about the llvm-commits mailing list