AVX512F: _mm512_fmaddsub_pd is missing
Closed this issue · 7 comments
It seem like the AVX512F _mm512_fmaddsub_pd
intrinsic is missing.
Could it please be added? :)
Hello @robinchrist ; I would accept a PR to add a simde_mm512_fmaddsub_pd
in a new file named simde/x86/avx512/fmaddsub.h
; I can assist you in that if you would like. Take a look at the following:
Would you want the non-fma addsub in a separate file? Or in the same file as simde_mm512_fmaddsub_pd
?
Hm, interesting. A _mm512_addsub_pd
does not exist.
Should _mm512_addsub_pd
be added nevertheless, or only with with the simde_
prefix?
Or should I simply embed the functionality of _mm512_addsub_pd
in _mm512_fmaddsub_pd
and not offer it separately?
I can TRY, but don't expect a great solution. Especially not something that has LoongArch or NEON in it
We only need a plain implementation to merge; no SIMDE_*_NATIVE
code needed. Others will come along with optimized implementations later. Often the compilers do a great job!
Hm, interesting. A
_mm512_addsub_pd
does not exist. Should_mm512_addsub_pd
be added nevertheless, or only with with thesimde_
prefix? Or should I simply embed the functionality of_mm512_addsub_pd
in_mm512_fmaddsub_pd
and not offer it separately?
Your choice. If you need it, then call it simde_x_mm512_addsub_pd
, and it can go in the same file.
I've made a first PR #1246, no clue whether this works yet (tests should / will follow).
Can you please let me know in the PR whether this goes into the desired direction?