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.

168 linhas
7.3KB

  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>Alpha Built-in Functions (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="Alpha Built-in Functions (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="Alpha 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="Altera-Nios-II-Built_002din-Functions.html#Altera-Nios-II-Built_002din-Functions" rel="next" title="Altera Nios II Built-in Functions">
  31. <link href="AArch64-Built_002din-Functions.html#AArch64-Built_002din-Functions" rel="prev" title="AArch64 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="Alpha-Built_002din-Functions"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Altera-Nios-II-Built_002din-Functions.html#Altera-Nios-II-Built_002din-Functions" accesskey="n" rel="next">Altera Nios II Built-in Functions</a>, Previous: <a href="AArch64-Built_002din-Functions.html#AArch64-Built_002din-Functions" accesskey="p" rel="prev">AArch64 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="Alpha-Built_002din-Functions-1"></a>
  68. <h4 class="subsection">6.60.2 Alpha Built-in Functions</h4>
  69. <p>These built-in functions are available for the Alpha family of
  70. processors, depending on the command-line switches used.
  71. </p>
  72. <p>The following built-in functions are always available. They
  73. all generate the machine instruction that is part of the name.
  74. </p>
  75. <div class="smallexample">
  76. <pre class="smallexample">long __builtin_alpha_implver (void)
  77. long __builtin_alpha_rpcc (void)
  78. long __builtin_alpha_amask (long)
  79. long __builtin_alpha_cmpbge (long, long)
  80. long __builtin_alpha_extbl (long, long)
  81. long __builtin_alpha_extwl (long, long)
  82. long __builtin_alpha_extll (long, long)
  83. long __builtin_alpha_extql (long, long)
  84. long __builtin_alpha_extwh (long, long)
  85. long __builtin_alpha_extlh (long, long)
  86. long __builtin_alpha_extqh (long, long)
  87. long __builtin_alpha_insbl (long, long)
  88. long __builtin_alpha_inswl (long, long)
  89. long __builtin_alpha_insll (long, long)
  90. long __builtin_alpha_insql (long, long)
  91. long __builtin_alpha_inswh (long, long)
  92. long __builtin_alpha_inslh (long, long)
  93. long __builtin_alpha_insqh (long, long)
  94. long __builtin_alpha_mskbl (long, long)
  95. long __builtin_alpha_mskwl (long, long)
  96. long __builtin_alpha_mskll (long, long)
  97. long __builtin_alpha_mskql (long, long)
  98. long __builtin_alpha_mskwh (long, long)
  99. long __builtin_alpha_msklh (long, long)
  100. long __builtin_alpha_mskqh (long, long)
  101. long __builtin_alpha_umulh (long, long)
  102. long __builtin_alpha_zap (long, long)
  103. long __builtin_alpha_zapnot (long, long)
  104. </pre></div>
  105. <p>The following built-in functions are always with <samp>-mmax</samp>
  106. or <samp>-mcpu=<var>cpu</var></samp> where <var>cpu</var> is <code>pca56</code> or
  107. later. They all generate the machine instruction that is part
  108. of the name.
  109. </p>
  110. <div class="smallexample">
  111. <pre class="smallexample">long __builtin_alpha_pklb (long)
  112. long __builtin_alpha_pkwb (long)
  113. long __builtin_alpha_unpkbl (long)
  114. long __builtin_alpha_unpkbw (long)
  115. long __builtin_alpha_minub8 (long, long)
  116. long __builtin_alpha_minsb8 (long, long)
  117. long __builtin_alpha_minuw4 (long, long)
  118. long __builtin_alpha_minsw4 (long, long)
  119. long __builtin_alpha_maxub8 (long, long)
  120. long __builtin_alpha_maxsb8 (long, long)
  121. long __builtin_alpha_maxuw4 (long, long)
  122. long __builtin_alpha_maxsw4 (long, long)
  123. long __builtin_alpha_perr (long, long)
  124. </pre></div>
  125. <p>The following built-in functions are always with <samp>-mcix</samp>
  126. or <samp>-mcpu=<var>cpu</var></samp> where <var>cpu</var> is <code>ev67</code> or
  127. later. They all generate the machine instruction that is part
  128. of the name.
  129. </p>
  130. <div class="smallexample">
  131. <pre class="smallexample">long __builtin_alpha_cttz (long)
  132. long __builtin_alpha_ctlz (long)
  133. long __builtin_alpha_ctpop (long)
  134. </pre></div>
  135. <p>The following built-in functions are available on systems that use the OSF/1
  136. PALcode. Normally they invoke the <code>rduniq</code> and <code>wruniq</code>
  137. PAL calls, but when invoked with <samp>-mtls-kernel</samp>, they invoke
  138. <code>rdval</code> and <code>wrval</code>.
  139. </p>
  140. <div class="smallexample">
  141. <pre class="smallexample">void *__builtin_thread_pointer (void)
  142. void __builtin_set_thread_pointer (void *)
  143. </pre></div>
  144. <hr>
  145. <div class="header">
  146. <p>
  147. Next: <a href="Altera-Nios-II-Built_002din-Functions.html#Altera-Nios-II-Built_002din-Functions" accesskey="n" rel="next">Altera Nios II Built-in Functions</a>, Previous: <a href="AArch64-Built_002din-Functions.html#AArch64-Built_002din-Functions" accesskey="p" rel="prev">AArch64 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>
  148. </div>
  149. </body>
  150. </html>