Closed
Description
xmmintrin.h
defines a _MM_SHUFFLE macro which is use to generate the mask used for _mm_shuffle
and other similar instructions. https://clang.llvm.org/doxygen/xmmintrin_8h.html#a65a052b655bd49ff3fe128b61847df9f. I could not find this macro in std::arch::x86
, perhaps it is there but doesn't show up in the docs?
In any case, if it's missing perhaps it would be good to add it. Creating masks by hand is cryptic and having an equivalent to _MM_SHUFFLE
would make using the Rust intrinsics more like other languages.
Metadata
Metadata
Assignees
Labels
No labels