gccxml_gem 0.9.3-x86-darwin-11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (176) hide show
  1. data/Rakefile +84 -0
  2. data/bin/gccxml +0 -0
  3. data/bin/gccxml_cc1plus +0 -0
  4. data/gccxml.rb +57 -0
  5. data/share/doc/gccxml-0.9/Copyright.txt +55 -0
  6. data/share/doc/gccxml-0.9/gccxml.html +168 -0
  7. data/share/doc/gccxml-0.9/gccxml.txt +293 -0
  8. data/share/gccxml-0.9/GCC/2.95/algorithm +76 -0
  9. data/share/gccxml-0.9/GCC/2.95/bitset +17 -0
  10. data/share/gccxml-0.9/GCC/2.95/cctype +24 -0
  11. data/share/gccxml-0.9/GCC/2.95/clocale +14 -0
  12. data/share/gccxml-0.9/GCC/2.95/cmath +33 -0
  13. data/share/gccxml-0.9/GCC/2.95/complex +38 -0
  14. data/share/gccxml-0.9/GCC/2.95/csetjmp +13 -0
  15. data/share/gccxml-0.9/GCC/2.95/csignal +14 -0
  16. data/share/gccxml-0.9/GCC/2.95/cstdarg +12 -0
  17. data/share/gccxml-0.9/GCC/2.95/cstddef +13 -0
  18. data/share/gccxml-0.9/GCC/2.95/cstdio +55 -0
  19. data/share/gccxml-0.9/GCC/2.95/cstdlib +66 -0
  20. data/share/gccxml-0.9/GCC/2.95/cstring +34 -0
  21. data/share/gccxml-0.9/GCC/2.95/ctime +24 -0
  22. data/share/gccxml-0.9/GCC/2.95/cwchar +65 -0
  23. data/share/gccxml-0.9/GCC/2.95/cwctype +31 -0
  24. data/share/gccxml-0.9/GCC/2.95/deque +19 -0
  25. data/share/gccxml-0.9/GCC/2.95/exception +20 -0
  26. data/share/gccxml-0.9/GCC/2.95/fstream +23 -0
  27. data/share/gccxml-0.9/GCC/2.95/functional +64 -0
  28. data/share/gccxml-0.9/GCC/2.95/gccxml_bitset +1066 -0
  29. data/share/gccxml-0.9/GCC/2.95/iomanip +20 -0
  30. data/share/gccxml-0.9/GCC/2.95/iosfwd +20 -0
  31. data/share/gccxml-0.9/GCC/2.95/iostream +27 -0
  32. data/share/gccxml-0.9/GCC/2.95/iterator +39 -0
  33. data/share/gccxml-0.9/GCC/2.95/list +19 -0
  34. data/share/gccxml-0.9/GCC/2.95/map +20 -0
  35. data/share/gccxml-0.9/GCC/2.95/memory +21 -0
  36. data/share/gccxml-0.9/GCC/2.95/new +13 -0
  37. data/share/gccxml-0.9/GCC/2.95/numeric +15 -0
  38. data/share/gccxml-0.9/GCC/2.95/pthread.h +16 -0
  39. data/share/gccxml-0.9/GCC/2.95/queue +20 -0
  40. data/share/gccxml-0.9/GCC/2.95/set +20 -0
  41. data/share/gccxml-0.9/GCC/2.95/sstream +24 -0
  42. data/share/gccxml-0.9/GCC/2.95/stack +19 -0
  43. data/share/gccxml-0.9/GCC/2.95/std/bastring.cc +524 -0
  44. data/share/gccxml-0.9/GCC/2.95/std/complext.h +397 -0
  45. data/share/gccxml-0.9/GCC/2.95/std/dcomplex.h +92 -0
  46. data/share/gccxml-0.9/GCC/2.95/std/fcomplex.h +88 -0
  47. data/share/gccxml-0.9/GCC/2.95/std/gslice_array.h +170 -0
  48. data/share/gccxml-0.9/GCC/2.95/std/indirect_array.h +157 -0
  49. data/share/gccxml-0.9/GCC/2.95/std/ldcomplex.h +96 -0
  50. data/share/gccxml-0.9/GCC/2.95/std/mask_array.h +154 -0
  51. data/share/gccxml-0.9/GCC/2.95/std/slice_array.h +156 -0
  52. data/share/gccxml-0.9/GCC/2.95/std/std_valarray.h +728 -0
  53. data/share/gccxml-0.9/GCC/2.95/std/straits.h +162 -0
  54. data/share/gccxml-0.9/GCC/2.95/std/valarray_meta.h +1035 -0
  55. data/share/gccxml-0.9/GCC/2.95/stdexcept +17 -0
  56. data/share/gccxml-0.9/GCC/2.95/stl_alloc.h +1057 -0
  57. data/share/gccxml-0.9/GCC/2.95/stl_bvector.h +836 -0
  58. data/share/gccxml-0.9/GCC/2.95/stl_deque.h +1699 -0
  59. data/share/gccxml-0.9/GCC/2.95/stl_list.h +843 -0
  60. data/share/gccxml-0.9/GCC/2.95/stl_tree.h +1331 -0
  61. data/share/gccxml-0.9/GCC/2.95/stl_vector.h +828 -0
  62. data/share/gccxml-0.9/GCC/2.95/string +26 -0
  63. data/share/gccxml-0.9/GCC/2.95/strstream +23 -0
  64. data/share/gccxml-0.9/GCC/2.95/typeinfo +11 -0
  65. data/share/gccxml-0.9/GCC/2.95/utility +25 -0
  66. data/share/gccxml-0.9/GCC/2.95/valarray +52 -0
  67. data/share/gccxml-0.9/GCC/2.95/vector +19 -0
  68. data/share/gccxml-0.9/GCC/2.96/sstream +305 -0
  69. data/share/gccxml-0.9/GCC/3.0/pthread.h +16 -0
  70. data/share/gccxml-0.9/GCC/3.1/pthread.h +16 -0
  71. data/share/gccxml-0.9/GCC/3.2/bits/fstream.tcc +500 -0
  72. data/share/gccxml-0.9/GCC/3.2/bits/gthr-default.h +585 -0
  73. data/share/gccxml-0.9/GCC/3.2/bits/istream.tcc +1207 -0
  74. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.h +1810 -0
  75. data/share/gccxml-0.9/GCC/3.2/bits/locale_facets.tcc +2397 -0
  76. data/share/gccxml-0.9/GCC/3.2/bits/messages_members.h +108 -0
  77. data/share/gccxml-0.9/GCC/3.2/bits/ostream.tcc +713 -0
  78. data/share/gccxml-0.9/GCC/3.2/bits/sstream.tcc +241 -0
  79. data/share/gccxml-0.9/GCC/3.2/bits/stl_deque.h +1682 -0
  80. data/share/gccxml-0.9/GCC/3.2/bits/stl_list.h +989 -0
  81. data/share/gccxml-0.9/GCC/3.2/bits/stl_tree.h +1462 -0
  82. data/share/gccxml-0.9/GCC/3.2/bits/stl_vector.h +1085 -0
  83. data/share/gccxml-0.9/GCC/3.2/bits/valarray_meta.h +1063 -0
  84. data/share/gccxml-0.9/GCC/3.2/fstream +579 -0
  85. data/share/gccxml-0.9/GCC/3.2/pthread.h +16 -0
  86. data/share/gccxml-0.9/GCC/3.2/sstream +384 -0
  87. data/share/gccxml-0.9/GCC/3.3/bits/fstream.tcc +530 -0
  88. data/share/gccxml-0.9/GCC/3.3/bits/list.tcc +378 -0
  89. data/share/gccxml-0.9/GCC/3.3/bits/locale_facets.h +2050 -0
  90. data/share/gccxml-0.9/GCC/3.3/bits/messages_members.h +108 -0
  91. data/share/gccxml-0.9/GCC/3.3/bits/sstream.tcc +243 -0
  92. data/share/gccxml-0.9/GCC/3.3/bits/stl_deque.h +1603 -0
  93. data/share/gccxml-0.9/GCC/3.3/bits/stl_list.h +1167 -0
  94. data/share/gccxml-0.9/GCC/3.3/bits/stl_tree.h +1462 -0
  95. data/share/gccxml-0.9/GCC/3.3/bits/stl_vector.h +992 -0
  96. data/share/gccxml-0.9/GCC/3.3/bits/valarray_meta.h +1135 -0
  97. data/share/gccxml-0.9/GCC/3.3/fstream +842 -0
  98. data/share/gccxml-0.9/GCC/3.3/gccxml_builtins.h +22 -0
  99. data/share/gccxml-0.9/GCC/3.3/sstream +638 -0
  100. data/share/gccxml-0.9/GCC/3.4/bits/gthr-default.h +669 -0
  101. data/share/gccxml-0.9/GCC/3.4/gccxml_builtins.h +91 -0
  102. data/share/gccxml-0.9/GCC/4.0/emmintrin.h +5 -0
  103. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_emmintrin.h +1037 -0
  104. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_mmintrin.h +669 -0
  105. data/share/gccxml-0.9/GCC/4.0/gccxml_apple_xmmintrin.h +870 -0
  106. data/share/gccxml-0.9/GCC/4.0/gccxml_builtins.h +128 -0
  107. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_emmintrin.h +977 -0
  108. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_mmintrin.h +636 -0
  109. data/share/gccxml-0.9/GCC/4.0/gccxml_gnu_xmmintrin.h +833 -0
  110. data/share/gccxml-0.9/GCC/4.0/mmintrin.h +5 -0
  111. data/share/gccxml-0.9/GCC/4.0/xmmintrin.h +5 -0
  112. data/share/gccxml-0.9/GCC/4.1/bits/gthr-default.h +622 -0
  113. data/share/gccxml-0.9/GCC/4.1/emmintrin.h +5 -0
  114. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_emmintrin.h +1509 -0
  115. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_mmintrin.h +942 -0
  116. data/share/gccxml-0.9/GCC/4.1/gccxml_apple_xmmintrin.h +1192 -0
  117. data/share/gccxml-0.9/GCC/4.1/gccxml_builtins.h +131 -0
  118. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_emmintrin.h +1004 -0
  119. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_mmintrin.h +637 -0
  120. data/share/gccxml-0.9/GCC/4.1/gccxml_gnu_xmmintrin.h +834 -0
  121. data/share/gccxml-0.9/GCC/4.1/mmintrin.h +5 -0
  122. data/share/gccxml-0.9/GCC/4.1/xmmintrin.h +5 -0
  123. data/share/gccxml-0.9/GCC/4.2/emmintrin.h +5 -0
  124. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_emmintrin.h +1509 -0
  125. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_mmintrin.h +942 -0
  126. data/share/gccxml-0.9/GCC/4.2/gccxml_apple_xmmintrin.h +1192 -0
  127. data/share/gccxml-0.9/GCC/4.2/gccxml_builtins.h +131 -0
  128. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_emmintrin.h +1013 -0
  129. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_mmintrin.h +663 -0
  130. data/share/gccxml-0.9/GCC/4.2/gccxml_gnu_xmmintrin.h +860 -0
  131. data/share/gccxml-0.9/GCC/4.2/mmintrin.h +5 -0
  132. data/share/gccxml-0.9/GCC/4.2/xmmintrin.h +5 -0
  133. data/share/gccxml-0.9/GCC/4.3/emmintrin.h +1043 -0
  134. data/share/gccxml-0.9/GCC/4.3/gccxml_builtins.h +183 -0
  135. data/share/gccxml-0.9/GCC/4.3/mmintrin.h +663 -0
  136. data/share/gccxml-0.9/GCC/4.3/xmmintrin.h +867 -0
  137. data/share/gccxml-0.9/GCC/4.4/bits/c++config.h +1431 -0
  138. data/share/gccxml-0.9/GCC/4.4/emmintrin.h +1041 -0
  139. data/share/gccxml-0.9/GCC/4.4/gccxml_builtins.h +153 -0
  140. data/share/gccxml-0.9/GCC/4.4/mmintrin.h +662 -0
  141. data/share/gccxml-0.9/GCC/4.4/xmmintrin.h +864 -0
  142. data/share/gccxml-0.9/GCC/4.5/gccxml_builtins.h +154 -0
  143. data/share/gccxml-0.9/GCC/4.5/iomanip +349 -0
  144. data/share/gccxml-0.9/GCC/COPYING.RUNTIME +73 -0
  145. data/share/gccxml-0.9/GCC/COPYING3 +674 -0
  146. data/share/gccxml-0.9/IBM/8.0/adapt_headers.sh +34 -0
  147. data/share/gccxml-0.9/IBM/8.0/stdlib.h.patch +27 -0
  148. data/share/gccxml-0.9/IBM/8.0/xstring.patch +19 -0
  149. data/share/gccxml-0.9/IBM/README +8 -0
  150. data/share/gccxml-0.9/IBM/find_flags +51 -0
  151. data/share/gccxml-0.9/IBM/find_flags_common +48 -0
  152. data/share/gccxml-0.9/Intel/find_flags +56 -0
  153. data/share/gccxml-0.9/Intel/pthread.h +16 -0
  154. data/share/gccxml-0.9/MIPSpro/7.3/exception +9 -0
  155. data/share/gccxml-0.9/MIPSpro/7.3/gccxml_mpro_internals.h +21 -0
  156. data/share/gccxml-0.9/MIPSpro/7.3/iomanip +161 -0
  157. data/share/gccxml-0.9/MIPSpro/7.3/ostream +9 -0
  158. data/share/gccxml-0.9/MIPSpro/7.3/stddef.h +9 -0
  159. data/share/gccxml-0.9/MIPSpro/7.3/stl_config.h +9 -0
  160. data/share/gccxml-0.9/MIPSpro/7.3/stl_locale.h +17 -0
  161. data/share/gccxml-0.9/MIPSpro/7.3/stl_monetary.h +14 -0
  162. data/share/gccxml-0.9/MIPSpro/7.3/stl_numeric_facets.h +13 -0
  163. data/share/gccxml-0.9/MIPSpro/7.3/stl_threads.h +11 -0
  164. data/share/gccxml-0.9/MIPSpro/7.3/string +18 -0
  165. data/share/gccxml-0.9/MIPSpro/find_flags +70 -0
  166. data/share/gccxml-0.9/MIPSpro/mipspro_defs.cxx +63 -0
  167. data/share/gccxml-0.9/Sun/5.8/Cstd.patch +156 -0
  168. data/share/gccxml-0.9/Sun/5.8/adapt_headers.sh +32 -0
  169. data/share/gccxml-0.9/Sun/5.8/std-5.10.patch +22 -0
  170. data/share/gccxml-0.9/Sun/README +8 -0
  171. data/share/gccxml-0.9/Sun/find_flags +51 -0
  172. data/share/gccxml-0.9/Sun/find_flags_common +42 -0
  173. data/share/gccxml-0.9/gccxml_config +2 -0
  174. data/share/gccxml-0.9/gccxml_identify_compiler.cc +13 -0
  175. data/share/man/man1/gccxml.1 +246 -0
  176. metadata +243 -0
