ReactOS  0.4.15-dev-1203-g0e5a4d5
xmmintrin.h File Reference
#include <crtdefs.h>
#include <mmintrin.h>
Include dependency graph for xmmintrin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _INCLUDED_MM2
 
#define __ATTRIBUTE_ARTIFICIAL   __attribute__((artificial))
 
#define __INTRIN_INLINE   extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) __ATTRIBUTE_ARTIFICIAL
 
#define _mm_cvtss_si32   _mm_cvt_ss2si
 
#define _MM_HINT_T0   1
 
#define _MM_HINT_T1   2
 
#define _MM_HINT_T2   3
 
#define _MM_HINT_NTA   0
 
#define _MM_HINT_ET1   6
 

Functions

union _DECLSPEC_INTRIN_TYPE _CRT_ALIGN (16) __m128
 
__m128 _mm_load_ss (float const *)
 
int _mm_cvt_ss2si (__m128)
 
__m128 _mm_xor_ps (__m128 a, __m128 b)
 
__m128 _mm_div_ps (__m128 a, __m128 b)
 
__INTRIN_INLINE unsigned int _mm_getcsr (void)
 
__INTRIN_INLINE void _mm_setcsr (unsigned int val)
 

Variables

 __m128
 

Macro Definition Documentation

◆ __ATTRIBUTE_ARTIFICIAL

#define __ATTRIBUTE_ARTIFICIAL   __attribute__((artificial))

Definition at line 63 of file xmmintrin.h.

◆ __INTRIN_INLINE

#define __INTRIN_INLINE   extern __inline__ __attribute__((__always_inline__,__gnu_inline__)) __ATTRIBUTE_ARTIFICIAL

Definition at line 64 of file xmmintrin.h.

◆ _INCLUDED_MM2

#define _INCLUDED_MM2

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 9 of file xmmintrin.h.

◆ _mm_cvtss_si32

#define _mm_cvtss_si32   _mm_cvt_ss2si

Definition at line 102 of file xmmintrin.h.

◆ _MM_HINT_ET1

#define _MM_HINT_ET1   6

Definition at line 113 of file xmmintrin.h.

◆ _MM_HINT_NTA

#define _MM_HINT_NTA   0

Definition at line 112 of file xmmintrin.h.

◆ _MM_HINT_T0

#define _MM_HINT_T0   1

Definition at line 109 of file xmmintrin.h.

◆ _MM_HINT_T1

#define _MM_HINT_T1   2

Definition at line 110 of file xmmintrin.h.

◆ _MM_HINT_T2

#define _MM_HINT_T2   3

Definition at line 111 of file xmmintrin.h.

Function Documentation

◆ _CRT_ALIGN()

union _DECLSPEC_INTRIN_TYPE _CRT_ALIGN ( 16  )

Definition at line 24 of file xmmintrin.h.

25 {
26  float m128_f32[4];
27  unsigned __int64 m128_u64[2];
28  __int8 m128_i8[16];
29  __int16 m128_i16[8];
30  __int32 m128_i32[4];
31  __int64 m128_i64[2];
32  unsigned __int8 m128_u8[16];
33  unsigned __int16 m128_u16[8];
34  unsigned __int32 m128_u32[4];
35 } __m128;
__m128
Definition: xmmintrin.h:35
#define __int32
Definition: basetyps.h:19
#define __int8
Definition: basetyps.h:25
#define __int64
Definition: basetyps.h:16
#define __int16
Definition: basetyps.h:22

◆ _mm_cvt_ss2si()

int _mm_cvt_ss2si ( __m128  )

◆ _mm_div_ps()

__m128 _mm_div_ps ( __m128  a,
__m128  b 
)

◆ _mm_getcsr()

__INTRIN_INLINE unsigned int _mm_getcsr ( void  )

Definition at line 71 of file xmmintrin.h.

72 {
73  unsigned int retval;
74  __asm__ __volatile__("stmxcsr %0" : "=m"(retval));
75  return retval;
76 }
__asm__("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr")

Referenced by _statusfp(), and TestSSEExceptions().

◆ _mm_load_ss()

__m128 _mm_load_ss ( float const )

◆ _mm_setcsr()

__INTRIN_INLINE void _mm_setcsr ( unsigned int  val)

Definition at line 78 of file xmmintrin.h.

79 {
80  __asm__ __volatile__("ldmxcsr %0" : : "m"(val));
81 }
__asm__("\t.globl GetPhys\n" "GetPhys:\t\n" "mflr 0\n\t" "stwu 0,-16(1)\n\t" "mfmsr 5\n\t" "andi. 6,5,0xffef\n\t" "mtmsr 6\n\t" "isync\n\t" "sync\n\t" "lwz 3,0(3)\n\t" "mtmsr 5\n\t" "isync\n\t" "sync\n\t" "lwz 0,0(1)\n\t" "addi 1,1,16\n\t" "mtlr 0\n\t" "blr")
GLuint GLfloat * val
Definition: glext.h:7180

Referenced by TestSSEExceptions().

◆ _mm_xor_ps()

__m128 _mm_xor_ps ( __m128  a,
__m128  b 
)

Variable Documentation

◆ __m128

__m128

Definition at line 35 of file xmmintrin.h.

Referenced by IntToF32vec4(), Is32vec2ToF32vec4(), and TestSSEExceptions().