5 // Copyright (c) 2011 Apple Inc.
8 #ifndef BulletTest_vector_h
9 #define BulletTest_vector_h
12 typedef float float4 __attribute__ ((__vector_size__(16)));
13 #include <xmmintrin.h>
17 typedef double double2 __attribute__ ((__vector_size__(16)));
18 typedef char char16 __attribute__ ((__vector_size__(16)));
19 typedef unsigned char uchar16 __attribute__ ((__vector_size__(16)));
20 typedef short short8 __attribute__ ((__vector_size__(16)));
21 typedef unsigned short ushort8 __attribute__ ((__vector_size__(16)));
22 typedef int int4 __attribute__ ((__vector_size__(16)));
23 // typedef unsigned int uint4 __attribute__ ((__vector_size__(16)));
25 typedef long long2 __attribute__ ((__vector_size__(16)));
26 typedef unsigned long ulong2 __attribute__ ((__vector_size__(16)));
28 typedef long long long2 __attribute__ ((__vector_size__(16)));
29 typedef unsigned long long ulong2 __attribute__ ((__vector_size__(16)));
31 #include <emmintrin.h>
35 #include <pmmintrin.h>
39 #include <tmmintrin.h>
43 #include <smmintrin.h>
49 #define ARM_NEON_GCC_COMPATIBILITY 1
51 typedef float float4 __attribute__ ((__vector_size__(16)));
52 typedef double double2 __attribute__ ((__vector_size__(16)));
53 typedef char char16 __attribute__ ((__vector_size__(16)));
54 typedef unsigned char uchar16 __attribute__ ((__vector_size__(16)));
55 typedef short short8 __attribute__ ((__vector_size__(16)));
56 typedef unsigned short ushort8 __attribute__ ((__vector_size__(16)));
57 typedef int int4 __attribute__ ((__vector_size__(16)));
58 typedef unsigned int uint4 __attribute__ ((__vector_size__(16)));
60 typedef long long2 __attribute__ ((__vector_size__(16)));
61 typedef unsigned long ulong2 __attribute__ ((__vector_size__(16)));
63 typedef long long long2 __attribute__ ((__vector_size__(16)));
64 typedef unsigned long long ulong2 __attribute__ ((__vector_size__(16)));