xcodebuild-helper 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) hide show
  1. checksums.yaml +4 -4
  2. metadata +4 -220
  3. data/.codeclimate.yml +0 -20
  4. data/.gitignore +0 -1
  5. data/.rspec +0 -2
  6. data/.travis.yml +0 -7
  7. data/Gemfile +0 -6
  8. data/Gemfile.lock +0 -114
  9. data/Guardfile +0 -18
  10. data/README.md +0 -7
  11. data/Rakefile +0 -7
  12. data/assets/style.css +0 -110
  13. data/bin/oclint +0 -5
  14. data/bin/oclint-0.8 +0 -5
  15. data/bin/oclint-json-compilation-database +0 -5
  16. data/bin/oclint-xcodebuild +0 -5
  17. data/externals/oclint/LICENSE +0 -69
  18. data/externals/oclint/bin/oclint +0 -0
  19. data/externals/oclint/bin/oclint-0.10.2 +0 -0
  20. data/externals/oclint/bin/oclint-json-compilation-database +0 -88
  21. data/externals/oclint/bin/oclint-xcodebuild +0 -218
  22. data/externals/oclint/lib/clang/3.7.0/asan_blacklist.txt +0 -13
  23. data/externals/oclint/lib/clang/3.7.0/include/Intrin.h +0 -958
  24. data/externals/oclint/lib/clang/3.7.0/include/__stddef_max_align_t.h +0 -43
  25. data/externals/oclint/lib/clang/3.7.0/include/__wmmintrin_aes.h +0 -72
  26. data/externals/oclint/lib/clang/3.7.0/include/__wmmintrin_pclmul.h +0 -34
  27. data/externals/oclint/lib/clang/3.7.0/include/adxintrin.h +0 -88
  28. data/externals/oclint/lib/clang/3.7.0/include/altivec.h +0 -13528
  29. data/externals/oclint/lib/clang/3.7.0/include/ammintrin.h +0 -215
  30. data/externals/oclint/lib/clang/3.7.0/include/arm_acle.h +0 -304
  31. data/externals/oclint/lib/clang/3.7.0/include/arm_neon.h +0 -68419
  32. data/externals/oclint/lib/clang/3.7.0/include/avx2intrin.h +0 -1256
  33. data/externals/oclint/lib/clang/3.7.0/include/avx512bwintrin.h +0 -1250
  34. data/externals/oclint/lib/clang/3.7.0/include/avx512cdintrin.h +0 -131
  35. data/externals/oclint/lib/clang/3.7.0/include/avx512dqintrin.h +0 -242
  36. data/externals/oclint/lib/clang/3.7.0/include/avx512erintrin.h +0 -285
  37. data/externals/oclint/lib/clang/3.7.0/include/avx512fintrin.h +0 -2457
  38. data/externals/oclint/lib/clang/3.7.0/include/avx512vlbwintrin.h +0 -1907
  39. data/externals/oclint/lib/clang/3.7.0/include/avx512vldqintrin.h +0 -353
  40. data/externals/oclint/lib/clang/3.7.0/include/avx512vlintrin.h +0 -1982
  41. data/externals/oclint/lib/clang/3.7.0/include/avxintrin.h +0 -1308
  42. data/externals/oclint/lib/clang/3.7.0/include/bmi2intrin.h +0 -99
  43. data/externals/oclint/lib/clang/3.7.0/include/bmiintrin.h +0 -153
  44. data/externals/oclint/lib/clang/3.7.0/include/cpuid.h +0 -209
  45. data/externals/oclint/lib/clang/3.7.0/include/cuda_builtin_vars.h +0 -110
  46. data/externals/oclint/lib/clang/3.7.0/include/emmintrin.h +0 -1480
  47. data/externals/oclint/lib/clang/3.7.0/include/f16cintrin.h +0 -63
  48. data/externals/oclint/lib/clang/3.7.0/include/float.h +0 -124
  49. data/externals/oclint/lib/clang/3.7.0/include/fma4intrin.h +0 -236
  50. data/externals/oclint/lib/clang/3.7.0/include/fmaintrin.h +0 -234
  51. data/externals/oclint/lib/clang/3.7.0/include/fxsrintrin.h +0 -55
  52. data/externals/oclint/lib/clang/3.7.0/include/htmintrin.h +0 -226
  53. data/externals/oclint/lib/clang/3.7.0/include/htmxlintrin.h +0 -363
  54. data/externals/oclint/lib/clang/3.7.0/include/ia32intrin.h +0 -101
  55. data/externals/oclint/lib/clang/3.7.0/include/immintrin.h +0 -203
  56. data/externals/oclint/lib/clang/3.7.0/include/inttypes.h +0 -102
  57. data/externals/oclint/lib/clang/3.7.0/include/iso646.h +0 -43
  58. data/externals/oclint/lib/clang/3.7.0/include/limits.h +0 -118
  59. data/externals/oclint/lib/clang/3.7.0/include/lzcntintrin.h +0 -72
  60. data/externals/oclint/lib/clang/3.7.0/include/mm3dnow.h +0 -167
  61. data/externals/oclint/lib/clang/3.7.0/include/mm_malloc.h +0 -75
  62. data/externals/oclint/lib/clang/3.7.0/include/mmintrin.h +0 -507
  63. data/externals/oclint/lib/clang/3.7.0/include/module.modulemap +0 -196
  64. data/externals/oclint/lib/clang/3.7.0/include/nmmintrin.h +0 -35
  65. data/externals/oclint/lib/clang/3.7.0/include/pmmintrin.h +0 -122
  66. data/externals/oclint/lib/clang/3.7.0/include/popcntintrin.h +0 -50
  67. data/externals/oclint/lib/clang/3.7.0/include/prfchwintrin.h +0 -39
  68. data/externals/oclint/lib/clang/3.7.0/include/rdseedintrin.h +0 -59
  69. data/externals/oclint/lib/clang/3.7.0/include/rtmintrin.h +0 -59
  70. data/externals/oclint/lib/clang/3.7.0/include/s390intrin.h +0 -39
  71. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/allocator_interface.h +0 -66
  72. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/asan_interface.h +0 -155
  73. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/common_interface_defs.h +0 -118
  74. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/coverage_interface.h +0 -63
  75. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/dfsan_interface.h +0 -114
  76. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/linux_syscall_hooks.h +0 -3070
  77. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/lsan_interface.h +0 -84
  78. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/msan_interface.h +0 -107
  79. data/externals/oclint/lib/clang/3.7.0/include/sanitizer/tsan_interface_atomic.h +0 -222
  80. data/externals/oclint/lib/clang/3.7.0/include/shaintrin.h +0 -79
  81. data/externals/oclint/lib/clang/3.7.0/include/smmintrin.h +0 -487
  82. data/externals/oclint/lib/clang/3.7.0/include/stdalign.h +0 -35
  83. data/externals/oclint/lib/clang/3.7.0/include/stdarg.h +0 -52
  84. data/externals/oclint/lib/clang/3.7.0/include/stdatomic.h +0 -190
  85. data/externals/oclint/lib/clang/3.7.0/include/stdbool.h +0 -44
  86. data/externals/oclint/lib/clang/3.7.0/include/stddef.h +0 -137
  87. data/externals/oclint/lib/clang/3.7.0/include/stdint.h +0 -707
  88. data/externals/oclint/lib/clang/3.7.0/include/stdnoreturn.h +0 -30
  89. data/externals/oclint/lib/clang/3.7.0/include/tbmintrin.h +0 -154
  90. data/externals/oclint/lib/clang/3.7.0/include/tgmath.h +0 -1374
  91. data/externals/oclint/lib/clang/3.7.0/include/tmmintrin.h +0 -230
  92. data/externals/oclint/lib/clang/3.7.0/include/unwind.h +0 -282
  93. data/externals/oclint/lib/clang/3.7.0/include/vadefs.h +0 -65
  94. data/externals/oclint/lib/clang/3.7.0/include/varargs.h +0 -26
  95. data/externals/oclint/lib/clang/3.7.0/include/vecintrin.h +0 -8946
  96. data/externals/oclint/lib/clang/3.7.0/include/wmmintrin.h +0 -42
  97. data/externals/oclint/lib/clang/3.7.0/include/x86intrin.h +0 -81
  98. data/externals/oclint/lib/clang/3.7.0/include/xmmintrin.h +0 -1008
  99. data/externals/oclint/lib/clang/3.7.0/include/xopintrin.h +0 -809
  100. data/externals/oclint/lib/clang/3.7.0/include/xtestintrin.h +0 -41
  101. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.asan_iossim_dynamic.dylib +0 -0
  102. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.asan_osx_dynamic.dylib +0 -0
  103. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.builtins-i386.a +0 -0
  104. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.builtins-x86_64.a +0 -0
  105. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.profile_osx.a +0 -0
  106. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.safestack_osx.a +0 -0
  107. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.ubsan_iossim_dynamic.dylib +0 -0
  108. data/externals/oclint/lib/clang/3.7.0/lib/darwin/libclang_rt.ubsan_osx_dynamic.dylib +0 -0
  109. data/externals/oclint/lib/oclint/reporters/libHTMLReporter.dylib +0 -0
  110. data/externals/oclint/lib/oclint/reporters/libJSONReporter.dylib +0 -0
  111. data/externals/oclint/lib/oclint/reporters/libPMDReporter.dylib +0 -0
  112. data/externals/oclint/lib/oclint/reporters/libTextReporter.dylib +0 -0
  113. data/externals/oclint/lib/oclint/reporters/libXMLReporter.dylib +0 -0
  114. data/externals/oclint/lib/oclint/reporters/libXcodeReporter.dylib +0 -0
  115. data/externals/oclint/lib/oclint/rules/libAvoidBranchingStatementAsLastInLoopRule.dylib +0 -0
  116. data/externals/oclint/lib/oclint/rules/libAvoidDefaultArgumentsOnVirtualMethodsRule.dylib +0 -0
  117. data/externals/oclint/lib/oclint/rules/libAvoidPrivateStaticMembersRule.dylib +0 -0
  118. data/externals/oclint/lib/oclint/rules/libBaseClassDestructorShouldBeVirtualOrProtectedRule.dylib +0 -0
  119. data/externals/oclint/lib/oclint/rules/libBitwiseOperatorInConditionalRule.dylib +0 -0
  120. data/externals/oclint/lib/oclint/rules/libBrokenNullCheckRule.dylib +0 -0
  121. data/externals/oclint/lib/oclint/rules/libBrokenOddnessCheckRule.dylib +0 -0
  122. data/externals/oclint/lib/oclint/rules/libCollapsibleIfStatementsRule.dylib +0 -0
  123. data/externals/oclint/lib/oclint/rules/libConstantConditionalOperatorRule.dylib +0 -0
  124. data/externals/oclint/lib/oclint/rules/libConstantIfExpressionRule.dylib +0 -0
  125. data/externals/oclint/lib/oclint/rules/libCoveredSwitchStatementsDontNeedDefaultRule.dylib +0 -0
  126. data/externals/oclint/lib/oclint/rules/libCyclomaticComplexityRule.dylib +0 -0
  127. data/externals/oclint/lib/oclint/rules/libDeadCodeRule.dylib +0 -0
  128. data/externals/oclint/lib/oclint/rules/libDefaultLabelNotLastInSwitchStatementRule.dylib +0 -0
  129. data/externals/oclint/lib/oclint/rules/libDestructorOfVirtualClassRule.dylib +0 -0
  130. data/externals/oclint/lib/oclint/rules/libDoubleNegativeRule.dylib +0 -0
  131. data/externals/oclint/lib/oclint/rules/libEmptyCatchStatementRule.dylib +0 -0
  132. data/externals/oclint/lib/oclint/rules/libEmptyDoWhileStatementRule.dylib +0 -0
  133. data/externals/oclint/lib/oclint/rules/libEmptyElseBlockRule.dylib +0 -0
  134. data/externals/oclint/lib/oclint/rules/libEmptyFinallyStatementRule.dylib +0 -0
  135. data/externals/oclint/lib/oclint/rules/libEmptyForStatementRule.dylib +0 -0
  136. data/externals/oclint/lib/oclint/rules/libEmptyIfStatementRule.dylib +0 -0
  137. data/externals/oclint/lib/oclint/rules/libEmptySwitchStatementRule.dylib +0 -0
  138. data/externals/oclint/lib/oclint/rules/libEmptyTryStatementRule.dylib +0 -0
  139. data/externals/oclint/lib/oclint/rules/libEmptyWhileStatementRule.dylib +0 -0
  140. data/externals/oclint/lib/oclint/rules/libForLoopShouldBeWhileLoopRule.dylib +0 -0
  141. data/externals/oclint/lib/oclint/rules/libGotoStatementRule.dylib +0 -0
  142. data/externals/oclint/lib/oclint/rules/libInvertedLogicRule.dylib +0 -0
  143. data/externals/oclint/lib/oclint/rules/libJumbledIncrementerRule.dylib +0 -0
  144. data/externals/oclint/lib/oclint/rules/libLongClassRule.dylib +0 -0
  145. data/externals/oclint/lib/oclint/rules/libLongLineRule.dylib +0 -0
  146. data/externals/oclint/lib/oclint/rules/libLongMethodRule.dylib +0 -0
  147. data/externals/oclint/lib/oclint/rules/libLongVariableNameRule.dylib +0 -0
  148. data/externals/oclint/lib/oclint/rules/libMisplacedNullCheckRule.dylib +0 -0
  149. data/externals/oclint/lib/oclint/rules/libMissingBreakInSwitchStatementRule.dylib +0 -0
  150. data/externals/oclint/lib/oclint/rules/libMultipleUnaryOperatorRule.dylib +0 -0
  151. data/externals/oclint/lib/oclint/rules/libNPathComplexityRule.dylib +0 -0
  152. data/externals/oclint/lib/oclint/rules/libNcssMethodCountRule.dylib +0 -0
  153. data/externals/oclint/lib/oclint/rules/libNestedBlockDepthRule.dylib +0 -0
  154. data/externals/oclint/lib/oclint/rules/libNonCaseLabelInSwitchStatementRule.dylib +0 -0
  155. data/externals/oclint/lib/oclint/rules/libObjCAssignIvarOutsideAccessorsRule.dylib +0 -0
  156. data/externals/oclint/lib/oclint/rules/libObjCBoxedExpressionsRule.dylib +0 -0
  157. data/externals/oclint/lib/oclint/rules/libObjCContainerLiteralsRule.dylib +0 -0
  158. data/externals/oclint/lib/oclint/rules/libObjCNSNumberLiteralsRule.dylib +0 -0
  159. data/externals/oclint/lib/oclint/rules/libObjCObjectSubscriptingRule.dylib +0 -0
  160. data/externals/oclint/lib/oclint/rules/libObjCVerifyIsEqualHashRule.dylib +0 -0
  161. data/externals/oclint/lib/oclint/rules/libObjCVerifyMustCallSuperRule.dylib +0 -0
  162. data/externals/oclint/lib/oclint/rules/libObjCVerifyProhibitedCallRule.dylib +0 -0
  163. data/externals/oclint/lib/oclint/rules/libObjCVerifyProtectedMethodRule.dylib +0 -0
  164. data/externals/oclint/lib/oclint/rules/libObjCVerifySubclassMustImplementRule.dylib +0 -0
  165. data/externals/oclint/lib/oclint/rules/libParameterReassignmentRule.dylib +0 -0
  166. data/externals/oclint/lib/oclint/rules/libPreferEarlyExitRule.dylib +0 -0
  167. data/externals/oclint/lib/oclint/rules/libRedundantConditionalOperatorRule.dylib +0 -0
  168. data/externals/oclint/lib/oclint/rules/libRedundantIfStatementRule.dylib +0 -0
  169. data/externals/oclint/lib/oclint/rules/libRedundantLocalVariableRule.dylib +0 -0
  170. data/externals/oclint/lib/oclint/rules/libRedundantNilCheckRule.dylib +0 -0
  171. data/externals/oclint/lib/oclint/rules/libReturnFromFinallyBlockRule.dylib +0 -0
  172. data/externals/oclint/lib/oclint/rules/libShortVariableNameRule.dylib +0 -0
  173. data/externals/oclint/lib/oclint/rules/libSwitchStatementsShouldHaveDefaultRule.dylib +0 -0
  174. data/externals/oclint/lib/oclint/rules/libThrowExceptionFromFinallyBlockRule.dylib +0 -0
  175. data/externals/oclint/lib/oclint/rules/libTooFewBranchesInSwitchStatementRule.dylib +0 -0
  176. data/externals/oclint/lib/oclint/rules/libTooManyFieldsRule.dylib +0 -0
  177. data/externals/oclint/lib/oclint/rules/libTooManyMethodsRule.dylib +0 -0
  178. data/externals/oclint/lib/oclint/rules/libTooManyParametersRule.dylib +0 -0
  179. data/externals/oclint/lib/oclint/rules/libUnnecessaryElseStatementRule.dylib +0 -0
  180. data/externals/oclint/lib/oclint/rules/libUnnecessaryNullCheckForCXXDeallocRule.dylib +0 -0
  181. data/externals/oclint/lib/oclint/rules/libUnusedLocalVariableRule.dylib +0 -0
  182. data/externals/oclint/lib/oclint/rules/libUnusedMethodParameterRule.dylib +0 -0
  183. data/externals/oclint/lib/oclint/rules/libUselessParenthesesRule.dylib +0 -0
  184. data/lib/coverage_html_converter.rb +0 -141
  185. data/lib/coverage_plan.rb +0 -27
  186. data/lib/device.rb +0 -27
  187. data/lib/execute.rb +0 -7
  188. data/lib/lint_plan.rb +0 -41
  189. data/lib/rules.rb +0 -23
  190. data/lib/test_plan.rb +0 -11
  191. data/lib/version.rb +0 -3
  192. data/lib/xcode.rb +0 -128
  193. data/lib/xcodebuild-helper.rb +0 -135
  194. data/spec/coverage_html_coverter_spec.rb +0 -55
  195. data/spec/coverage_plan_spec.rb +0 -23
  196. data/spec/device_spec.rb +0 -24
  197. data/spec/lint_plan_spec.rb +0 -35
  198. data/spec/rule_spec.rb +0 -37
  199. data/spec/spec_helper.rb +0 -17
  200. data/spec/test_plan_spec.rb +0 -11
  201. data/spec/xcode_dsl_actions_spec.rb +0 -227
  202. data/spec/xcode_dsl_spec.rb +0 -176
  203. data/spec/xcode_spec.rb +0 -85
  204. data/xcodebuild-helper.gemspec +0 -27
