[PATCH] D131134: [X86] Report error if the amx enabled on the non-64-bits target
Phoebe Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 10 23:02:48 PDT 2022
pengfei added a comment.
In D131134#3714860 <https://reviews.llvm.org/D131134#3714860>, @craig.topper wrote:
> Yes AMX is only supported in 64-bit mode but I doubt CPUID checks which mode the program is running in.
I guess `HasAMXSave` is `false` on 32-bit mode https://github.com/llvm/llvm-project/blob/main/llvm/lib/Support/Host.cpp#L1800. But I don't have the environment to check it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131134/new/
https://reviews.llvm.org/D131134
More information about the cfe-commits
mailing list