Intel® ISA Extensions
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.
1121 Discussions

missing AVX512 Intrinsics of Trigonometry

wzl
Beginner
864 Views

Hello! When I use the "_mm512_atan2_ps",  I get a error:  ‘_mm512_atan2_ps’ was not declared in this scope; did you mean ‘_mm512_and_ps’.  And I have enabled at compile time with -mavx512f.  How should I solve this problem.  The CPU I'm using is: model name : 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz.

0 Kudos
2 Replies
AdyT_Intel
Moderator
820 Views

There is no such instruction for calculating ATAN or similar instructions.

The Intel Intrinsic Guide specify this intrinsic as a "sequence". Which means: This intrinsic generates a sequence of instructions, which may perform worse than a native instruction. Consider the performance impact of this intrinsic.

This type of intrinsic might not be supported by all compilers or supported anymore.

0 Kudos
wzl
Beginner
815 Views

Thank you for reply. If I want to try to use it, can I do so by using an earlier version of the intel C/C++ compiler?

0 Kudos
Reply