Wednesday 15 July 2015

c - Can't call _mm_dp_ps -


Used for running some code on that window, for OpenSUSE 12.1 I am trying to port. But I'm having trouble compiling a part of the code that uses the SSE instructions

OpenSUSE is running on an Intel Core i7 with these Flags: FPU VME DE PSC MSR PAE mce cx8 apic september mtrr pje MCA cmov pat pse36 clflush dts aCPI MMX fxsr SSE SSE2 SSHT TM PBE syscall NX pdpe1gb rdtscp LM CONSTANT_TSC arch_perfmon pebs BTS rep_good nopl xtopology NONSTOP_TSC aperfmperf PNI pclmulqdq dtes64 ds_cpl VMX monitoring station TM2 SSSE3 Cx16 xtpr pdcm sse4_1 sse4_2 popcnt aes lahf_lm ida arat dts Tpr_shadow vnmi flexpriority ept vpid .

Most SSE instructions are fine, but the compiler can not know: _mm_dp_ps . It is also complaining about the __ builtin_ia32_pshufd and _mm_cvtepu8_epi32 .

Can anyone please help me? What am I missing?

itemprop = "text">

_mm_dp_ps and _mm_cvtepu8_epi32 are both SSE4 after

1 - So you need it:
  #include & lt; Smmintrin.h & gt; // SSE 4.1 intrinsics   

and you also need to compile with:

  $ gcc -msse4.1 ...    

No comments:

Post a Comment