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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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-2017 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.2, 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="prev" 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="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>
  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. <p>Traditional MIPS assemblers do not support these directives.
  156. </p>
  157. <hr>
  158. <div class="header">
  159. <p>
  160. 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>
  161. </div>
  162. </body>
  163. </html>