ReactOS  0.4.14-dev-49-gfb4591c
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)
 
__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 46 of file xmmintrin.h.

◆ __INTRIN_INLINE

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

Definition at line 47 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 69 of file xmmintrin.h.

◆ _MM_HINT_ET1

#define _MM_HINT_ET1   6

Definition at line 80 of file xmmintrin.h.

◆ _MM_HINT_NTA

#define _MM_HINT_NTA   0

Definition at line 79 of file xmmintrin.h.

◆ _MM_HINT_T0

#define _MM_HINT_T0   1

Definition at line 76 of file xmmintrin.h.

◆ _MM_HINT_T1

#define _MM_HINT_T1   2

Definition at line 77 of file xmmintrin.h.

◆ _MM_HINT_T2

#define _MM_HINT_T2   3

Definition at line 78 of file xmmintrin.h.

Function Documentation

◆ _CRT_ALIGN()

union _DECLSPEC_INTRIN_TYPE _CRT_ALIGN ( 16  )

Definition at line 14 of file xmmintrin.h.

15 {
16  float m128_f32[4];
17  unsigned __int64 m128_u64[2];
18  __int8 m128_i8[16];
19  __int16 m128_i16[8];
20  __int32 m128_i32[4];
21  __int64 m128_i64[2];
22  unsigned __int8 m128_u8[16];
23  unsigned __int16 m128_u16[8];
24  unsigned __int32 m128_u32[4];
25 } __m128;
__m128
Definition: xmmintrin.h:25
#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_getcsr()

__INTRIN_INLINE unsigned int _mm_getcsr ( void  )

Definition at line 55 of file xmmintrin.h.

56 {
57  unsigned int retval;
58  __asm__ __volatile__("stmxcsr %0" : "=m"(retval));
59  return retval;
60 }
__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 62 of file xmmintrin.h.

63 {
64  __asm__ __volatile__("ldmxcsr %0" : : "m"(val));
65 }
__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().

Variable Documentation

◆ __m128

__m128

Definition at line 25 of file xmmintrin.h.

Referenced by IntToF32vec4(), and Is32vec2ToF32vec4().