microsoft / DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

Home Page:https://walbourn.github.io/introducing-directxmath/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Utilize Short Vector Math Library (SVML) when supported

walbourn opened this issue · comments

VS 2019 now includes Intel's SVML which has 'intrinsics' like _mm_cos_ps (__m128 a), __m128 _mm_sincos_ps(__m128 * /*cos_res*/, __m128), etc.

See Intel documentation

Most useful instructions here look to be:

_mm_acos_ps
_mm_asin_ps
_mm_atan_ps
_mm_atan2_ps
_mm_cos_ps
_mm_exp_ps
_mm_invsqrt_ps
_mm_log_ps
_mm_log10_ps
_mm_log2_ps
_mm_pow_ps
_mm_sin_ps
_mm_sincos_ps
_mm_tan_ps
_mm_trunc_ps