Open RalfJung opened 3 weeks ago
I imagine it should - since the intrinsic operates on SSE registers, it would be pretty hard to do anything with it if SSE is not available...
So this seems to be missing info in rustc's feature implication code then? Cc @calebzulawski
Specifically that would be adding sse
in this line. But I don't know how to check whether that is correct.
you could double check with llvm's feature implication code maybe
LLVM appears to have pclmul depend on sse2: https://github.com/llvm/llvm-project/blob/3fc0d94ce57de2d0841e77c8fda7feef2923c4e0/llvm/lib/Target/X86/X86.td#L187
Okay, https://github.com/rust-lang/rust/pull/132174 should do it then.
This is the following function:
Does the
pclmulqdq
target feature implysse
?And shouldn't this use
extern "unadjusted"
like most of the LLVM intrinsics?Cc @Amanieu @veluca93