[PATCH] D59287: [X86] Only define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 in 64-bit mode.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 08:30:27 PDT 2019
craig.topper added a comment.
Isn’t that setMaxAtomicWidth in the x86-64 derived class?
As far as preventing “cx16” from being set in 32-bit mode, we’ll need to check the behavior of CPUID in 32-bit mode or -march=native might still end up setting it.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59287/new/
https://reviews.llvm.org/D59287
More information about the llvm-commits
mailing list