@@ -0,0 +1,1043 @@
1
+ /* Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
2
+
3
+ This file is part of GCC.
4
+
5
+ GCC is free software; you can redistribute it and/or modify
6
+ it under the terms of the GNU General Public License as published by
7
+ the Free Software Foundation; either version 2, or (at your option)
8
+ any later version.
9
+
10
+ GCC is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ GNU General Public License for more details.
14
+
15
+ You should have received a copy of the GNU General Public License
16
+ along with GCC; see the file COPYING. If not, write to
17
+ the Free Software Foundation, 51 Franklin Street, Fifth Floor,
18
+ Boston, MA 02110-1301, USA. */
19
+
20
+ /* As a special exception, if you include this header file into source
21
+ files compiled by GCC, this header file does not by itself cause
22
+ the resulting executable to be covered by the GNU General Public
23
+ License. This exception does not however invalidate any other
24
+ reasons why the executable file might be covered by the GNU General
25
+ Public License. */
26
+
27
+ /* Implemented from the specification included in the Intel C++ Compiler
28
+ User Guide and Reference, version 9.0. */
29
+
30
+ #ifndef _EMMINTRIN_H_INCLUDED
31
+ #define _EMMINTRIN_H_INCLUDED
32
+
33
+ #ifndef __SSE2__
34
+ # error "SSE2 instruction set not enabled"
35
+ #else
36
+
37
+ /* We need definitions from the SSE header files*/
38
+ #include <xmmintrin.h>
39
+
40
+ /* SSE2 */
41
+ typedef double __v2df __attribute__ ((__vector_size__ (16)));
42
+ typedef long long __v2di __attribute__ ((__vector_size__ (16)));
43
+ typedef int __v4si __attribute__ ((__vector_size__ (16)));
44
+ typedef short __v8hi __attribute__ ((__vector_size__ (16)));
45
+ typedef char __v16qi __attribute__ ((__vector_size__ (16)));
46
+
47
+ /* The Intel API is flexible enough that we must allow aliasing with other
48
+ vector types, and their scalar components. */
49
+ typedef long long __m128i __attribute__ ((__vector_size__ (16), __may_alias__));
50
+ typedef double __m128d __attribute__ ((__vector_size__ (16), __may_alias__));
51
+
52
+ /* Create a selector for use with the SHUFPD instruction. */
53
+ #define _MM_SHUFFLE2(fp1,fp0) \
54
+ (((fp1) << 1) | (fp0))
55
+
56
+ /* Create a vector with element 0 as F and the rest zero. */
57
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
58
+ _mm_set_sd (double __F)
59
+ ;
60
+
61
+ /* Create a vector with both elements equal to F. */
62
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
63
+ _mm_set1_pd (double __F)
64
+ ;
65
+
66
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
67
+ _mm_set_pd1 (double __F)
68
+ ;
69
+
70
+ /* Create a vector with the lower value X and upper value W. */
71
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
72
+ _mm_set_pd (double __W, double __X)
73
+ ;
74
+
75
+ /* Create a vector with the lower value W and upper value X. */
76
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
77
+ _mm_setr_pd (double __W, double __X)
78
+ ;
79
+
80
+ /* Create a vector of zeros. */
81
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
82
+ _mm_setzero_pd (void)
83
+ ;
84
+
85
+ /* Sets the low DPFP value of A from the low value of B. */
86
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
87
+ _mm_move_sd (__m128d __A, __m128d __B)
88
+ ;
89
+
90
+ /* Load two DPFP values from P. The address must be 16-byte aligned. */
91
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
92
+ _mm_load_pd (double const *__P)
93
+ ;
94
+
95
+ /* Load two DPFP values from P. The address need not be 16-byte aligned. */
96
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
97
+ _mm_loadu_pd (double const *__P)
98
+ ;
99
+
100
+ /* Create a vector with all two elements equal to *P. */
101
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
102
+ _mm_load1_pd (double const *__P)
103
+ ;
104
+
105
+ /* Create a vector with element 0 as *P and the rest zero. */
106
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
107
+ _mm_load_sd (double const *__P)
108
+ ;
109
+
110
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
111
+ _mm_load_pd1 (double const *__P)
112
+ ;
113
+
114
+ /* Load two DPFP values in reverse order. The address must be aligned. */
115
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
116
+ _mm_loadr_pd (double const *__P)
117
+ ;
118
+
119
+ /* Store two DPFP values. The address must be 16-byte aligned. */
120
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
121
+ _mm_store_pd (double *__P, __m128d __A)
122
+ ;
123
+
124
+ /* Store two DPFP values. The address need not be 16-byte aligned. */
125
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
126
+ _mm_storeu_pd (double *__P, __m128d __A)
127
+ ;
128
+
129
+ /* Stores the lower DPFP value. */
130
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
131
+ _mm_store_sd (double *__P, __m128d __A)
132
+ ;
133
+
134
+ extern __inline double __attribute__((__gnu_inline__, __always_inline__, __artificial__))
135
+ _mm_cvtsd_f64 (__m128d __A)
136
+ ;
137
+
138
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
139
+ _mm_storel_pd (double *__P, __m128d __A)
140
+ ;
141
+
142
+ /* Stores the upper DPFP value. */
143
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
144
+ _mm_storeh_pd (double *__P, __m128d __A)
145
+ ;
146
+
147
+ /* Store the lower DPFP value across two words.
148
+ The address must be 16-byte aligned. */
149
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
150
+ _mm_store1_pd (double *__P, __m128d __A)
151
+ ;
152
+
153
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
154
+ _mm_store_pd1 (double *__P, __m128d __A)
155
+ ;
156
+
157
+ /* Store two DPFP values in reverse order. The address must be aligned. */
158
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
159
+ _mm_storer_pd (double *__P, __m128d __A)
160
+ ;
161
+
162
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
163
+ _mm_cvtsi128_si32 (__m128i __A)
164
+ ;
165
+
166
+ #ifdef __x86_64__
167
+ /* Intel intrinsic. */
168
+ extern __inline long long __attribute__((__gnu_inline__, __always_inline__, __artificial__))
169
+ _mm_cvtsi128_si64 (__m128i __A)
170
+ ;
171
+
172
+ /* Microsoft intrinsic. */
173
+ extern __inline long long __attribute__((__gnu_inline__, __always_inline__, __artificial__))
174
+ _mm_cvtsi128_si64x (__m128i __A)
175
+ ;
176
+ #endif
177
+
178
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
179
+ _mm_add_pd (__m128d __A, __m128d __B)
180
+ ;
181
+
182
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
183
+ _mm_add_sd (__m128d __A, __m128d __B)
184
+ ;
185
+
186
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
187
+ _mm_sub_pd (__m128d __A, __m128d __B)
188
+ ;
189
+
190
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
191
+ _mm_sub_sd (__m128d __A, __m128d __B)
192
+ ;
193
+
194
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
195
+ _mm_mul_pd (__m128d __A, __m128d __B)
196
+ ;
197
+
198
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
199
+ _mm_mul_sd (__m128d __A, __m128d __B)
200
+ ;
201
+
202
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
203
+ _mm_div_pd (__m128d __A, __m128d __B)
204
+ ;
205
+
206
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
207
+ _mm_div_sd (__m128d __A, __m128d __B)
208
+ ;
209
+
210
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
211
+ _mm_sqrt_pd (__m128d __A)
212
+ ;
213
+
214
+ /* Return pair {sqrt (A[0), B[1]}. */
215
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
216
+ _mm_sqrt_sd (__m128d __A, __m128d __B)
217
+ ;
218
+
219
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
220
+ _mm_min_pd (__m128d __A, __m128d __B)
221
+ ;
222
+
223
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
224
+ _mm_min_sd (__m128d __A, __m128d __B)
225
+ ;
226
+
227
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
228
+ _mm_max_pd (__m128d __A, __m128d __B)
229
+ ;
230
+
231
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
232
+ _mm_max_sd (__m128d __A, __m128d __B)
233
+ ;
234
+
235
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
236
+ _mm_and_pd (__m128d __A, __m128d __B)
237
+ ;
238
+
239
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
240
+ _mm_andnot_pd (__m128d __A, __m128d __B)
241
+ ;
242
+
243
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
244
+ _mm_or_pd (__m128d __A, __m128d __B)
245
+ ;
246
+
247
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
248
+ _mm_xor_pd (__m128d __A, __m128d __B)
249
+ ;
250
+
251
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
252
+ _mm_cmpeq_pd (__m128d __A, __m128d __B)
253
+ ;
254
+
255
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
256
+ _mm_cmplt_pd (__m128d __A, __m128d __B)
257
+ ;
258
+
259
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
260
+ _mm_cmple_pd (__m128d __A, __m128d __B)
261
+ ;
262
+
263
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
264
+ _mm_cmpgt_pd (__m128d __A, __m128d __B)
265
+ ;
266
+
267
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
268
+ _mm_cmpge_pd (__m128d __A, __m128d __B)
269
+ ;
270
+
271
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
272
+ _mm_cmpneq_pd (__m128d __A, __m128d __B)
273
+ ;
274
+
275
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
276
+ _mm_cmpnlt_pd (__m128d __A, __m128d __B)
277
+ ;
278
+
279
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
280
+ _mm_cmpnle_pd (__m128d __A, __m128d __B)
281
+ ;
282
+
283
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
284
+ _mm_cmpngt_pd (__m128d __A, __m128d __B)
285
+ ;
286
+
287
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
288
+ _mm_cmpnge_pd (__m128d __A, __m128d __B)
289
+ ;
290
+
291
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
292
+ _mm_cmpord_pd (__m128d __A, __m128d __B)
293
+ ;
294
+
295
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
296
+ _mm_cmpunord_pd (__m128d __A, __m128d __B)
297
+ ;
298
+
299
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
300
+ _mm_cmpeq_sd (__m128d __A, __m128d __B)
301
+ ;
302
+
303
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
304
+ _mm_cmplt_sd (__m128d __A, __m128d __B)
305
+ ;
306
+
307
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
308
+ _mm_cmple_sd (__m128d __A, __m128d __B)
309
+ ;
310
+
311
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
312
+ _mm_cmpgt_sd (__m128d __A, __m128d __B)
313
+ ;
314
+
315
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
316
+ _mm_cmpge_sd (__m128d __A, __m128d __B)
317
+ ;
318
+
319
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
320
+ _mm_cmpneq_sd (__m128d __A, __m128d __B)
321
+ ;
322
+
323
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
324
+ _mm_cmpnlt_sd (__m128d __A, __m128d __B)
325
+ ;
326
+
327
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
328
+ _mm_cmpnle_sd (__m128d __A, __m128d __B)
329
+ ;
330
+
331
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
332
+ _mm_cmpngt_sd (__m128d __A, __m128d __B)
333
+ ;
334
+
335
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
336
+ _mm_cmpnge_sd (__m128d __A, __m128d __B)
337
+ ;
338
+
339
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
340
+ _mm_cmpord_sd (__m128d __A, __m128d __B)
341
+ ;
342
+
343
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
344
+ _mm_cmpunord_sd (__m128d __A, __m128d __B)
345
+ ;
346
+
347
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
348
+ _mm_comieq_sd (__m128d __A, __m128d __B)
349
+ ;
350
+
351
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
352
+ _mm_comilt_sd (__m128d __A, __m128d __B)
353
+ ;
354
+
355
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
356
+ _mm_comile_sd (__m128d __A, __m128d __B)
357
+ ;
358
+
359
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
360
+ _mm_comigt_sd (__m128d __A, __m128d __B)
361
+ ;
362
+
363
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
364
+ _mm_comige_sd (__m128d __A, __m128d __B)
365
+ ;
366
+
367
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
368
+ _mm_comineq_sd (__m128d __A, __m128d __B)
369
+ ;
370
+
371
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
372
+ _mm_ucomieq_sd (__m128d __A, __m128d __B)
373
+ ;
374
+
375
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
376
+ _mm_ucomilt_sd (__m128d __A, __m128d __B)
377
+ ;
378
+
379
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
380
+ _mm_ucomile_sd (__m128d __A, __m128d __B)
381
+ ;
382
+
383
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
384
+ _mm_ucomigt_sd (__m128d __A, __m128d __B)
385
+ ;
386
+
387
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
388
+ _mm_ucomige_sd (__m128d __A, __m128d __B)
389
+ ;
390
+
391
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
392
+ _mm_ucomineq_sd (__m128d __A, __m128d __B)
393
+ ;
394
+
395
+ /* Create a vector of Qi, where i is the element number. */
396
+
397
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
398
+ _mm_set_epi64x (long long __q1, long long __q0)
399
+ ;
400
+
401
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
402
+ _mm_set_epi64 (__m64 __q1, __m64 __q0)
403
+ ;
404
+
405
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
406
+ _mm_set_epi32 (int __q3, int __q2, int __q1, int __q0)
407
+ ;
408
+
409
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
410
+ _mm_set_epi16 (short __q7, short __q6, short __q5, short __q4,
411
+ short __q3, short __q2, short __q1, short __q0)
412
+ ;
413
+
414
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
415
+ _mm_set_epi8 (char __q15, char __q14, char __q13, char __q12,
416
+ char __q11, char __q10, char __q09, char __q08,
417
+ char __q07, char __q06, char __q05, char __q04,
418
+ char __q03, char __q02, char __q01, char __q00)
419
+ ;
420
+
421
+ /* Set all of the elements of the vector to A. */
422
+
423
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
424
+ _mm_set1_epi64x (long long __A)
425
+ ;
426
+
427
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
428
+ _mm_set1_epi64 (__m64 __A)
429
+ ;
430
+
431
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
432
+ _mm_set1_epi32 (int __A)
433
+ ;
434
+
435
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
436
+ _mm_set1_epi16 (short __A)
437
+ ;
438
+
439
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
440
+ _mm_set1_epi8 (char __A)
441
+ ;
442
+
443
+ /* Create a vector of Qi, where i is the element number.
444
+ The parameter order is reversed from the _mm_set_epi* functions. */
445
+
446
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
447
+ _mm_setr_epi64 (__m64 __q0, __m64 __q1)
448
+ ;
449
+
450
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
451
+ _mm_setr_epi32 (int __q0, int __q1, int __q2, int __q3)
452
+ ;
453
+
454
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
455
+ _mm_setr_epi16 (short __q0, short __q1, short __q2, short __q3,
456
+ short __q4, short __q5, short __q6, short __q7)
457
+ ;
458
+
459
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
460
+ _mm_setr_epi8 (char __q00, char __q01, char __q02, char __q03,
461
+ char __q04, char __q05, char __q06, char __q07,
462
+ char __q08, char __q09, char __q10, char __q11,
463
+ char __q12, char __q13, char __q14, char __q15)
464
+ ;
465
+
466
+ /* Create a vector with element 0 as *P and the rest zero. */
467
+
468
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
469
+ _mm_load_si128 (__m128i const *__P)
470
+ ;
471
+
472
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
473
+ _mm_loadu_si128 (__m128i const *__P)
474
+ ;
475
+
476
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
477
+ _mm_loadl_epi64 (__m128i const *__P)
478
+ ;
479
+
480
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
481
+ _mm_store_si128 (__m128i *__P, __m128i __B)
482
+ ;
483
+
484
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
485
+ _mm_storeu_si128 (__m128i *__P, __m128i __B)
486
+ ;
487
+
488
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
489
+ _mm_storel_epi64 (__m128i *__P, __m128i __B)
490
+ ;
491
+
492
+ extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
493
+ _mm_movepi64_pi64 (__m128i __B)
494
+ ;
495
+
496
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
497
+ _mm_movpi64_epi64 (__m64 __A)
498
+ ;
499
+
500
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
501
+ _mm_move_epi64 (__m128i __A)
502
+ ;
503
+
504
+ /* Create a vector of zeros. */
505
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
506
+ _mm_setzero_si128 (void)
507
+ ;
508
+
509
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
510
+ _mm_cvtepi32_pd (__m128i __A)
511
+ ;
512
+
513
+ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
514
+ _mm_cvtepi32_ps (__m128i __A)
515
+ ;
516
+
517
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
518
+ _mm_cvtpd_epi32 (__m128d __A)
519
+ ;
520
+
521
+ extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
522
+ _mm_cvtpd_pi32 (__m128d __A)
523
+ ;
524
+
525
+ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
526
+ _mm_cvtpd_ps (__m128d __A)
527
+ ;
528
+
529
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
530
+ _mm_cvttpd_epi32 (__m128d __A)
531
+ ;
532
+
533
+ extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
534
+ _mm_cvttpd_pi32 (__m128d __A)
535
+ ;
536
+
537
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
538
+ _mm_cvtpi32_pd (__m64 __A)
539
+ ;
540
+
541
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
542
+ _mm_cvtps_epi32 (__m128 __A)
543
+ ;
544
+
545
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
546
+ _mm_cvttps_epi32 (__m128 __A)
547
+ ;
548
+
549
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
550
+ _mm_cvtps_pd (__m128 __A)
551
+ ;
552
+
553
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
554
+ _mm_cvtsd_si32 (__m128d __A)
555
+ ;
556
+
557
+ #ifdef __x86_64__
558
+ /* Intel intrinsic. */
559
+ extern __inline long long __attribute__((__gnu_inline__, __always_inline__, __artificial__))
560
+ _mm_cvtsd_si64 (__m128d __A)
561
+ ;
562
+
563
+ /* Microsoft intrinsic. */
564
+ extern __inline long long __attribute__((__gnu_inline__, __always_inline__, __artificial__))
565
+ _mm_cvtsd_si64x (__m128d __A)
566
+ ;
567
+ #endif
568
+
569
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
570
+ _mm_cvttsd_si32 (__m128d __A)
571
+ ;
572
+
573
+ #ifdef __x86_64__
574
+ /* Intel intrinsic. */
575
+ extern __inline long long __attribute__((__gnu_inline__, __always_inline__, __artificial__))
576
+ _mm_cvttsd_si64 (__m128d __A)
577
+ ;
578
+
579
+ /* Microsoft intrinsic. */
580
+ extern __inline long long __attribute__((__gnu_inline__, __always_inline__, __artificial__))
581
+ _mm_cvttsd_si64x (__m128d __A)
582
+ ;
583
+ #endif
584
+
585
+ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
586
+ _mm_cvtsd_ss (__m128 __A, __m128d __B)
587
+ ;
588
+
589
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
590
+ _mm_cvtsi32_sd (__m128d __A, int __B)
591
+ ;
592
+
593
+ #ifdef __x86_64__
594
+ /* Intel intrinsic. */
595
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
596
+ _mm_cvtsi64_sd (__m128d __A, long long __B)
597
+ ;
598
+
599
+ /* Microsoft intrinsic. */
600
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
601
+ _mm_cvtsi64x_sd (__m128d __A, long long __B)
602
+ ;
603
+ #endif
604
+
605
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
606
+ _mm_cvtss_sd (__m128d __A, __m128 __B)
607
+ ;
608
+
609
+ #ifdef __OPTIMIZE__
610
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
611
+ _mm_shuffle_pd(__m128d __A, __m128d __B, const int __mask)
612
+ ;
613
+ #else
614
+ #define _mm_shuffle_pd(A, B, N) \
615
+ ((__m128d)__builtin_ia32_shufpd ((__v2df)(__m128d)(A), \
616
+ (__v2df)(__m128d)(B), (int)(N)))
617
+ #endif
618
+
619
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
620
+ _mm_unpackhi_pd (__m128d __A, __m128d __B)
621
+ ;
622
+
623
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
624
+ _mm_unpacklo_pd (__m128d __A, __m128d __B)
625
+ ;
626
+
627
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
628
+ _mm_loadh_pd (__m128d __A, double const *__B)
629
+ ;
630
+
631
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
632
+ _mm_loadl_pd (__m128d __A, double const *__B)
633
+ ;
634
+
635
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
636
+ _mm_movemask_pd (__m128d __A)
637
+ ;
638
+
639
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
640
+ _mm_packs_epi16 (__m128i __A, __m128i __B)
641
+ ;
642
+
643
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
644
+ _mm_packs_epi32 (__m128i __A, __m128i __B)
645
+ ;
646
+
647
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
648
+ _mm_packus_epi16 (__m128i __A, __m128i __B)
649
+ ;
650
+
651
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
652
+ _mm_unpackhi_epi8 (__m128i __A, __m128i __B)
653
+ ;
654
+
655
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
656
+ _mm_unpackhi_epi16 (__m128i __A, __m128i __B)
657
+ ;
658
+
659
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
660
+ _mm_unpackhi_epi32 (__m128i __A, __m128i __B)
661
+ ;
662
+
663
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
664
+ _mm_unpackhi_epi64 (__m128i __A, __m128i __B)
665
+ ;
666
+
667
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
668
+ _mm_unpacklo_epi8 (__m128i __A, __m128i __B)
669
+ ;
670
+
671
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
672
+ _mm_unpacklo_epi16 (__m128i __A, __m128i __B)
673
+ ;
674
+
675
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
676
+ _mm_unpacklo_epi32 (__m128i __A, __m128i __B)
677
+ ;
678
+
679
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
680
+ _mm_unpacklo_epi64 (__m128i __A, __m128i __B)
681
+ ;
682
+
683
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
684
+ _mm_add_epi8 (__m128i __A, __m128i __B)
685
+ ;
686
+
687
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
688
+ _mm_add_epi16 (__m128i __A, __m128i __B)
689
+ ;
690
+
691
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
692
+ _mm_add_epi32 (__m128i __A, __m128i __B)
693
+ ;
694
+
695
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
696
+ _mm_add_epi64 (__m128i __A, __m128i __B)
697
+ ;
698
+
699
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
700
+ _mm_adds_epi8 (__m128i __A, __m128i __B)
701
+ ;
702
+
703
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
704
+ _mm_adds_epi16 (__m128i __A, __m128i __B)
705
+ ;
706
+
707
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
708
+ _mm_adds_epu8 (__m128i __A, __m128i __B)
709
+ ;
710
+
711
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
712
+ _mm_adds_epu16 (__m128i __A, __m128i __B)
713
+ ;
714
+
715
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
716
+ _mm_sub_epi8 (__m128i __A, __m128i __B)
717
+ ;
718
+
719
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
720
+ _mm_sub_epi16 (__m128i __A, __m128i __B)
721
+ ;
722
+
723
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
724
+ _mm_sub_epi32 (__m128i __A, __m128i __B)
725
+ ;
726
+
727
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
728
+ _mm_sub_epi64 (__m128i __A, __m128i __B)
729
+ ;
730
+
731
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
732
+ _mm_subs_epi8 (__m128i __A, __m128i __B)
733
+ ;
734
+
735
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
736
+ _mm_subs_epi16 (__m128i __A, __m128i __B)
737
+ ;
738
+
739
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
740
+ _mm_subs_epu8 (__m128i __A, __m128i __B)
741
+ ;
742
+
743
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
744
+ _mm_subs_epu16 (__m128i __A, __m128i __B)
745
+ ;
746
+
747
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
748
+ _mm_madd_epi16 (__m128i __A, __m128i __B)
749
+ ;
750
+
751
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
752
+ _mm_mulhi_epi16 (__m128i __A, __m128i __B)
753
+ ;
754
+
755
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
756
+ _mm_mullo_epi16 (__m128i __A, __m128i __B)
757
+ ;
758
+
759
+ extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
760
+ _mm_mul_su32 (__m64 __A, __m64 __B)
761
+ ;
762
+
763
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
764
+ _mm_mul_epu32 (__m128i __A, __m128i __B)
765
+ ;
766
+
767
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
768
+ _mm_slli_epi16 (__m128i __A, int __B)
769
+ ;
770
+
771
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
772
+ _mm_slli_epi32 (__m128i __A, int __B)
773
+ ;
774
+
775
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
776
+ _mm_slli_epi64 (__m128i __A, int __B)
777
+ ;
778
+
779
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
780
+ _mm_srai_epi16 (__m128i __A, int __B)
781
+ ;
782
+
783
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
784
+ _mm_srai_epi32 (__m128i __A, int __B)
785
+ ;
786
+
787
+ #ifdef __OPTIMIZE__
788
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
789
+ _mm_srli_si128 (__m128i __A, const int __N)
790
+ ;
791
+
792
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
793
+ _mm_slli_si128 (__m128i __A, const int __N)
794
+ ;
795
+ #else
796
+ #define _mm_srli_si128(A, N) \
797
+ ((__m128i)__builtin_ia32_psrldqi128 ((__m128i)(A), (int)(N) * 8))
798
+ #define _mm_slli_si128(A, N) \
799
+ ((__m128i)__builtin_ia32_pslldqi128 ((__m128i)(A), (int)(N) * 8))
800
+ #endif
801
+
802
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
803
+ _mm_srli_epi16 (__m128i __A, int __B)
804
+ ;
805
+
806
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
807
+ _mm_srli_epi32 (__m128i __A, int __B)
808
+ ;
809
+
810
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
811
+ _mm_srli_epi64 (__m128i __A, int __B)
812
+ ;
813
+
814
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
815
+ _mm_sll_epi16 (__m128i __A, __m128i __B)
816
+ ;
817
+
818
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
819
+ _mm_sll_epi32 (__m128i __A, __m128i __B)
820
+ ;
821
+
822
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
823
+ _mm_sll_epi64 (__m128i __A, __m128i __B)
824
+ ;
825
+
826
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
827
+ _mm_sra_epi16 (__m128i __A, __m128i __B)
828
+ ;
829
+
830
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
831
+ _mm_sra_epi32 (__m128i __A, __m128i __B)
832
+ ;
833
+
834
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
835
+ _mm_srl_epi16 (__m128i __A, __m128i __B)
836
+ ;
837
+
838
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
839
+ _mm_srl_epi32 (__m128i __A, __m128i __B)
840
+ ;
841
+
842
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
843
+ _mm_srl_epi64 (__m128i __A, __m128i __B)
844
+ ;
845
+
846
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
847
+ _mm_and_si128 (__m128i __A, __m128i __B)
848
+ ;
849
+
850
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
851
+ _mm_andnot_si128 (__m128i __A, __m128i __B)
852
+ ;
853
+
854
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
855
+ _mm_or_si128 (__m128i __A, __m128i __B)
856
+ ;
857
+
858
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
859
+ _mm_xor_si128 (__m128i __A, __m128i __B)
860
+ ;
861
+
862
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
863
+ _mm_cmpeq_epi8 (__m128i __A, __m128i __B)
864
+ ;
865
+
866
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
867
+ _mm_cmpeq_epi16 (__m128i __A, __m128i __B)
868
+ ;
869
+
870
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
871
+ _mm_cmpeq_epi32 (__m128i __A, __m128i __B)
872
+ ;
873
+
874
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
875
+ _mm_cmplt_epi8 (__m128i __A, __m128i __B)
876
+ ;
877
+
878
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
879
+ _mm_cmplt_epi16 (__m128i __A, __m128i __B)
880
+ ;
881
+
882
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
883
+ _mm_cmplt_epi32 (__m128i __A, __m128i __B)
884
+ ;
885
+
886
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
887
+ _mm_cmpgt_epi8 (__m128i __A, __m128i __B)
888
+ ;
889
+
890
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
891
+ _mm_cmpgt_epi16 (__m128i __A, __m128i __B)
892
+ ;
893
+
894
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
895
+ _mm_cmpgt_epi32 (__m128i __A, __m128i __B)
896
+ ;
897
+
898
+ #ifdef __OPTIMIZE__
899
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
900
+ _mm_extract_epi16 (__m128i const __A, int const __N)
901
+ ;
902
+
903
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
904
+ _mm_insert_epi16 (__m128i const __A, int const __D, int const __N)
905
+ ;
906
+ #else
907
+ #define _mm_extract_epi16(A, N) \
908
+ ((int) __builtin_ia32_vec_ext_v8hi ((__v8hi)(__m128i)(A), (int)(N)))
909
+ #define _mm_insert_epi16(A, D, N) \
910
+ ((__m128i) __builtin_ia32_vec_set_v8hi ((__v8hi)(__m128i)(A), \
911
+ (int)(D), (int)(N)))
912
+ #endif
913
+
914
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
915
+ _mm_max_epi16 (__m128i __A, __m128i __B)
916
+ ;
917
+
918
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
919
+ _mm_max_epu8 (__m128i __A, __m128i __B)
920
+ ;
921
+
922
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
923
+ _mm_min_epi16 (__m128i __A, __m128i __B)
924
+ ;
925
+
926
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
927
+ _mm_min_epu8 (__m128i __A, __m128i __B)
928
+ ;
929
+
930
+ extern __inline int __attribute__((__gnu_inline__, __always_inline__, __artificial__))
931
+ _mm_movemask_epi8 (__m128i __A)
932
+ ;
933
+
934
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
935
+ _mm_mulhi_epu16 (__m128i __A, __m128i __B)
936
+ ;
937
+
938
+ #ifdef __OPTIMIZE__
939
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
940
+ _mm_shufflehi_epi16 (__m128i __A, const int __mask)
941
+ ;
942
+
943
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
944
+ _mm_shufflelo_epi16 (__m128i __A, const int __mask)
945
+ ;
946
+
947
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
948
+ _mm_shuffle_epi32 (__m128i __A, const int __mask)
949
+ ;
950
+ #else
951
+ #define _mm_shufflehi_epi16(A, N) \
952
+ ((__m128i)__builtin_ia32_pshufhw ((__v8hi)(__m128i)(A), (int)(N)))
953
+ #define _mm_shufflelo_epi16(A, N) \
954
+ ((__m128i)__builtin_ia32_pshuflw ((__v8hi)(__m128i)(A), (int)(N)))
955
+ #define _mm_shuffle_epi32(A, N) \
956
+ ((__m128i)__builtin_ia32_pshufd ((__v4si)(__m128i)(A), (int)(N)))
957
+ #endif
958
+
959
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
960
+ _mm_maskmoveu_si128 (__m128i __A, __m128i __B, char *__C)
961
+ ;
962
+
963
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
964
+ _mm_avg_epu8 (__m128i __A, __m128i __B)
965
+ ;
966
+
967
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
968
+ _mm_avg_epu16 (__m128i __A, __m128i __B)
969
+ ;
970
+
971
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
972
+ _mm_sad_epu8 (__m128i __A, __m128i __B)
973
+ ;
974
+
975
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
976
+ _mm_stream_si32 (int *__A, int __B)
977
+ ;
978
+
979
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
980
+ _mm_stream_si128 (__m128i *__A, __m128i __B)
981
+ ;
982
+
983
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
984
+ _mm_stream_pd (double *__A, __m128d __B)
985
+ ;
986
+
987
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
988
+ _mm_clflush (void const *__A)
989
+ ;
990
+
991
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
992
+ _mm_lfence (void)
993
+ ;
994
+
995
+ extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__))
996
+ _mm_mfence (void)
997
+ ;
998
+
999
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1000
+ _mm_cvtsi32_si128 (int __A)
1001
+ ;
1002
+
1003
+ #ifdef __x86_64__
1004
+ /* Intel intrinsic. */
1005
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1006
+ _mm_cvtsi64_si128 (long long __A)
1007
+ ;
1008
+
1009
+ /* Microsoft intrinsic. */
1010
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1011
+ _mm_cvtsi64x_si128 (long long __A)
1012
+ ;
1013
+ #endif
1014
+
1015
+ /* Casts between various SP, DP, INT vector types. Note that these do no
1016
+ conversion of values, they just change the type. */
1017
+ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1018
+ _mm_castpd_ps(__m128d __A)
1019
+ ;
1020
+
1021
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1022
+ _mm_castpd_si128(__m128d __A)
1023
+ ;
1024
+
1025
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1026
+ _mm_castps_pd(__m128 __A)
1027
+ ;
1028
+
1029
+ extern __inline __m128i __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1030
+ _mm_castps_si128(__m128 __A)
1031
+ ;
1032
+
1033
+ extern __inline __m128 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1034
+ _mm_castsi128_ps(__m128i __A)
1035
+ ;
1036
+
1037
+ extern __inline __m128d __attribute__((__gnu_inline__, __always_inline__, __artificial__))
1038
+ _mm_castsi128_pd(__m128i __A)
1039
+ ;
1040
+
1041
+ #endif /* __SSE2__ */
1042
+
1043
+ #endif /* _EMMINTRIN_H_INCLUDED */