MIPS-ASE-Instruction-Generation-Overrides.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- This file documents the GNU Assembler "as".
  4. Copyright (C) 1991-2020 Free Software Foundation, Inc.
  5. Permission is granted to copy, distribute and/or modify this document
  6. under the terms of the GNU Free Documentation License, Version 1.3
  7. or any later version published by the Free Software Foundation;
  8. with no Invariant Sections, with no Front-Cover Texts, and with no
  9. Back-Cover Texts. A copy of the license is included in the
  10. section entitled "GNU Free Documentation License".
  11. -->
  12. <!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <title>Using as: MIPS ASE Instruction Generation Overrides</title>
  15. <meta name="description" content="Using as: MIPS ASE Instruction Generation Overrides">
  16. <meta name="keywords" content="Using as: MIPS ASE Instruction Generation Overrides">
  17. <meta name="resource-type" content="document">
  18. <meta name="distribution" content="global">
  19. <meta name="Generator" content="makeinfo">
  20. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  21. <link href="index.html#Top" rel="start" title="Top">
  22. <link href="AS-Index.html#AS-Index" rel="index" title="AS Index">
  23. <link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
  24. <link href="MIPS_002dDependent.html#MIPS_002dDependent" rel="up" title="MIPS-Dependent">
  25. <link href="MIPS-Floating_002dPoint.html#MIPS-Floating_002dPoint" rel="next" title="MIPS Floating-Point">
  26. <link href="MIPS-Option-Stack.html#MIPS-Option-Stack" rel="previous" title="MIPS Option Stack">
  27. <style type="text/css">
  28. <!--
  29. a.summary-letter {text-decoration: none}
  30. blockquote.smallquotation {font-size: smaller}
  31. div.display {margin-left: 3.2em}
  32. div.example {margin-left: 3.2em}
  33. div.indentedblock {margin-left: 3.2em}
  34. div.lisp {margin-left: 3.2em}
  35. div.smalldisplay {margin-left: 3.2em}
  36. div.smallexample {margin-left: 3.2em}
  37. div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
  38. div.smalllisp {margin-left: 3.2em}
  39. kbd {font-style:oblique}
  40. pre.display {font-family: inherit}
  41. pre.format {font-family: inherit}
  42. pre.menu-comment {font-family: serif}
  43. pre.menu-preformatted {font-family: serif}
  44. pre.smalldisplay {font-family: inherit; font-size: smaller}
  45. pre.smallexample {font-size: smaller}
  46. pre.smallformat {font-family: inherit; font-size: smaller}
  47. pre.smalllisp {font-size: smaller}
  48. span.nocodebreak {white-space:nowrap}
  49. span.nolinebreak {white-space:nowrap}
  50. span.roman {font-family:serif; font-weight:normal}
  51. span.sansserif {font-family:sans-serif; font-weight:normal}
  52. ul.no-bullet {list-style: none}
  53. -->
  54. </style>
  55. </head>
  56. <body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
  57. <a name="MIPS-ASE-Instruction-Generation-Overrides"></a>
  58. <div class="header">
  59. <p>
  60. Next: <a href="MIPS-Floating_002dPoint.html#MIPS-Floating_002dPoint" accesskey="n" rel="next">MIPS Floating-Point</a>, Previous: <a href="MIPS-Option-Stack.html#MIPS-Option-Stack" accesskey="p" rel="previous">MIPS Option Stack</a>, Up: <a href="MIPS_002dDependent.html#MIPS_002dDependent" accesskey="u" rel="up">MIPS-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  61. </div>
  62. <hr>
  63. <a name="Directives-to-control-generation-of-MIPS-ASE-instructions"></a>
  64. <h4 class="subsection">9.27.12 Directives to control generation of MIPS ASE instructions</h4>
  65. <a name="index-MIPS-MIPS_002d3D-instruction-generation-override"></a>
  66. <a name="index-_002eset-mips3d"></a>
  67. <a name="index-_002eset-nomips3d"></a>
  68. <p>The directive <code>.set mips3d</code> makes the assembler accept instructions
  69. from the MIPS-3D Application Specific Extension from that point on
  70. in the assembly. The <code>.set nomips3d</code> directive prevents MIPS-3D
  71. instructions from being accepted.
  72. </p>
  73. <a name="index-SmartMIPS-instruction-generation-override"></a>
  74. <a name="index-_002eset-smartmips"></a>
  75. <a name="index-_002eset-nosmartmips"></a>
  76. <p>The directive <code>.set smartmips</code> makes the assembler accept
  77. instructions from the SmartMIPS Application Specific Extension to the
  78. MIPS32 ISA from that point on in the assembly. The
  79. <code>.set nosmartmips</code> directive prevents SmartMIPS instructions from
  80. being accepted.
  81. </p>
  82. <a name="index-MIPS-MDMX-instruction-generation-override"></a>
  83. <a name="index-_002eset-mdmx"></a>
  84. <a name="index-_002eset-nomdmx"></a>
  85. <p>The directive <code>.set mdmx</code> makes the assembler accept instructions
  86. from the MDMX Application Specific Extension from that point on
  87. in the assembly. The <code>.set nomdmx</code> directive prevents MDMX
  88. instructions from being accepted.
  89. </p>
  90. <a name="index-MIPS-DSP-Release-1-instruction-generation-override"></a>
  91. <a name="index-_002eset-dsp"></a>
  92. <a name="index-_002eset-nodsp"></a>
  93. <p>The directive <code>.set dsp</code> makes the assembler accept instructions
  94. from the DSP Release 1 Application Specific Extension from that point
  95. on in the assembly. The <code>.set nodsp</code> directive prevents DSP
  96. Release 1 instructions from being accepted.
  97. </p>
  98. <a name="index-MIPS-DSP-Release-2-instruction-generation-override"></a>
  99. <a name="index-_002eset-dspr2"></a>
  100. <a name="index-_002eset-nodspr2"></a>
  101. <p>The directive <code>.set dspr2</code> makes the assembler accept instructions
  102. from the DSP Release 2 Application Specific Extension from that point
  103. on in the assembly. This directive implies <code>.set dsp</code>. The
  104. <code>.set nodspr2</code> directive prevents DSP Release 2 instructions from
  105. being accepted.
  106. </p>
  107. <a name="index-MIPS-DSP-Release-3-instruction-generation-override"></a>
  108. <a name="index-_002eset-dspr3"></a>
  109. <a name="index-_002eset-nodspr3"></a>
  110. <p>The directive <code>.set dspr3</code> makes the assembler accept instructions
  111. from the DSP Release 3 Application Specific Extension from that point
  112. on in the assembly. This directive implies <code>.set dsp</code> and
  113. <code>.set dspr2</code>. The <code>.set nodspr3</code> directive prevents DSP
  114. Release 3 instructions from being accepted.
  115. </p>
  116. <a name="index-MIPS-MT-instruction-generation-override"></a>
  117. <a name="index-_002eset-mt"></a>
  118. <a name="index-_002eset-nomt"></a>
  119. <p>The directive <code>.set mt</code> makes the assembler accept instructions
  120. from the MT Application Specific Extension from that point on
  121. in the assembly. The <code>.set nomt</code> directive prevents MT
  122. instructions from being accepted.
  123. </p>
  124. <a name="index-MIPS-MCU-instruction-generation-override"></a>
  125. <a name="index-_002eset-mcu"></a>
  126. <a name="index-_002eset-nomcu"></a>
  127. <p>The directive <code>.set mcu</code> makes the assembler accept instructions
  128. from the MCU Application Specific Extension from that point on
  129. in the assembly. The <code>.set nomcu</code> directive prevents MCU
  130. instructions from being accepted.
  131. </p>
  132. <a name="index-MIPS-SIMD-Architecture-instruction-generation-override"></a>
  133. <a name="index-_002eset-msa"></a>
  134. <a name="index-_002eset-nomsa"></a>
  135. <p>The directive <code>.set msa</code> makes the assembler accept instructions
  136. from the MIPS SIMD Architecture Extension from that point on
  137. in the assembly. The <code>.set nomsa</code> directive prevents MSA
  138. instructions from being accepted.
  139. </p>
  140. <a name="index-Virtualization-instruction-generation-override"></a>
  141. <a name="index-_002eset-virt"></a>
  142. <a name="index-_002eset-novirt"></a>
  143. <p>The directive <code>.set virt</code> makes the assembler accept instructions
  144. from the Virtualization Application Specific Extension from that point
  145. on in the assembly. The <code>.set novirt</code> directive prevents Virtualization
  146. instructions from being accepted.
  147. </p>
  148. <a name="index-MIPS-eXtended-Physical-Address-_0028XPA_0029-instruction-generation-override"></a>
  149. <a name="index-_002eset-xpa"></a>
  150. <a name="index-_002eset-noxpa"></a>
  151. <p>The directive <code>.set xpa</code> makes the assembler accept instructions
  152. from the XPA Extension from that point on in the assembly. The
  153. <code>.set noxpa</code> directive prevents XPA instructions from being accepted.
  154. </p>
  155. <a name="index-MIPS16e2-instruction-generation-override"></a>
  156. <a name="index-_002eset-mips16e2"></a>
  157. <a name="index-_002eset-nomips16e2"></a>
  158. <p>The directive <code>.set mips16e2</code> makes the assembler accept instructions
  159. from the MIPS16e2 Application Specific Extension from that point on in the
  160. assembly, whenever in MIPS16 mode. The <code>.set nomips16e2</code> directive
  161. prevents MIPS16e2 instructions from being accepted, in MIPS16 mode. Neither
  162. directive affects the state of MIPS16 mode being active itself which has
  163. separate controls.
  164. </p>
  165. <a name="index-MIPS-cyclic-redundancy-check-_0028CRC_0029-instruction-generation-override"></a>
  166. <a name="index-_002eset-crc"></a>
  167. <a name="index-_002eset-nocrc"></a>
  168. <p>The directive <code>.set crc</code> makes the assembler accept instructions
  169. from the CRC Extension from that point on in the assembly. The
  170. <code>.set nocrc</code> directive prevents CRC instructions from being accepted.
  171. </p>
  172. <a name="index-MIPS-Global-INValidate-_0028GINV_0029-instruction-generation-override"></a>
  173. <a name="index-_002eset-ginv"></a>
  174. <a name="index-_002eset-noginv"></a>
  175. <p>The directive <code>.set ginv</code> makes the assembler accept instructions
  176. from the GINV Extension from that point on in the assembly. The
  177. <code>.set noginv</code> directive prevents GINV instructions from being accepted.
  178. </p>
  179. <a name="index-Loongson-MultiMedia-extensions-Instructions-_0028MMI_0029-generation-override"></a>
  180. <a name="index-_002eset-loongson_002dmmi"></a>
  181. <a name="index-_002eset-noloongson_002dmmi"></a>
  182. <p>The directive <code>.set loongson-mmi</code> makes the assembler accept
  183. instructions from the MMI Extension from that point on in the assembly.
  184. The <code>.set noloongson-mmi</code> directive prevents MMI instructions from
  185. being accepted.
  186. </p>
  187. <a name="index-Loongson-Content-Address-Memory-_0028CAM_0029-generation-override"></a>
  188. <a name="index-_002eset-loongson_002dcam"></a>
  189. <a name="index-_002eset-noloongson_002dcam"></a>
  190. <p>The directive <code>.set loongson-cam</code> makes the assembler accept
  191. instructions from the Loongson CAM from that point on in the assembly.
  192. The <code>.set noloongson-cam</code> directive prevents Loongson CAM instructions
  193. from being accepted.
  194. </p>
  195. <a name="index-Loongson-EXTensions-_0028EXT_0029-instructions-generation-override"></a>
  196. <a name="index-_002eset-loongson_002dext"></a>
  197. <a name="index-_002eset-noloongson_002dext"></a>
  198. <p>The directive <code>.set loongson-ext</code> makes the assembler accept
  199. instructions from the Loongson EXT from that point on in the assembly.
  200. The <code>.set noloongson-ext</code> directive prevents Loongson EXT instructions
  201. from being accepted.
  202. </p>
  203. <a name="index-Loongson-EXTensions-R2-_0028EXT2_0029-instructions-generation-override"></a>
  204. <a name="index-_002eset-loongson_002dext2"></a>
  205. <a name="index-_002eset-noloongson_002dext2"></a>
  206. <p>The directive <code>.set loongson-ext2</code> makes the assembler accept
  207. instructions from the Loongson EXT2 from that point on in the assembly.
  208. This directive implies <code>.set loognson-ext</code>.
  209. The <code>.set noloongson-ext2</code> directive prevents Loongson EXT2 instructions
  210. from being accepted.
  211. </p>
  212. <p>Traditional MIPS assemblers do not support these directives.
  213. </p>
  214. <hr>
  215. <div class="header">
  216. <p>
  217. Next: <a href="MIPS-Floating_002dPoint.html#MIPS-Floating_002dPoint" accesskey="n" rel="next">MIPS Floating-Point</a>, Previous: <a href="MIPS-Option-Stack.html#MIPS-Option-Stack" accesskey="p" rel="previous">MIPS Option Stack</a>, Up: <a href="MIPS_002dDependent.html#MIPS_002dDependent" accesskey="u" rel="up">MIPS-Dependent</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="AS-Index.html#AS-Index" title="Index" rel="index">Index</a>]</p>
  218. </div>
  219. </body>
  220. </html>