pengfei added a comment. In D131134#3715024 <https://reviews.llvm.org/D131134#3715024>, @pengfei wrote:
> 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. I found it. The `XFEATURE_MASK_XTILE` in Kernel is the same as `HasAMXSave` in compiler: https://lwn.net/ml/linux-kernel/20210710130313.5072-20-chang.seok....@intel.com/ So these features bits are `true` only on 64-bit mode. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131134/new/ https://reviews.llvm.org/D131134 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits