You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Target-Builtins.html 13KB

3 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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>Target Builtins (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="Target Builtins (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="Target Builtins (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="C-Extensions.html#C-Extensions" rel="up" title="C Extensions">
  30. <link href="AArch64-Built_002din-Functions.html#AArch64-Built_002din-Functions" rel="next" title="AArch64 Built-in Functions">
  31. <link href="Other-Builtins.html#Other-Builtins" rel="prev" title="Other Builtins">
  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="Target-Builtins"></a>
  62. <div class="header">
  63. <p>
  64. Next: <a href="Target-Format-Checks.html#Target-Format-Checks" accesskey="n" rel="next">Target Format Checks</a>, Previous: <a href="Other-Builtins.html#Other-Builtins" accesskey="p" rel="prev">Other Builtins</a>, Up: <a href="C-Extensions.html#C-Extensions" accesskey="u" rel="up">C Extensions</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="Built_002din-Functions-Specific-to-Particular-Target-Machines"></a>
  68. <h3 class="section">6.60 Built-in Functions Specific to Particular Target Machines</h3>
  69. <p>On some target machines, GCC supports many built-in functions specific
  70. to those machines. Generally these generate calls to specific machine
  71. instructions, but allow the compiler to schedule those calls.
  72. </p>
  73. <table class="menu" border="0" cellspacing="0">
  74. <tr><td align="left" valign="top">&bull; <a href="AArch64-Built_002din-Functions.html#AArch64-Built_002din-Functions" accesskey="1">AArch64 Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  75. </td></tr>
  76. <tr><td align="left" valign="top">&bull; <a href="Alpha-Built_002din-Functions.html#Alpha-Built_002din-Functions" accesskey="2">Alpha Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  77. </td></tr>
  78. <tr><td align="left" valign="top">&bull; <a href="Altera-Nios-II-Built_002din-Functions.html#Altera-Nios-II-Built_002din-Functions" accesskey="3">Altera Nios II Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  79. </td></tr>
  80. <tr><td align="left" valign="top">&bull; <a href="ARC-Built_002din-Functions.html#ARC-Built_002din-Functions" accesskey="4">ARC Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  81. </td></tr>
  82. <tr><td align="left" valign="top">&bull; <a href="ARC-SIMD-Built_002din-Functions.html#ARC-SIMD-Built_002din-Functions" accesskey="5">ARC SIMD Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  83. </td></tr>
  84. <tr><td align="left" valign="top">&bull; <a href="ARM-iWMMXt-Built_002din-Functions.html#ARM-iWMMXt-Built_002din-Functions" accesskey="6">ARM iWMMXt Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  85. </td></tr>
  86. <tr><td align="left" valign="top">&bull; <a href="ARM-C-Language-Extensions-_0028ACLE_0029.html#ARM-C-Language-Extensions-_0028ACLE_0029" accesskey="7">ARM C Language Extensions (ACLE)</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  87. </td></tr>
  88. <tr><td align="left" valign="top">&bull; <a href="ARM-Floating-Point-Status-and-Control-Intrinsics.html#ARM-Floating-Point-Status-and-Control-Intrinsics" accesskey="8">ARM Floating Point Status and Control Intrinsics</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  89. </td></tr>
  90. <tr><td align="left" valign="top">&bull; <a href="ARM-ARMv8_002dM-Security-Extensions.html#ARM-ARMv8_002dM-Security-Extensions" accesskey="9">ARM ARMv8-M Security Extensions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  91. </td></tr>
  92. <tr><td align="left" valign="top">&bull; <a href="AVR-Built_002din-Functions.html#AVR-Built_002din-Functions">AVR Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  93. </td></tr>
  94. <tr><td align="left" valign="top">&bull; <a href="Blackfin-Built_002din-Functions.html#Blackfin-Built_002din-Functions">Blackfin Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  95. </td></tr>
  96. <tr><td align="left" valign="top">&bull; <a href="BPF-Built_002din-Functions.html#BPF-Built_002din-Functions">BPF Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  97. </td></tr>
  98. <tr><td align="left" valign="top">&bull; <a href="FR_002dV-Built_002din-Functions.html#FR_002dV-Built_002din-Functions">FR-V Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  99. </td></tr>
  100. <tr><td align="left" valign="top">&bull; <a href="MIPS-DSP-Built_002din-Functions.html#MIPS-DSP-Built_002din-Functions">MIPS DSP Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  101. </td></tr>
  102. <tr><td align="left" valign="top">&bull; <a href="MIPS-Paired_002dSingle-Support.html#MIPS-Paired_002dSingle-Support">MIPS Paired-Single Support</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  103. </td></tr>
  104. <tr><td align="left" valign="top">&bull; <a href="MIPS-Loongson-Built_002din-Functions.html#MIPS-Loongson-Built_002din-Functions">MIPS Loongson Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  105. </td></tr>
  106. <tr><td align="left" valign="top">&bull; <a href="MIPS-SIMD-Architecture-_0028MSA_0029-Support.html#MIPS-SIMD-Architecture-_0028MSA_0029-Support">MIPS SIMD Architecture (MSA) Support</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  107. </td></tr>
  108. <tr><td align="left" valign="top">&bull; <a href="Other-MIPS-Built_002din-Functions.html#Other-MIPS-Built_002din-Functions">Other MIPS Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  109. </td></tr>
  110. <tr><td align="left" valign="top">&bull; <a href="MSP430-Built_002din-Functions.html#MSP430-Built_002din-Functions">MSP430 Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  111. </td></tr>
  112. <tr><td align="left" valign="top">&bull; <a href="NDS32-Built_002din-Functions.html#NDS32-Built_002din-Functions">NDS32 Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  113. </td></tr>
  114. <tr><td align="left" valign="top">&bull; <a href="picoChip-Built_002din-Functions.html#picoChip-Built_002din-Functions">picoChip Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  115. </td></tr>
  116. <tr><td align="left" valign="top">&bull; <a href="Basic-PowerPC-Built_002din-Functions.html#Basic-PowerPC-Built_002din-Functions">Basic PowerPC Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  117. </td></tr>
  118. <tr><td align="left" valign="top">&bull; <a href="PowerPC-AltiVec_002fVSX-Built_002din-Functions.html#PowerPC-AltiVec_002fVSX-Built_002din-Functions">PowerPC AltiVec/VSX Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  119. </td></tr>
  120. <tr><td align="left" valign="top">&bull; <a href="PowerPC-Hardware-Transactional-Memory-Built_002din-Functions.html#PowerPC-Hardware-Transactional-Memory-Built_002din-Functions">PowerPC Hardware Transactional Memory Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  121. </td></tr>
  122. <tr><td align="left" valign="top">&bull; <a href="PowerPC-Atomic-Memory-Operation-Functions.html#PowerPC-Atomic-Memory-Operation-Functions">PowerPC Atomic Memory Operation Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  123. </td></tr>
  124. <tr><td align="left" valign="top">&bull; <a href="PowerPC-Matrix_002dMultiply-Assist-Built_002din-Functions.html#PowerPC-Matrix_002dMultiply-Assist-Built_002din-Functions">PowerPC Matrix-Multiply Assist Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  125. </td></tr>
  126. <tr><td align="left" valign="top">&bull; <a href="RX-Built_002din-Functions.html#RX-Built_002din-Functions">RX Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  127. </td></tr>
  128. <tr><td align="left" valign="top">&bull; <a href="S_002f390-System-z-Built_002din-Functions.html#S_002f390-System-z-Built_002din-Functions">S/390 System z Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  129. </td></tr>
  130. <tr><td align="left" valign="top">&bull; <a href="SH-Built_002din-Functions.html#SH-Built_002din-Functions">SH Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  131. </td></tr>
  132. <tr><td align="left" valign="top">&bull; <a href="SPARC-VIS-Built_002din-Functions.html#SPARC-VIS-Built_002din-Functions">SPARC VIS Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  133. </td></tr>
  134. <tr><td align="left" valign="top">&bull; <a href="TI-C6X-Built_002din-Functions.html#TI-C6X-Built_002din-Functions">TI C6X Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  135. </td></tr>
  136. <tr><td align="left" valign="top">&bull; <a href="TILE_002dGx-Built_002din-Functions.html#TILE_002dGx-Built_002din-Functions">TILE-Gx Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  137. </td></tr>
  138. <tr><td align="left" valign="top">&bull; <a href="TILEPro-Built_002din-Functions.html#TILEPro-Built_002din-Functions">TILEPro Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  139. </td></tr>
  140. <tr><td align="left" valign="top">&bull; <a href="x86-Built_002din-Functions.html#x86-Built_002din-Functions">x86 Built-in Functions</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  141. </td></tr>
  142. <tr><td align="left" valign="top">&bull; <a href="x86-transactional-memory-intrinsics.html#x86-transactional-memory-intrinsics">x86 transactional memory intrinsics</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  143. </td></tr>
  144. <tr><td align="left" valign="top">&bull; <a href="x86-control_002dflow-protection-intrinsics.html#x86-control_002dflow-protection-intrinsics">x86 control-flow protection intrinsics</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">
  145. </td></tr>
  146. </table>
  147. <hr>
  148. <div class="header">
  149. <p>
  150. Next: <a href="Target-Format-Checks.html#Target-Format-Checks" accesskey="n" rel="next">Target Format Checks</a>, Previous: <a href="Other-Builtins.html#Other-Builtins" accesskey="p" rel="prev">Other Builtins</a>, Up: <a href="C-Extensions.html#C-Extensions" accesskey="u" rel="up">C Extensions</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>
  151. </div>
  152. </body>
  153. </html>