[PATCH] D59287: [X86] Only define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 in 64-bit mode.
Craig Topper via Phabricator via cfe-commits
cfe-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.
CHANGES SINCE LAST ACTION
More information about the cfe-commits