C++ error: ‘_mm_sin_ps’ was not declared in this scope

_mm_sin_ps is part of the SVML library, shipped with intel compilers only. GCC developers focused on wrapping machine instructions and simple tasks, so there’s no SVML in immintrin.h so far.

You have to use a library or write it by yourself.
Sinus implementation:

Leave a Comment