@@ -1,203 +0,0 @@
1
- /*===---- immintrin.h - Intel intrinsics -----------------------------------===
2
- *
3
- * Permission is hereby granted, free of charge, to any person obtaining a copy
4
- * of this software and associated documentation files (the "Software"), to deal
5
- * in the Software without restriction, including without limitation the rights
6
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- * copies of the Software, and to permit persons to whom the Software is
8
- * furnished to do so, subject to the following conditions:
9
- *
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- *
13
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- * THE SOFTWARE.
20
- *
21
- *===-----------------------------------------------------------------------===
22
- */
23
-
24
- #ifndef __IMMINTRIN_H
25
- #define __IMMINTRIN_H
26
-
27
- #ifdef __MMX__
28
- #include <mmintrin.h>
29
- #endif
30
-
31
- #ifdef __SSE__
32
- #include <xmmintrin.h>
33
- #endif
34
-
35
- #ifdef __SSE2__
36
- #include <emmintrin.h>
37
- #endif
38
-
39
- #ifdef __SSE3__
40
- #include <pmmintrin.h>
41
- #endif
42
-
43
- #ifdef __SSSE3__
44
- #include <tmmintrin.h>
45
- #endif
46
-
47
- #if defined (__SSE4_2__) || defined (__SSE4_1__)
48
- #include <smmintrin.h>
49
- #endif
50
-
51
- #if defined (__AES__) || defined (__PCLMUL__)
52
- #include <wmmintrin.h>
53
- #endif
54
-
55
- #ifdef __AVX__
56
- #include <avxintrin.h>
57
- #endif
58
-
59
- #ifdef __AVX2__
60
- #include <avx2intrin.h>
61
- #endif
62
-
63
- #ifdef __BMI__
64
- #include <bmiintrin.h>
65
- #endif
66
-
67
- #ifdef __BMI2__
68
- #include <bmi2intrin.h>
69
- #endif
70
-
71
- #ifdef __LZCNT__
72
- #include <lzcntintrin.h>
73
- #endif
74
-
75
- #ifdef __FMA__
76
- #include <fmaintrin.h>
77
- #endif
78
-
79
- #ifdef __AVX512F__
80
- #include <avx512fintrin.h>
81
- #endif
82
-
83
- #ifdef __AVX512VL__
84
- #include <avx512vlintrin.h>
85
- #endif
86
-
87
- #ifdef __AVX512BW__
88
- #include <avx512bwintrin.h>
89
- #endif
90
-
91
- #ifdef __AVX512CD__
92
- #include <avx512cdintrin.h>
93
- #endif
94
-
95
- #ifdef __AVX512DQ__
96
- #include <avx512dqintrin.h>
97
- #endif
98
-
99
- #if defined (__AVX512VL__) && defined (__AVX512BW__)
100
- #include <avx512vlbwintrin.h>
101
- #endif
102
-
103
- #if defined (__AVX512VL__) && defined (__AVX512DQ__)
104
- #include <avx512vldqintrin.h>
105
- #endif
106
-
107
- #ifdef __AVX512ER__
108
- #include <avx512erintrin.h>
109
- #endif
110
-
111
- #ifdef __RDRND__
112
- static __inline__ int __attribute__((__always_inline__, __nodebug__))
113
- _rdrand16_step(unsigned short *__p)
114
- {
115
- return __builtin_ia32_rdrand16_step(__p);
116
- }
117
-
118
- static __inline__ int __attribute__((__always_inline__, __nodebug__))
119
- _rdrand32_step(unsigned int *__p)
120
- {
121
- return __builtin_ia32_rdrand32_step(__p);
122
- }
123
-
124
- #ifdef __x86_64__
125
- static __inline__ int __attribute__((__always_inline__, __nodebug__))
126
- _rdrand64_step(unsigned long long *__p)
127
- {
128
- return __builtin_ia32_rdrand64_step(__p);
129
- }
130
- #endif
131
- #endif /* __RDRND__ */
132
-
133
- #ifdef __FSGSBASE__
134
- #ifdef __x86_64__
135
- static __inline__ unsigned int __attribute__((__always_inline__, __nodebug__))
136
- _readfsbase_u32(void)
137
- {
138
- return __builtin_ia32_rdfsbase32();
139
- }
140
-
141
- static __inline__ unsigned long long __attribute__((__always_inline__, __nodebug__))
142
- _readfsbase_u64(void)
143
- {
144
- return __builtin_ia32_rdfsbase64();
145
- }
146
-
147
- static __inline__ unsigned int __attribute__((__always_inline__, __nodebug__))
148
- _readgsbase_u32(void)
149
- {
150
- return __builtin_ia32_rdgsbase32();
151
- }
152
-
153
- static __inline__ unsigned long long __attribute__((__always_inline__, __nodebug__))
154
- _readgsbase_u64(void)
155
- {
156
- return __builtin_ia32_rdgsbase64();
157
- }
158
-
159
- static __inline__ void __attribute__((__always_inline__, __nodebug__))
160
- _writefsbase_u32(unsigned int __V)
161
- {
162
- return __builtin_ia32_wrfsbase32(__V);
163
- }
164
-
165
- static __inline__ void __attribute__((__always_inline__, __nodebug__))
166
- _writefsbase_u64(unsigned long long __V)
167
- {
168
- return __builtin_ia32_wrfsbase64(__V);
169
- }
170
-
171
- static __inline__ void __attribute__((__always_inline__, __nodebug__))
172
- _writegsbase_u32(unsigned int __V)
173
- {
174
- return __builtin_ia32_wrgsbase32(__V);
175
- }
176
-
177
- static __inline__ void __attribute__((__always_inline__, __nodebug__))
178
- _writegsbase_u64(unsigned long long __V)
179
- {
180
- return __builtin_ia32_wrgsbase64(__V);
181
- }
182
- #endif
183
- #endif /* __FSGSBASE__ */
184
-
185
- #ifdef __RTM__
186
- #include <rtmintrin.h>
187
- #endif
188
-
189
- #ifdef __RTM__
190
- #include <xtestintrin.h>
191
- #endif
192
-
193
- #ifdef __SHA__
194
- #include <shaintrin.h>
195
- #endif
196
-
197
- #include <fxsrintrin.h>
198
-
199
- /* Some intrinsics inside adxintrin.h are available only on processors with ADX,
200
- * whereas others are also available at all times. */
201
- #include <adxintrin.h>
202
-
203
- #endif /* __IMMINTRIN_H */
@@ -1,102 +0,0 @@
1
- /*===---- inttypes.h - Standard header for integer printf macros ----------===*\
2
- *
3
- * Permission is hereby granted, free of charge, to any person obtaining a copy
4
- * of this software and associated documentation files (the "Software"), to deal
5
- * in the Software without restriction, including without limitation the rights
6
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- * copies of the Software, and to permit persons to whom the Software is
8
- * furnished to do so, subject to the following conditions:
9
- *
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- *
13
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- * THE SOFTWARE.
20
- *
21
- \*===----------------------------------------------------------------------===*/
22
-
23
- #ifndef __CLANG_INTTYPES_H
24
- #define __CLANG_INTTYPES_H
25
-
26
- #include_next <inttypes.h>
27
-
28
- #if defined(_MSC_VER) && _MSC_VER < 1900
29
- /* MSVC headers define int32_t as int, but PRIx32 as "lx" instead of "x".
30
- * This triggers format warnings, so fix it up here. */
31
- #undef PRId32
32
- #undef PRIdLEAST32
33
- #undef PRIdFAST32
34
- #undef PRIi32
35
- #undef PRIiLEAST32
36
- #undef PRIiFAST32
37
- #undef PRIo32
38
- #undef PRIoLEAST32
39
- #undef PRIoFAST32
40
- #undef PRIu32
41
- #undef PRIuLEAST32
42
- #undef PRIuFAST32
43
- #undef PRIx32
44
- #undef PRIxLEAST32
45
- #undef PRIxFAST32
46
- #undef PRIX32
47
- #undef PRIXLEAST32
48
- #undef PRIXFAST32
49
-
50
- #undef SCNd32
51
- #undef SCNdLEAST32
52
- #undef SCNdFAST32
53
- #undef SCNi32
54
- #undef SCNiLEAST32
55
- #undef SCNiFAST32
56
- #undef SCNo32
57
- #undef SCNoLEAST32
58
- #undef SCNoFAST32
59
- #undef SCNu32
60
- #undef SCNuLEAST32
61
- #undef SCNuFAST32
62
- #undef SCNx32
63
- #undef SCNxLEAST32
64
- #undef SCNxFAST32
65
-
66
- #define PRId32 "d"
67
- #define PRIdLEAST32 "d"
68
- #define PRIdFAST32 "d"
69
- #define PRIi32 "i"
70
- #define PRIiLEAST32 "i"
71
- #define PRIiFAST32 "i"
72
- #define PRIo32 "o"
73
- #define PRIoLEAST32 "o"
74
- #define PRIoFAST32 "o"
75
- #define PRIu32 "u"
76
- #define PRIuLEAST32 "u"
77
- #define PRIuFAST32 "u"
78
- #define PRIx32 "x"
79
- #define PRIxLEAST32 "x"
80
- #define PRIxFAST32 "x"
81
- #define PRIX32 "X"
82
- #define PRIXLEAST32 "X"
83
- #define PRIXFAST32 "X"
84
-
85
- #define SCNd32 "d"
86
- #define SCNdLEAST32 "d"
87
- #define SCNdFAST32 "d"
88
- #define SCNi32 "i"
89
- #define SCNiLEAST32 "i"
90
- #define SCNiFAST32 "i"
91
- #define SCNo32 "o"
92
- #define SCNoLEAST32 "o"
93
- #define SCNoFAST32 "o"
94
- #define SCNu32 "u"
95
- #define SCNuLEAST32 "u"
96
- #define SCNuFAST32 "u"
97
- #define SCNx32 "x"
98
- #define SCNxLEAST32 "x"
99
- #define SCNxFAST32 "x"
100
- #endif
101
-
102
- #endif /* __CLANG_INTTYPES_H */
@@ -1,43 +0,0 @@
1
- /*===---- iso646.h - Standard header for alternate spellings of operators---===
2
- *
3
- * Copyright (c) 2008 Eli Friedman
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- *===-----------------------------------------------------------------------===
24
- */
25
-
26
- #ifndef __ISO646_H
27
- #define __ISO646_H
28
-
29
- #ifndef __cplusplus
30
- #define and &&
31
- #define and_eq &=
32
- #define bitand &
33
- #define bitor |
34
- #define compl ~
35
- #define not !
36
- #define not_eq !=
37
- #define or ||
38
- #define or_eq |=
39
- #define xor ^
40
- #define xor_eq ^=
41
- #endif
42
-
43
- #endif /* __ISO646_H */
@@ -1,118 +0,0 @@
1
- /*===---- limits.h - Standard header for integer sizes --------------------===*\
2
- *
3
- * Copyright (c) 2009 Chris Lattner
4
- *
5
- * Permission is hereby granted, free of charge, to any person obtaining a copy
6
- * of this software and associated documentation files (the "Software"), to deal
7
- * in the Software without restriction, including without limitation the rights
8
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- * copies of the Software, and to permit persons to whom the Software is
10
- * furnished to do so, subject to the following conditions:
11
- *
12
- * The above copyright notice and this permission notice shall be included in
13
- * all copies or substantial portions of the Software.
14
- *
15
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- * THE SOFTWARE.
22
- *
23
- \*===----------------------------------------------------------------------===*/
24
-
25
- #ifndef __CLANG_LIMITS_H
26
- #define __CLANG_LIMITS_H
27
-
28
- /* The system's limits.h may, in turn, try to #include_next GCC's limits.h.
29
- Avert this #include_next madness. */
30
- #if defined __GNUC__ && !defined _GCC_LIMITS_H_
31
- #define _GCC_LIMITS_H_
32
- #endif
33
-
34
- /* System headers include a number of constants from POSIX in <limits.h>.
35
- Include it if we're hosted. */
36
- #if __STDC_HOSTED__ && __has_include_next(<limits.h>)
37
- #include_next <limits.h>
38
- #endif
39
-
40
- /* Many system headers try to "help us out" by defining these. No really, we
41
- know how big each datatype is. */
42
- #undef SCHAR_MIN
43
- #undef SCHAR_MAX
44
- #undef UCHAR_MAX
45
- #undef SHRT_MIN
46
- #undef SHRT_MAX
47
- #undef USHRT_MAX
48
- #undef INT_MIN
49
- #undef INT_MAX
50
- #undef UINT_MAX
51
- #undef LONG_MIN
52
- #undef LONG_MAX
53
- #undef ULONG_MAX
54
-
55
- #undef CHAR_BIT
56
- #undef CHAR_MIN
57
- #undef CHAR_MAX
58
-
59
- /* C90/99 5.2.4.2.1 */
60
- #define SCHAR_MAX __SCHAR_MAX__
61
- #define SHRT_MAX __SHRT_MAX__
62
- #define INT_MAX __INT_MAX__
63
- #define LONG_MAX __LONG_MAX__
64
-
65
- #define SCHAR_MIN (-__SCHAR_MAX__-1)
66
- #define SHRT_MIN (-__SHRT_MAX__ -1)
67
- #define INT_MIN (-__INT_MAX__ -1)
68
- #define LONG_MIN (-__LONG_MAX__ -1L)
69
-
70
- #define UCHAR_MAX (__SCHAR_MAX__*2 +1)
71
- #define USHRT_MAX (__SHRT_MAX__ *2 +1)
72
- #define UINT_MAX (__INT_MAX__ *2U +1U)
73
- #define ULONG_MAX (__LONG_MAX__ *2UL+1UL)
74
-
75
- #ifndef MB_LEN_MAX
76
- #define MB_LEN_MAX 1
77
- #endif
78
-
79
- #define CHAR_BIT __CHAR_BIT__
80
-
81
- #ifdef __CHAR_UNSIGNED__ /* -funsigned-char */
82
- #define CHAR_MIN 0
83
- #define CHAR_MAX UCHAR_MAX
84
- #else
85
- #define CHAR_MIN SCHAR_MIN
86
- #define CHAR_MAX __SCHAR_MAX__
87
- #endif
88
-
89
- /* C99 5.2.4.2.1: Added long long.
90
- C++11 18.3.3.2: same contents as the Standard C Library header <limits.h>.
91
- */
92
- #if __STDC_VERSION__ >= 199901L || __cplusplus >= 201103L
93
-
94
- #undef LLONG_MIN
95
- #undef LLONG_MAX
96
- #undef ULLONG_MAX
97
-
98
- #define LLONG_MAX __LONG_LONG_MAX__
99
- #define LLONG_MIN (-__LONG_LONG_MAX__-1LL)
100
- #define ULLONG_MAX (__LONG_LONG_MAX__*2ULL+1ULL)
101
- #endif
102
-
103
- /* LONG_LONG_MIN/LONG_LONG_MAX/ULONG_LONG_MAX are a GNU extension. It's too bad
104
- that we don't have something like #pragma poison that could be used to
105
- deprecate a macro - the code should just use LLONG_MAX and friends.
106
- */
107
- #if defined(__GNU_LIBRARY__) ? defined(__USE_GNU) : !defined(__STRICT_ANSI__)
108
-
109
- #undef LONG_LONG_MIN
110
- #undef LONG_LONG_MAX
111
- #undef ULONG_LONG_MAX
112
-
113
- #define LONG_LONG_MAX __LONG_LONG_MAX__
114
- #define LONG_LONG_MIN (-__LONG_LONG_MAX__-1LL)
115
- #define ULONG_LONG_MAX (__LONG_LONG_MAX__*2ULL+1ULL)
116
- #endif
117
-
118
- #endif /* __CLANG_LIMITS_H */
@@ -1,72 +0,0 @@
1
- /*===---- lzcntintrin.h - LZCNT intrinsics ---------------------------------===
2
- *
3
- * Permission is hereby granted, free of charge, to any person obtaining a copy
4
- * of this software and associated documentation files (the "Software"), to deal
5
- * in the Software without restriction, including without limitation the rights
6
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- * copies of the Software, and to permit persons to whom the Software is
8
- * furnished to do so, subject to the following conditions:
9
- *
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- *
13
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- * THE SOFTWARE.
20
- *
21
- *===-----------------------------------------------------------------------===
22
- */
23
-
24
- #if !defined __X86INTRIN_H && !defined __IMMINTRIN_H
25
- #error "Never use <lzcntintrin.h> directly; include <x86intrin.h> instead."
26
- #endif
27
-
28
- #ifndef __LZCNT__
29
- # error "LZCNT instruction is not enabled"
30
- #endif /* __LZCNT__ */
31
-
32
- #ifndef __LZCNTINTRIN_H
33
- #define __LZCNTINTRIN_H
34
-
35
- /* Define the default attributes for the functions in this file. */
36
- #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__))
37
-
38
- static __inline__ unsigned short __DEFAULT_FN_ATTRS
39
- __lzcnt16(unsigned short __X)
40
- {
41
- return __X ? __builtin_clzs(__X) : 16;
42
- }
43
-
44
- static __inline__ unsigned int __DEFAULT_FN_ATTRS
45
- __lzcnt32(unsigned int __X)
46
- {
47
- return __X ? __builtin_clz(__X) : 32;
48
- }
49
-
50
- static __inline__ unsigned int __DEFAULT_FN_ATTRS
51
- _lzcnt_u32(unsigned int __X)
52
- {
53
- return __X ? __builtin_clz(__X) : 32;
54
- }
55
-
56
- #ifdef __x86_64__
57
- static __inline__ unsigned long long __DEFAULT_FN_ATTRS
58
- __lzcnt64(unsigned long long __X)
59
- {
60
- return __X ? __builtin_clzll(__X) : 64;
61
- }
62
-
63
- static __inline__ unsigned long long __DEFAULT_FN_ATTRS
64
- _lzcnt_u64(unsigned long long __X)
65
- {
66
- return __X ? __builtin_clzll(__X) : 64;
67
- }
68
- #endif
69
-
70
- #undef __DEFAULT_FN_ATTRS
71
-
72
- #endif /* __LZCNTINTRIN_H */
@@ -1,167 +0,0 @@
1
- /*===---- mm3dnow.h - 3DNow! intrinsics ------------------------------------===
2
- *
3
- * Permission is hereby granted, free of charge, to any person obtaining a copy
4
- * of this software and associated documentation files (the "Software"), to deal
5
- * in the Software without restriction, including without limitation the rights
6
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
- * copies of the Software, and to permit persons to whom the Software is
8
- * furnished to do so, subject to the following conditions:
9
- *
10
- * The above copyright notice and this permission notice shall be included in
11
- * all copies or substantial portions of the Software.
12
- *
13
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
- * THE SOFTWARE.
20
- *
21
- *===-----------------------------------------------------------------------===
22
- */
23
-
24
- #ifndef _MM3DNOW_H_INCLUDED
25
- #define _MM3DNOW_H_INCLUDED
26
-
27
- #include <mmintrin.h>
28
- #include <prfchwintrin.h>
29
-
30
- typedef float __v2sf __attribute__((__vector_size__(8)));
31
-
32
- /* Define the default attributes for the functions in this file. */
33
- #define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__))
34
-
35
- static __inline__ void __DEFAULT_FN_ATTRS
36
- _m_femms() {
37
- __builtin_ia32_femms();
38
- }
39
-
40
- static __inline__ __m64 __DEFAULT_FN_ATTRS
41
- _m_pavgusb(__m64 __m1, __m64 __m2) {
42
- return (__m64)__builtin_ia32_pavgusb((__v8qi)__m1, (__v8qi)__m2);
43
- }
44
-
45
- static __inline__ __m64 __DEFAULT_FN_ATTRS
46
- _m_pf2id(__m64 __m) {
47
- return (__m64)__builtin_ia32_pf2id((__v2sf)__m);
48
- }
49
-
50
- static __inline__ __m64 __DEFAULT_FN_ATTRS
51
- _m_pfacc(__m64 __m1, __m64 __m2) {
52
- return (__m64)__builtin_ia32_pfacc((__v2sf)__m1, (__v2sf)__m2);
53
- }
54
-
55
- static __inline__ __m64 __DEFAULT_FN_ATTRS
56
- _m_pfadd(__m64 __m1, __m64 __m2) {
57
- return (__m64)__builtin_ia32_pfadd((__v2sf)__m1, (__v2sf)__m2);
58
- }
59
-
60
- static __inline__ __m64 __DEFAULT_FN_ATTRS
61
- _m_pfcmpeq(__m64 __m1, __m64 __m2) {
62
- return (__m64)__builtin_ia32_pfcmpeq((__v2sf)__m1, (__v2sf)__m2);
63
- }
64
-
65
- static __inline__ __m64 __DEFAULT_FN_ATTRS
66
- _m_pfcmpge(__m64 __m1, __m64 __m2) {
67
- return (__m64)__builtin_ia32_pfcmpge((__v2sf)__m1, (__v2sf)__m2);
68
- }
69
-
70
- static __inline__ __m64 __DEFAULT_FN_ATTRS
71
- _m_pfcmpgt(__m64 __m1, __m64 __m2) {
72
- return (__m64)__builtin_ia32_pfcmpgt((__v2sf)__m1, (__v2sf)__m2);
73
- }
74
-
75
- static __inline__ __m64 __DEFAULT_FN_ATTRS
76
- _m_pfmax(__m64 __m1, __m64 __m2) {
77
- return (__m64)__builtin_ia32_pfmax((__v2sf)__m1, (__v2sf)__m2);
78
- }
79
-
80
- static __inline__ __m64 __DEFAULT_FN_ATTRS
81
- _m_pfmin(__m64 __m1, __m64 __m2) {
82
- return (__m64)__builtin_ia32_pfmin((__v2sf)__m1, (__v2sf)__m2);
83
- }
84
-
85
- static __inline__ __m64 __DEFAULT_FN_ATTRS
86
- _m_pfmul(__m64 __m1, __m64 __m2) {
87
- return (__m64)__builtin_ia32_pfmul((__v2sf)__m1, (__v2sf)__m2);
88
- }
89
-
90
- static __inline__ __m64 __DEFAULT_FN_ATTRS
91
- _m_pfrcp(__m64 __m) {
92
- return (__m64)__builtin_ia32_pfrcp((__v2sf)__m);
93
- }
94
-
95
- static __inline__ __m64 __DEFAULT_FN_ATTRS
96
- _m_pfrcpit1(__m64 __m1, __m64 __m2) {
97
- return (__m64)__builtin_ia32_pfrcpit1((__v2sf)__m1, (__v2sf)__m2);
98
- }
99
-
100
- static __inline__ __m64 __DEFAULT_FN_ATTRS
101
- _m_pfrcpit2(__m64 __m1, __m64 __m2) {
102
- return (__m64)__builtin_ia32_pfrcpit2((__v2sf)__m1, (__v2sf)__m2);
103
- }
104
-
105
- static __inline__ __m64 __DEFAULT_FN_ATTRS
106
- _m_pfrsqrt(__m64 __m) {
107
- return (__m64)__builtin_ia32_pfrsqrt((__v2sf)__m);
108
- }
109
-
110
- static __inline__ __m64 __DEFAULT_FN_ATTRS
111
- _m_pfrsqrtit1(__m64 __m1, __m64 __m2) {
112
- return (__m64)__builtin_ia32_pfrsqit1((__v2sf)__m1, (__v2sf)__m2);
113
- }
114
-
115
- static __inline__ __m64 __DEFAULT_FN_ATTRS
116
- _m_pfsub(__m64 __m1, __m64 __m2) {
117
- return (__m64)__builtin_ia32_pfsub((__v2sf)__m1, (__v2sf)__m2);
118
- }
119
-
120
- static __inline__ __m64 __DEFAULT_FN_ATTRS
121
- _m_pfsubr(__m64 __m1, __m64 __m2) {
122
- return (__m64)__builtin_ia32_pfsubr((__v2sf)__m1, (__v2sf)__m2);
123
- }
124
-
125
- static __inline__ __m64 __DEFAULT_FN_ATTRS
126
- _m_pi2fd(__m64 __m) {
127
- return (__m64)__builtin_ia32_pi2fd((__v2si)__m);
128
- }
129
-
130
- static __inline__ __m64 __DEFAULT_FN_ATTRS
131
- _m_pmulhrw(__m64 __m1, __m64 __m2) {
132
- return (__m64)__builtin_ia32_pmulhrw((__v4hi)__m1, (__v4hi)__m2);
133
- }
134
-
135
- static __inline__ __m64 __DEFAULT_FN_ATTRS
136
- _m_pf2iw(__m64 __m) {
137
- return (__m64)__builtin_ia32_pf2iw((__v2sf)__m);
138
- }
139
-
140
- static __inline__ __m64 __DEFAULT_FN_ATTRS
141
- _m_pfnacc(__m64 __m1, __m64 __m2) {
142
- return (__m64)__builtin_ia32_pfnacc((__v2sf)__m1, (__v2sf)__m2);
143
- }
144
-
145
- static __inline__ __m64 __DEFAULT_FN_ATTRS
146
- _m_pfpnacc(__m64 __m1, __m64 __m2) {
147
- return (__m64)__builtin_ia32_pfpnacc((__v2sf)__m1, (__v2sf)__m2);
148
- }
149
-
150
- static __inline__ __m64 __DEFAULT_FN_ATTRS
151
- _m_pi2fw(__m64 __m) {
152
- return (__m64)__builtin_ia32_pi2fw((__v2si)__m);
153
- }
154
-
155
- static __inline__ __m64 __DEFAULT_FN_ATTRS
156
- _m_pswapdsf(__m64 __m) {
157
- return (__m64)__builtin_ia32_pswapdsf((__v2sf)__m);
158
- }
159
-
160
- static __inline__ __m64 __DEFAULT_FN_ATTRS
161
- _m_pswapdsi(__m64 __m) {
162
- return (__m64)__builtin_ia32_pswapdsi((__v2si)__m);
163
- }
164
-
165
- #undef __DEFAULT_FN_ATTRS
166
-
167
- #endif