最終更新:2012-03-02 (金) 11:42:19 (2699d)  

pmmintrin.h はてなブックマークを見る
Top / pmmintrin.h

Principal header file for Intel(R) Pentium(R) 4 processor SSE3 intrinsics

  • 13個の命令が追加

関数

New Single precision vector instructions.

  • __m128 _mm_addsub_ps?(__m128 a, __m128 b);
  • __m128 _mm_hadd_ps?(__m128 a, __m128 b);
  • __m128 _mm_hsub_ps?(__m128 a, __m128 b);
  • __m128 _mm_movehdup_ps?(__m128 a);
  • __m128 _mm_moveldup_ps?(__m128 a);

New double precision vector instructions.

  • __m128d _mm_addsub_pd?(__m128d a, __m128d b);
  • __m128d _mm_hadd_pd?(__m128d a, __m128d b);
  • __m128d _mm_hsub_pd?(__m128d a, __m128d b);
  • __m128d _mm_loaddup_pd?(double const**dp);
  • __m128d _mm_movedup_pd?(__m128d a);

New unaligned integer vector load instruction.

  • __m128i _mm_lddqu_si128?(__m128i const *p);

Miscellaneous new instructions.

For _mm_monitor p goes in eax, extensions goes in ecx, hints goes in edx.

  • void _mm_monitor?(void const *p, unsigned extensions, unsigned hints);

For _mm_mwait, extensions goes in ecx, hints goes in eax.

  • void _mm_mwait?(unsigned extensions, unsigned hints);

関連