Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

rcp(F64vec2) missing?

schorscherl
Beginner
298 Views
Hi all,

although the compiler (10.1.012) docs mention it multiple times, the functions

F64vec2 rcp(F64vec2)
F64vec2 rcp_nr(F64vec2)

do not seem to exist - a search in dvec.h confirms this. They are present, however, for F32vec4. Is this a bug or intended?

Thanks for any insight,
Georg.

0 Kudos
1 Reply
TimP
Black Belt
298 Views
As the rcpps instruction is 4-operand parallel, your finding doesn't surprise me. So, it may be a documentation bug, which you could submit on premier.intel.com. However, the documentation of such functions is intentionally incomplete; too many changes occur between compiler versions for them to be recommended for application code. In view of the improved performance of IEEE divide on Penryn and later CPUs, I have been trying to avoid rccps.
Reply