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

New library (final_simd.h) #91

Open
f1nalspace opened this issue Mar 21, 2021 · 0 comments
Open

New library (final_simd.h) #91

f1nalspace opened this issue Mar 21, 2021 · 0 comments
Labels

Comments

@f1nalspace
Copy link
Owner

f1nalspace commented Mar 21, 2021

I want a library that abstracts/wrap the internal SIMD types such as __m128 to structs and uses better names for the actual functions. Also, this should work on X86/X64 and ARM.

On NEON the names for the typedefs are much better than on x86, so we use those instead ;)

__m128 becomes fsmd_f32x4
__m128d becomes fsmd_f64x4
__m128i becomes fsmd_s32x4
__m256 becomes fsmd_f32x8

Example function names:

_mm256_fmadd_ps:

fsMultiplyAdd256F(const fsmd_f32x8 a, const fsmd_f32x8 b, fsmd_f32x8 *output)
@f1nalspace f1nalspace changed the title Idea, a new library (final_simd.h) New library (final_simd.h) Apr 20, 2021
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

1 participant