I am trying to calculate the exponential
function using SIMD. and I found this function : https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_exp_ps&expand=2136
I have already included "immintrin.h"
in my code, and also my cpu has a SSE
flag. But gcc
is complaining that error: ‘_mm_exp_pd’ was not declared in this scope
How could I check whether SVML instructions is enabled ?
SVML is a proprietary Intel library that works with the Intel compiler (ICC). If you're not using ICC then you'll need to find an equivalent library, e.g. sse_mathfun or avx_mathfun.
UPDATE: Visual C++ 2019 supports Intel SVML for x86/x64 architectures.