Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing x86/_64 MMX functions #579

Closed
TheDan64 opened this issue Oct 8, 2018 · 4 comments
Closed

Missing x86/_64 MMX functions #579

TheDan64 opened this issue Oct 8, 2018 · 4 comments
Labels

Comments

@TheDan64
Copy link

TheDan64 commented Oct 8, 2018

It seems like _mm_empty, _mm_madd_pi16, _mm_xor_si64 and a handful of other simd functions don't exist, neither in stable nor behind the stdsimd feature. In fact, it seems like the remaining TODO list in #40 is unimplemented.

I was just wondering if there is any technical reason for these missing functions, or have they just not been implemented yet?

Thanks!

@alexcrichton
Copy link
Member

Ah if these are missing it's just by mistake! Then can be added at any time :)

@TheDan64
Copy link
Author

TheDan64 commented Oct 8, 2018

Ah, that's good to know! So most of the functions that I've found to be missing seem to be in the aforementioned TODO list under MMX & SSE. I've also found these two which aren't listed there: _mm_cvtph_ps & _mm_mulhrs_pi16 but can be found in the standard C SIMD headers

Edit: Another one not listed which seems to be missing: _mm_setr_epi64x. I can't find it in the intel intrinsics guide, but seems to be a thing from what I've read... and _mm_set_epi64x is the corresponding non reverse initializer

@alexcrichton
Copy link
Member

Ah so we haven't actually stabilized (or pursued too aggressively) the MMX-related intrinsics as they have weird ABI issues in LLVM and don't seem to be too widely used in the wild (those intrinsics with __m64), but we can always add them as unstable at least!

@alexcrichton alexcrichton changed the title Missing x86/_64 functions? Missing x86/_64 MMX functions Dec 12, 2018
@workingjubilee
Copy link
Member

Direct MMX support is no longer in scope for std::arch, see:

@workingjubilee workingjubilee closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants