我正在尝试exponential使用SIMD 计算函数。我发现了这个功能:https : //software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_exp_ps&expand=2136
我已经将其包含"immintrin.h"在代码中,并且我的cpu也有一个SSE标志。但是gcc在抱怨error: ‘_mm_exp_pd’ was not declared in this scope
如何检查SVML指令是否启用?
SVML 是与英特尔编译器 (ICC) 配合使用的专有英特尔库。如果您不使用 ICC,则需要找到等效的库,例如sse_mathfun或avx_mathfun。
更新:Visual C++ 2019 支持 x86/x64 架构的 Intel SVML。