mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[CRT] Add __m128i, _mm_setzero_si128, and _mm_stream_si128.
This commit is contained in:
parent
631d1e071c
commit
89e83b2cf4
1 changed files with 17 additions and 0 deletions
|
@ -11,6 +11,19 @@
|
|||
#include <crtdefs.h>
|
||||
#include <xmmintrin.h>
|
||||
|
||||
typedef union _DECLSPEC_INTRIN_TYPE _CRT_ALIGN(16) __m128i
|
||||
{
|
||||
__int8 m128i_i8[16];
|
||||
__int16 m128i_i16[8];
|
||||
__int32 m128i_i32[4];
|
||||
__int64 m128i_i64[2];
|
||||
unsigned __int8 m128i_u8[16];
|
||||
unsigned __int16 m128i_u16[8];
|
||||
unsigned __int32 m128i_u32[4];
|
||||
unsigned __int64 m128i_u64[2];
|
||||
} __m128i;
|
||||
C_ASSERT(sizeof(__m128i) == 16);
|
||||
|
||||
typedef struct _DECLSPEC_INTRIN_TYPE _CRT_ALIGN(16) __m128d
|
||||
{
|
||||
double m128d_f64[2];
|
||||
|
@ -20,5 +33,9 @@ extern __m128d _mm_load_sd(double const*);
|
|||
|
||||
extern int _mm_cvtsd_si32(__m128d);
|
||||
|
||||
extern __m128i _mm_setzero_si128(void);
|
||||
|
||||
extern void _mm_stream_si128(__m128i *, __m128i);
|
||||
|
||||
|
||||
#endif /* _INCLUDED_EMM */
|
||||
|
|
Loading…
Reference in a new issue