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.

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

3 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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 6.5, http://www.gnu.org/software/texinfo/ -->
  13. <head>
  14. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  15. <title>MIPS ASE Instruction Generation Overrides (Using as)</title>
  16. <meta name="description" content="MIPS ASE Instruction Generation Overrides (Using as)">
  17. <meta name="keywords" content="MIPS ASE Instruction Generation Overrides (Using as)">
  18. <meta name="resource-type" content="document">
  19. <meta name="distribution" content="global">
  20. <meta name="Generator" content="makeinfo">
  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="prev" title="MIPS Option Stack">
  27. <style type="text/css">
  28. <!--
  29. a.summary-letter {text-decoration: none}
  30. blockquote.indentedblock {margin-right: 0em}
  31. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  32. blockquote.smallquotation {font-size: smaller}
  33. div.display {margin-left: 3.2em}
  34. div.example {margin-left: 3.2em}
  35. div.lisp {margin-left: 3.2em}
  36. div.smalldisplay {margin-left: 3.2em}
  37. div.smallexample {margin-left: 3.2em}
  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.nolinebreak {white-space: nowrap}
  49. span.roman {font-family: initial; font-weight: normal}
  50. span.sansserif {font-family: sans-serif; font-weight: normal}
  51. ul.no-bullet {list-style: none}
  52. -->
  53. </style>
  54. </head>
  55. <body lang="en">
  56. <a name="MIPS-ASE-Instruction-Generation-Overrides"></a>
  57. <div class="header">
  58. <p>
  59. 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="prev">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>
  60. </div>
  61. <hr>
  62. <a name="Directives-to-control-generation-of-MIPS-ASE-instructions"></a>
  63. <h4 class="subsection">9.27.12 Directives to control generation of MIPS ASE instructions</h4>
  64. <a name="index-MIPS-MIPS_002d3D-instruction-generation-override"></a>
  65. <a name="index-_002eset-mips3d"></a>
  66. <a name="index-_002eset-nomips3d"></a>
  67. <p>The directive <code>.set mips3d</code> makes the assembler accept instructions
  68. from the MIPS-3D Application Specific Extension from that point on
  69. in the assembly. The <code>.set nomips3d</code> directive prevents MIPS-3D
  70. instructions from being accepted.
  71. </p>
  72. <a name="index-SmartMIPS-instruction-generation-override"></a>
  73. <a name="index-_002eset-smartmips"></a>
  74. <a name="index-_002eset-nosmartmips"></a>
  75. <p>The directive <code>.set smartmips</code> makes the assembler accept
  76. instructions from the SmartMIPS Application Specific Extension to the
  77. MIPS32 ISA from that point on in the assembly. The
  78. <code>.set nosmartmips</code> directive prevents SmartMIPS instructions from
  79. being accepted.
  80. </p>
  81. <a name="index-MIPS-MDMX-instruction-generation-override"></a>
  82. <a name="index-_002eset-mdmx"></a>
  83. <a name="index-_002eset-nomdmx"></a>
  84. <p>The directive <code>.set mdmx</code> makes the assembler accept instructions
  85. from the MDMX Application Specific Extension from that point on
  86. in the assembly. The <code>.set nomdmx</code> directive prevents MDMX
  87. instructions from being accepted.
  88. </p>
  89. <a name="index-MIPS-DSP-Release-1-instruction-generation-override"></a>
  90. <a name="index-_002eset-dsp"></a>
  91. <a name="index-_002eset-nodsp"></a>
  92. <p>The directive <code>.set dsp</code> makes the assembler accept instructions
  93. from the DSP Release 1 Application Specific Extension from that point
  94. on in the assembly. The <code>.set nodsp</code> directive prevents DSP
  95. Release 1 instructions from being accepted.
  96. </p>
  97. <a name="index-MIPS-DSP-Release-2-instruction-generation-override"></a>
  98. <a name="index-_002eset-dspr2"></a>
  99. <a name="index-_002eset-nodspr2"></a>
  100. <p>The directive <code>.set dspr2</code> makes the assembler accept instructions
  101. from the DSP Release 2 Application Specific Extension from that point
  102. on in the assembly. This directive implies <code>.set dsp</code>. The
  103. <code>.set nodspr2</code> directive prevents DSP Release 2 instructions from
  104. being accepted.
  105. </p>
  106. <a name="index-MIPS-DSP-Release-3-instruction-generation-override"></a>
  107. <a name="index-_002eset-dspr3"></a>
  108. <a name="index-_002eset-nodspr3"></a>
  109. <p>The directive <code>.set dspr3</code> makes the assembler accept instructions
  110. from the DSP Release 3 Application Specific Extension from that point
  111. on in the assembly. This directive implies <code>.set dsp</code> and
  112. <code>.set dspr2</code>. The <code>.set nodspr3</code> directive prevents DSP
  113. Release 3 instructions from being accepted.
  114. </p>
  115. <a name="index-MIPS-MT-instruction-generation-override"></a>
  116. <a name="index-_002eset-mt"></a>
  117. <a name="index-_002eset-nomt"></a>
  118. <p>The directive <code>.set mt</code> makes the assembler accept instructions
  119. from the MT Application Specific Extension from that point on
  120. in the assembly. The <code>.set nomt</code> directive prevents MT
  121. instructions from being accepted.
  122. </p>
  123. <a name="index-MIPS-MCU-instruction-generation-override"></a>
  124. <a name="index-_002eset-mcu"></a>
  125. <a name="index-_002eset-nomcu"></a>
  126. <p>The directive <code>.set mcu</code> makes the assembler accept instructions
  127. from the MCU Application Specific Extension from that point on
  128. in the assembly. The <code>.set nomcu</code> directive prevents MCU
  129. instructions from being accepted.
  130. </p>
  131. <a name="index-MIPS-SIMD-Architecture-instruction-generation-override"></a>
  132. <a name="index-_002eset-msa"></a>
  133. <a name="index-_002eset-nomsa"></a>
  134. <p>The directive <code>.set msa</code> makes the assembler accept instructions
  135. from the MIPS SIMD Architecture Extension from that point on
  136. in the assembly. The <code>.set nomsa</code> directive prevents MSA
  137. instructions from being accepted.
  138. </p>
  139. <a name="index-Virtualization-instruction-generation-override"></a>
  140. <a name="index-_002eset-virt"></a>
  141. <a name="index-_002eset-novirt"></a>
  142. <p>The directive <code>.set virt</code> makes the assembler accept instructions
  143. from the Virtualization Application Specific Extension from that point
  144. on in the assembly. The <code>.set novirt</code> directive prevents Virtualization
  145. instructions from being accepted.
  146. </p>
  147. <a name="index-MIPS-eXtended-Physical-Address-_0028XPA_0029-instruction-generation-override"></a>
  148. <a name="index-_002eset-xpa"></a>
  149. <a name="index-_002eset-noxpa"></a>
  150. <p>The directive <code>.set xpa</code> makes the assembler accept instructions
  151. from the XPA Extension from that point on in the assembly. The
  152. <code>.set noxpa</code> directive prevents XPA instructions from being accepted.
  153. </p>
  154. <a name="index-MIPS16e2-instruction-generation-override"></a>
  155. <a name="index-_002eset-mips16e2"></a>
  156. <a name="index-_002eset-nomips16e2"></a>
  157. <p>The directive <code>.set mips16e2</code> makes the assembler accept instructions
  158. from the MIPS16e2 Application Specific Extension from that point on in the
  159. assembly, whenever in MIPS16 mode. The <code>.set nomips16e2</code> directive
  160. prevents MIPS16e2 instructions from being accepted, in MIPS16 mode. Neither
  161. directive affects the state of MIPS16 mode being active itself which has
  162. separate controls.
  163. </p>
  164. <a name="index-MIPS-cyclic-redundancy-check-_0028CRC_0029-instruction-generation-override"></a>
  165. <a name="index-_002eset-crc"></a>
  166. <a name="index-_002eset-nocrc"></a>
  167. <p>The directive <code>.set crc</code> makes the assembler accept instructions
  168. from the CRC Extension from that point on in the assembly. The
  169. <code>.set nocrc</code> directive prevents CRC instructions from being accepted.
  170. </p>
  171. <a name="index-MIPS-Global-INValidate-_0028GINV_0029-instruction-generation-override"></a>
  172. <a name="index-_002eset-ginv"></a>
  173. <a name="index-_002eset-noginv"></a>
  174. <p>The directive <code>.set ginv</code> makes the assembler accept instructions
  175. from the GINV Extension from that point on in the assembly. The
  176. <code>.set noginv</code> directive prevents GINV instructions from being accepted.
  177. </p>
  178. <a name="index-Loongson-MultiMedia-extensions-Instructions-_0028MMI_0029-generation-override"></a>
  179. <a name="index-_002eset-loongson_002dmmi"></a>
  180. <a name="index-_002eset-noloongson_002dmmi"></a>
  181. <p>The directive <code>.set loongson-mmi</code> makes the assembler accept
  182. instructions from the MMI Extension from that point on in the assembly.
  183. The <code>.set noloongson-mmi</code> directive prevents MMI instructions from
  184. being accepted.
  185. </p>
  186. <a name="index-Loongson-Content-Address-Memory-_0028CAM_0029-generation-override"></a>
  187. <a name="index-_002eset-loongson_002dcam"></a>
  188. <a name="index-_002eset-noloongson_002dcam"></a>
  189. <p>The directive <code>.set loongson-cam</code> makes the assembler accept
  190. instructions from the Loongson CAM from that point on in the assembly.
  191. The <code>.set noloongson-cam</code> directive prevents Loongson CAM instructions
  192. from being accepted.
  193. </p>
  194. <a name="index-Loongson-EXTensions-_0028EXT_0029-instructions-generation-override"></a>
  195. <a name="index-_002eset-loongson_002dext"></a>
  196. <a name="index-_002eset-noloongson_002dext"></a>
  197. <p>The directive <code>.set loongson-ext</code> makes the assembler accept
  198. instructions from the Loongson EXT from that point on in the assembly.
  199. The <code>.set noloongson-ext</code> directive prevents Loongson EXT instructions
  200. from being accepted.
  201. </p>
  202. <a name="index-Loongson-EXTensions-R2-_0028EXT2_0029-instructions-generation-override"></a>
  203. <a name="index-_002eset-loongson_002dext2"></a>
  204. <a name="index-_002eset-noloongson_002dext2"></a>
  205. <p>The directive <code>.set loongson-ext2</code> makes the assembler accept
  206. instructions from the Loongson EXT2 from that point on in the assembly.
  207. This directive implies <code>.set loognson-ext</code>.
  208. The <code>.set noloongson-ext2</code> directive prevents Loongson EXT2 instructions
  209. from being accepted.
  210. </p>
  211. <p>Traditional MIPS assemblers do not support these directives.
  212. </p>
  213. <hr>
  214. <div class="header">
  215. <p>
  216. 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="prev">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>
  217. </div>
  218. </body>
  219. </html>