问题
Using Visual Studio 2012/C++:
I need to apply gamma correction to my resampler code. From Intels Docs I learned that there should be the intrinsic _mm256_pow_pd()
, but I can't find it.
Planned use:
_mm256_storeu_pd(&destinationData[y*dst4+x], _mm256_pow_pd(akku, _mm256_broadcast_sd(&gamma)));
Any ideas where Microsoft has hidden this intrinsic?
回答1:
Obviously I didn't google enough. This SO answer implicitly answers my question: https://stackoverflow.com/a/31515534/2896592
Content: _mm256_pow_pd
is from Intel's SVML library - it's not really an intrinsic.
Workaround: take a look at Agner Fog's vector library
来源:https://stackoverflow.com/questions/32204876/vc2012-where-to-find-mm256-pow-pd