1

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?

St0fF
  • 1,553
  • 12
  • 22

1 Answers1

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

Community
  • 1
  • 1
St0fF
  • 1,553
  • 12
  • 22