recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proposal: compiler specific vectorization ( e.g. `__builtin_shufflevector` ... ) if native SIMD is not ( could not ) detected

recp opened this issue · comments

We can use builtin compiler vectorization ( e.g. __builtin_shufflevector ... ) helpers ( if available ) as fallback of SIMD to native ( if possible ):

https://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html
https://clang.llvm.org/docs/LanguageExtensions.html#langext-builtin-shufflevector