-
Notifications
You must be signed in to change notification settings - Fork 263
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
porting @Microsoft SPTAG (with native aliases enabled): missing __mmask32 __mmask64 _mm512_setzero_ps _mm512_cvtepi32_ps _mm512_extractf32x8_ps _mm512_cmpgt_epi16_mask
#961
Comments
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Hi we need it for debian side packaging... |
Thanks for the report. There is a guide to adding new instructions at https://github.com/simd-everywhere/simde/wiki/Implementing-a-New-Function |
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Update: _mm512_setzero_ps now exists since commit c900d5e |
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
ping ? |
Hello @bastien-roucaries There is a guide to adding new instructions at https://github.com/simd-everywhere/simde/wiki/Implementing-a-New-Function Please let me know if you want assistance with working on this issue, I would be happy to help! |
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
@pabs3 Did you see that |
@mr-c this issue isn't fully completed because the native aliases Thanks for implementing |
Whoops I misunderstood. Did you see the note about those types in simde/simde/x86/avx512/types.h Lines 501 to 514 in 8b4e375
If there is a specific compiler version / architecture combination that you are using, and for which you need the native types defined, I think that would be straightforward to add |
I did see that note, it sounds complicated. When I was testing this I was on Debian bookworm amd64 with GCC 12. My intention was to enable porting SPTAG from amd64 to all of the Debian architectures, probably starting with arm64. Since bookworm is in the freeze, this will likely be something for trixie. In that situation PS: since you are the Debian maintainer of simde too, an upload to Debian experimental would be appreciated so I can work on this further. |
Sure, I can upload https://github.com/simd-everywhere/simde/releases/tag/v0.7.4-rc3 to Debian experimental, but it won't have all of the new functions you need; however you could copy them from bf1fbae |
Maybe wait until that commit has entered a release candidate.
|
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
This bug should still be open because of the native aliases for
__mmask32 and __mmask64 are probably still missing?
Thanks for the upload though, I'll be able to work on SPTAG now by
adding some defines for __mmask32 and __mmask64.
…--
bye,
pabs
https://bonedaddy.net/pabs3/
|
@pabs3 whoops, that was my mistake; I've queued up a fix |
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Blocked-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961
Obsoletes: microsoft#136 Fixes: microsoft#134 Fixes: microsoft#316 Enabled-by: simd-everywhere/simde#961 Signed-off-by: Dirkjan Bussink <[email protected]>
While porting @microsoft SPTAG to use SIMDe (with native aliases enabled), I found that there are several missing functions/definitions. As suggested in the
README.md
I am reporting them here for prioritisation. There are some missing native aliases and missing variants of existing functions:simde_
variants defined but not native aliases__mmask32
__mmask64
_mm512_setzero_ps
_mm512_cvtepi32_ps
: missing but_mm512_cvtepu32_ps
exists_mm512_extractf32x8_ps
: missing but_mm512_extractf32x4_ps
exists_mm512_cmpgt_epi16_mask
: missing but_mm512_cmpgt_epi8_mask
existsI need the native aliases because @microsoft requires signing a CLA, so I won't be submitting a pull request, so I want my patch to be relatively compatible with any changes that are made upstream to the intrinsics.
The text was updated successfully, but these errors were encountered: