[PATCH] D59566: [X86] Correct the value of MaxAtomicInlineWidth for pre-586 cpus

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 15:15:57 PDT 2019


efriedma added a comment.

Technically, I guess the default for MaxAtomicInlineWidth should be zero, since 386 doesn't have cmpxchg... but I don't think anyone cares, so we'll pretend 486 is the oldest possible x86 processor. Probably enough to just have a test to check that the defines are set properly for an 486 target.

We should probably also fix the LLVM backend to add a cmpxchg8 feature bit.


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

https://reviews.llvm.org/D59566





More information about the llvm-commits mailing list