1

Specifics says:

__m128d _mm_sin_pd (__m128d a)
#include <immintrin.h>
CPUID Flags: SSE
Description
Compute the sine of packed double-precision (64-bit) floating-point elements in a expressed in radians, and store the results in dst.

But it seems it is not defined?

3
  • That's not a normal intrinsic. It's part of the MKL. Commented Jan 7, 2019 at 16:25
  • @Mysticial: and why its listed as CPUID Flags: SSE? Commented Jan 7, 2019 at 16:25
  • Sorry, I meant the SVML, not the MKL. Though they tend to come together as part of Intel's libraries. The CPUID flag only means that the hardware needs to support that ISA before you can call it. It doesn't say anything about it's availability to the compiler. Commented Jan 7, 2019 at 16:28

1 Answer 1

3

This symbol has a blue header, that means it's part of SVML. Link against it to get the symbol, as the documentation requires it.

SVML will then dispatch the call to the most adequate implementation for your architecture.

9
  • And differs for accuracy I guess ;) Where can I download it? its part of... which Intel library? Commented Jan 7, 2019 at 16:34
  • It's part of the Intel compiler. And yes, there different variations for accuracy and reproducibility, with less flags than for MKL. Commented Jan 7, 2019 at 16:35
  • Out of curiosity - when you mention 'blue header', what are you referring to? Commented Jan 7, 2019 at 16:35
  • The blue header of the row in the documentation. Commented Jan 7, 2019 at 16:35
  • I think you can also get SVML support with non-Intel compilers for free by installing the CPU-only SDK for OpenCL. Commented Jan 7, 2019 at 16:43

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.