Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

240 linhas
10KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Copyright (C) 1988-2020 Free Software Foundation, Inc.
  4. Permission is granted to copy, distribute and/or modify this document
  5. under the terms of the GNU Free Documentation License, Version 1.3 or
  6. any later version published by the Free Software Foundation; with the
  7. Invariant Sections being "Funding Free Software", the Front-Cover
  8. Texts being (a) (see below), and with the Back-Cover Texts being (b)
  9. (see below). A copy of the license is included in the section entitled
  10. "GNU Free Documentation License".
  11. (a) The FSF's Front-Cover Text is:
  12. A GNU Manual
  13. (b) The FSF's Back-Cover Text is:
  14. You have freedom to copy and modify this GNU Manual, like GNU
  15. software. Copies published by the Free Software Foundation raise
  16. funds for GNU development. -->
  17. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  20. <title>ARM iWMMXt Built-in Functions (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="ARM iWMMXt Built-in Functions (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="ARM iWMMXt Built-in Functions (Using the GNU Compiler Collection (GCC))">
  23. <meta name="resource-type" content="document">
  24. <meta name="distribution" content="global">
  25. <meta name="Generator" content="makeinfo">
  26. <link href="index.html#Top" rel="start" title="Top">
  27. <link href="Option-Index.html#Option-Index" rel="index" title="Option Index">
  28. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  29. <link href="Target-Builtins.html#Target-Builtins" rel="up" title="Target Builtins">
  30. <link href="ARM-C-Language-Extensions-_0028ACLE_0029.html#ARM-C-Language-Extensions-_0028ACLE_0029" rel="next" title="ARM C Language Extensions (ACLE)">
  31. <link href="ARC-SIMD-Built_002din-Functions.html#ARC-SIMD-Built_002din-Functions" rel="prev" title="ARC SIMD Built-in Functions">
  32. <style type="text/css">
  33. <!--
  34. a.summary-letter {text-decoration: none}
  35. blockquote.indentedblock {margin-right: 0em}
  36. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  37. blockquote.smallquotation {font-size: smaller}
  38. div.display {margin-left: 3.2em}
  39. div.example {margin-left: 3.2em}
  40. div.lisp {margin-left: 3.2em}
  41. div.smalldisplay {margin-left: 3.2em}
  42. div.smallexample {margin-left: 3.2em}
  43. div.smalllisp {margin-left: 3.2em}
  44. kbd {font-style: oblique}
  45. pre.display {font-family: inherit}
  46. pre.format {font-family: inherit}
  47. pre.menu-comment {font-family: serif}
  48. pre.menu-preformatted {font-family: serif}
  49. pre.smalldisplay {font-family: inherit; font-size: smaller}
  50. pre.smallexample {font-size: smaller}
  51. pre.smallformat {font-family: inherit; font-size: smaller}
  52. pre.smalllisp {font-size: smaller}
  53. span.nolinebreak {white-space: nowrap}
  54. span.roman {font-family: initial; font-weight: normal}
  55. span.sansserif {font-family: sans-serif; font-weight: normal}
  56. ul.no-bullet {list-style: none}
  57. -->
  58. </style>
  59. </head>
  60. <body lang="en">
  61. <a name="ARM-iWMMXt-Built_002din-Functions"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="ARM-C-Language-Extensions-_0028ACLE_0029.html#ARM-C-Language-Extensions-_0028ACLE_0029" accesskey="n" rel="next">ARM C Language Extensions (ACLE)</a>, Previous: <a href="ARC-SIMD-Built_002din-Functions.html#ARC-SIMD-Built_002din-Functions" accesskey="p" rel="prev">ARC SIMD Built-in Functions</a>, Up: <a href="Target-Builtins.html#Target-Builtins" accesskey="u" rel="up">Target Builtins</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  65. </div>
  66. <hr>
  67. <a name="ARM-iWMMXt-Built_002din-Functions-1"></a>
  68. <h4 class="subsection">6.60.6 ARM iWMMXt Built-in Functions</h4>
  69. <p>These built-in functions are available for the ARM family of
  70. processors when the <samp>-mcpu=iwmmxt</samp> switch is used:
  71. </p>
  72. <div class="smallexample">
  73. <pre class="smallexample">typedef int v2si __attribute__ ((vector_size (8)));
  74. typedef short v4hi __attribute__ ((vector_size (8)));
  75. typedef char v8qi __attribute__ ((vector_size (8)));
  76. int __builtin_arm_getwcgr0 (void)
  77. void __builtin_arm_setwcgr0 (int)
  78. int __builtin_arm_getwcgr1 (void)
  79. void __builtin_arm_setwcgr1 (int)
  80. int __builtin_arm_getwcgr2 (void)
  81. void __builtin_arm_setwcgr2 (int)
  82. int __builtin_arm_getwcgr3 (void)
  83. void __builtin_arm_setwcgr3 (int)
  84. int __builtin_arm_textrmsb (v8qi, int)
  85. int __builtin_arm_textrmsh (v4hi, int)
  86. int __builtin_arm_textrmsw (v2si, int)
  87. int __builtin_arm_textrmub (v8qi, int)
  88. int __builtin_arm_textrmuh (v4hi, int)
  89. int __builtin_arm_textrmuw (v2si, int)
  90. v8qi __builtin_arm_tinsrb (v8qi, int, int)
  91. v4hi __builtin_arm_tinsrh (v4hi, int, int)
  92. v2si __builtin_arm_tinsrw (v2si, int, int)
  93. long long __builtin_arm_tmia (long long, int, int)
  94. long long __builtin_arm_tmiabb (long long, int, int)
  95. long long __builtin_arm_tmiabt (long long, int, int)
  96. long long __builtin_arm_tmiaph (long long, int, int)
  97. long long __builtin_arm_tmiatb (long long, int, int)
  98. long long __builtin_arm_tmiatt (long long, int, int)
  99. int __builtin_arm_tmovmskb (v8qi)
  100. int __builtin_arm_tmovmskh (v4hi)
  101. int __builtin_arm_tmovmskw (v2si)
  102. long long __builtin_arm_waccb (v8qi)
  103. long long __builtin_arm_wacch (v4hi)
  104. long long __builtin_arm_waccw (v2si)
  105. v8qi __builtin_arm_waddb (v8qi, v8qi)
  106. v8qi __builtin_arm_waddbss (v8qi, v8qi)
  107. v8qi __builtin_arm_waddbus (v8qi, v8qi)
  108. v4hi __builtin_arm_waddh (v4hi, v4hi)
  109. v4hi __builtin_arm_waddhss (v4hi, v4hi)
  110. v4hi __builtin_arm_waddhus (v4hi, v4hi)
  111. v2si __builtin_arm_waddw (v2si, v2si)
  112. v2si __builtin_arm_waddwss (v2si, v2si)
  113. v2si __builtin_arm_waddwus (v2si, v2si)
  114. v8qi __builtin_arm_walign (v8qi, v8qi, int)
  115. long long __builtin_arm_wand(long long, long long)
  116. long long __builtin_arm_wandn (long long, long long)
  117. v8qi __builtin_arm_wavg2b (v8qi, v8qi)
  118. v8qi __builtin_arm_wavg2br (v8qi, v8qi)
  119. v4hi __builtin_arm_wavg2h (v4hi, v4hi)
  120. v4hi __builtin_arm_wavg2hr (v4hi, v4hi)
  121. v8qi __builtin_arm_wcmpeqb (v8qi, v8qi)
  122. v4hi __builtin_arm_wcmpeqh (v4hi, v4hi)
  123. v2si __builtin_arm_wcmpeqw (v2si, v2si)
  124. v8qi __builtin_arm_wcmpgtsb (v8qi, v8qi)
  125. v4hi __builtin_arm_wcmpgtsh (v4hi, v4hi)
  126. v2si __builtin_arm_wcmpgtsw (v2si, v2si)
  127. v8qi __builtin_arm_wcmpgtub (v8qi, v8qi)
  128. v4hi __builtin_arm_wcmpgtuh (v4hi, v4hi)
  129. v2si __builtin_arm_wcmpgtuw (v2si, v2si)
  130. long long __builtin_arm_wmacs (long long, v4hi, v4hi)
  131. long long __builtin_arm_wmacsz (v4hi, v4hi)
  132. long long __builtin_arm_wmacu (long long, v4hi, v4hi)
  133. long long __builtin_arm_wmacuz (v4hi, v4hi)
  134. v4hi __builtin_arm_wmadds (v4hi, v4hi)
  135. v4hi __builtin_arm_wmaddu (v4hi, v4hi)
  136. v8qi __builtin_arm_wmaxsb (v8qi, v8qi)
  137. v4hi __builtin_arm_wmaxsh (v4hi, v4hi)
  138. v2si __builtin_arm_wmaxsw (v2si, v2si)
  139. v8qi __builtin_arm_wmaxub (v8qi, v8qi)
  140. v4hi __builtin_arm_wmaxuh (v4hi, v4hi)
  141. v2si __builtin_arm_wmaxuw (v2si, v2si)
  142. v8qi __builtin_arm_wminsb (v8qi, v8qi)
  143. v4hi __builtin_arm_wminsh (v4hi, v4hi)
  144. v2si __builtin_arm_wminsw (v2si, v2si)
  145. v8qi __builtin_arm_wminub (v8qi, v8qi)
  146. v4hi __builtin_arm_wminuh (v4hi, v4hi)
  147. v2si __builtin_arm_wminuw (v2si, v2si)
  148. v4hi __builtin_arm_wmulsm (v4hi, v4hi)
  149. v4hi __builtin_arm_wmulul (v4hi, v4hi)
  150. v4hi __builtin_arm_wmulum (v4hi, v4hi)
  151. long long __builtin_arm_wor (long long, long long)
  152. v2si __builtin_arm_wpackdss (long long, long long)
  153. v2si __builtin_arm_wpackdus (long long, long long)
  154. v8qi __builtin_arm_wpackhss (v4hi, v4hi)
  155. v8qi __builtin_arm_wpackhus (v4hi, v4hi)
  156. v4hi __builtin_arm_wpackwss (v2si, v2si)
  157. v4hi __builtin_arm_wpackwus (v2si, v2si)
  158. long long __builtin_arm_wrord (long long, long long)
  159. long long __builtin_arm_wrordi (long long, int)
  160. v4hi __builtin_arm_wrorh (v4hi, long long)
  161. v4hi __builtin_arm_wrorhi (v4hi, int)
  162. v2si __builtin_arm_wrorw (v2si, long long)
  163. v2si __builtin_arm_wrorwi (v2si, int)
  164. v2si __builtin_arm_wsadb (v2si, v8qi, v8qi)
  165. v2si __builtin_arm_wsadbz (v8qi, v8qi)
  166. v2si __builtin_arm_wsadh (v2si, v4hi, v4hi)
  167. v2si __builtin_arm_wsadhz (v4hi, v4hi)
  168. v4hi __builtin_arm_wshufh (v4hi, int)
  169. long long __builtin_arm_wslld (long long, long long)
  170. long long __builtin_arm_wslldi (long long, int)
  171. v4hi __builtin_arm_wsllh (v4hi, long long)
  172. v4hi __builtin_arm_wsllhi (v4hi, int)
  173. v2si __builtin_arm_wsllw (v2si, long long)
  174. v2si __builtin_arm_wsllwi (v2si, int)
  175. long long __builtin_arm_wsrad (long long, long long)
  176. long long __builtin_arm_wsradi (long long, int)
  177. v4hi __builtin_arm_wsrah (v4hi, long long)
  178. v4hi __builtin_arm_wsrahi (v4hi, int)
  179. v2si __builtin_arm_wsraw (v2si, long long)
  180. v2si __builtin_arm_wsrawi (v2si, int)
  181. long long __builtin_arm_wsrld (long long, long long)
  182. long long __builtin_arm_wsrldi (long long, int)
  183. v4hi __builtin_arm_wsrlh (v4hi, long long)
  184. v4hi __builtin_arm_wsrlhi (v4hi, int)
  185. v2si __builtin_arm_wsrlw (v2si, long long)
  186. v2si __builtin_arm_wsrlwi (v2si, int)
  187. v8qi __builtin_arm_wsubb (v8qi, v8qi)
  188. v8qi __builtin_arm_wsubbss (v8qi, v8qi)
  189. v8qi __builtin_arm_wsubbus (v8qi, v8qi)
  190. v4hi __builtin_arm_wsubh (v4hi, v4hi)
  191. v4hi __builtin_arm_wsubhss (v4hi, v4hi)
  192. v4hi __builtin_arm_wsubhus (v4hi, v4hi)
  193. v2si __builtin_arm_wsubw (v2si, v2si)
  194. v2si __builtin_arm_wsubwss (v2si, v2si)
  195. v2si __builtin_arm_wsubwus (v2si, v2si)
  196. v4hi __builtin_arm_wunpckehsb (v8qi)
  197. v2si __builtin_arm_wunpckehsh (v4hi)
  198. long long __builtin_arm_wunpckehsw (v2si)
  199. v4hi __builtin_arm_wunpckehub (v8qi)
  200. v2si __builtin_arm_wunpckehuh (v4hi)
  201. long long __builtin_arm_wunpckehuw (v2si)
  202. v4hi __builtin_arm_wunpckelsb (v8qi)
  203. v2si __builtin_arm_wunpckelsh (v4hi)
  204. long long __builtin_arm_wunpckelsw (v2si)
  205. v4hi __builtin_arm_wunpckelub (v8qi)
  206. v2si __builtin_arm_wunpckeluh (v4hi)
  207. long long __builtin_arm_wunpckeluw (v2si)
  208. v8qi __builtin_arm_wunpckihb (v8qi, v8qi)
  209. v4hi __builtin_arm_wunpckihh (v4hi, v4hi)
  210. v2si __builtin_arm_wunpckihw (v2si, v2si)
  211. v8qi __builtin_arm_wunpckilb (v8qi, v8qi)
  212. v4hi __builtin_arm_wunpckilh (v4hi, v4hi)
  213. v2si __builtin_arm_wunpckilw (v2si, v2si)
  214. long long __builtin_arm_wxor (long long, long long)
  215. long long __builtin_arm_wzero ()
  216. </pre></div>
  217. <hr>
  218. <div class="header">
  219. <p>
  220. Next: <a href="ARM-C-Language-Extensions-_0028ACLE_0029.html#ARM-C-Language-Extensions-_0028ACLE_0029" accesskey="n" rel="next">ARM C Language Extensions (ACLE)</a>, Previous: <a href="ARC-SIMD-Built_002din-Functions.html#ARC-SIMD-Built_002din-Functions" accesskey="p" rel="prev">ARC SIMD Built-in Functions</a>, Up: <a href="Target-Builtins.html#Target-Builtins" accesskey="u" rel="up">Target Builtins</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Option-Index.html#Option-Index" title="Index" rel="index">Index</a>]</p>
  221. </div>
  222. </body>
  223. </html>