Wrong return type for _mm_extract_ps? #57225
Labels
A-docs
Area: Documentation for any part of the project, including the compiler, standard library, and tools
A-SIMD
Area: SIMD (Single Instruction Multiple Data)
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
std::arch::x86_64::_mm_extract_ps
(andx86
) is documented asbut has the signature
Shouldn't this be returning
f32
? The implementation just usesmem::transmute
with inferred types, so its just transmuting the result toi32
even though the implementation is usingsimd_transmute
to make anf32
.Is this a bug or am I missing something here?
The text was updated successfully, but these errors were encountered: