[PATCH] D135951: [X86][1/2] SUPPORT RAO-INT
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 15 20:39:08 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/X86.td:259
+ "Support RAO-INT instructions",
+ [FeatureSSE2]>;
def FeatureINVPCID : SubtargetFeature<"invpcid", "HasINVPCID", "true",
----------------
pengfei wrote:
> craig.topper wrote:
> > Why do these require SSE2?
> We need mfence instructions for strong orders. The mfence feature relies on SSE2.
> I see your concern, we may need split these features from SSE2. Filed an issue https://github.com/llvm/llvm-project/issues/58388
The lowering code for atomics could check SSE2 in addition to the RAO-INT feature. My primary concern was that the RAO-INT feature itself shouldn't require it.
Are there going to be intrinsics for RAO-INT?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135951/new/
https://reviews.llvm.org/D135951
More information about the llvm-commits
mailing list