選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

3187 行
79KB

  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>Machine Constraints (Using the GNU Compiler Collection (GCC))</title>
  21. <meta name="description" content="Machine Constraints (Using the GNU Compiler Collection (GCC))">
  22. <meta name="keywords" content="Machine Constraints (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="Constraints.html#Constraints" rel="up" title="Constraints">
  30. <link href="Asm-Labels.html#Asm-Labels" rel="next" title="Asm Labels">
  31. <link href="Modifiers.html#Modifiers" rel="prev" title="Modifiers">
  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="Machine-Constraints"></a>
  62. <div class="header">
  63. <p>
  64. Previous: <a href="Modifiers.html#Modifiers" accesskey="p" rel="prev">Modifiers</a>, Up: <a href="Constraints.html#Constraints" accesskey="u" rel="up">Constraints</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="Constraints-for-Particular-Machines"></a>
  68. <h4 class="subsubsection">6.47.3.4 Constraints for Particular Machines</h4>
  69. <a name="index-machine-specific-constraints"></a>
  70. <a name="index-constraints_002c-machine-specific"></a>
  71. <p>Whenever possible, you should use the general-purpose constraint letters
  72. in <code>asm</code> arguments, since they will convey meaning more readily to
  73. people reading your code. Failing that, use the constraint letters
  74. that usually have very similar meanings across architectures. The most
  75. commonly used constraints are &lsquo;<samp>m</samp>&rsquo; and &lsquo;<samp>r</samp>&rsquo; (for memory and
  76. general-purpose registers respectively; see <a href="Simple-Constraints.html#Simple-Constraints">Simple Constraints</a>), and
  77. &lsquo;<samp>I</samp>&rsquo;, usually the letter indicating the most common
  78. immediate-constant format.
  79. </p>
  80. <p>Each architecture defines additional constraints. These constraints
  81. are used by the compiler itself for instruction generation, as well as
  82. for <code>asm</code> statements; therefore, some of the constraints are not
  83. particularly useful for <code>asm</code>. Here is a summary of some of the
  84. machine-dependent constraints available on some particular machines;
  85. it includes both constraints that are useful for <code>asm</code> and
  86. constraints that aren&rsquo;t. The compiler source file mentioned in the
  87. table heading for each architecture is the definitive reference for
  88. the meanings of that architecture&rsquo;s constraints.
  89. </p>
  90. <dl compact="compact">
  91. <dt><em>AArch64 family&mdash;<samp>config/aarch64/constraints.md</samp></em></dt>
  92. <dd><dl compact="compact">
  93. <dt><code>k</code></dt>
  94. <dd><p>The stack pointer register (<code>SP</code>)
  95. </p>
  96. </dd>
  97. <dt><code>w</code></dt>
  98. <dd><p>Floating point register, Advanced SIMD vector register or SVE vector register
  99. </p>
  100. </dd>
  101. <dt><code>x</code></dt>
  102. <dd><p>Like <code>w</code>, but restricted to registers 0 to 15 inclusive.
  103. </p>
  104. </dd>
  105. <dt><code>y</code></dt>
  106. <dd><p>Like <code>w</code>, but restricted to registers 0 to 7 inclusive.
  107. </p>
  108. </dd>
  109. <dt><code>Upl</code></dt>
  110. <dd><p>One of the low eight SVE predicate registers (<code>P0</code> to <code>P7</code>)
  111. </p>
  112. </dd>
  113. <dt><code>Upa</code></dt>
  114. <dd><p>Any of the SVE predicate registers (<code>P0</code> to <code>P15</code>)
  115. </p>
  116. </dd>
  117. <dt><code>I</code></dt>
  118. <dd><p>Integer constant that is valid as an immediate operand in an <code>ADD</code>
  119. instruction
  120. </p>
  121. </dd>
  122. <dt><code>J</code></dt>
  123. <dd><p>Integer constant that is valid as an immediate operand in a <code>SUB</code>
  124. instruction (once negated)
  125. </p>
  126. </dd>
  127. <dt><code>K</code></dt>
  128. <dd><p>Integer constant that can be used with a 32-bit logical instruction
  129. </p>
  130. </dd>
  131. <dt><code>L</code></dt>
  132. <dd><p>Integer constant that can be used with a 64-bit logical instruction
  133. </p>
  134. </dd>
  135. <dt><code>M</code></dt>
  136. <dd><p>Integer constant that is valid as an immediate operand in a 32-bit <code>MOV</code>
  137. pseudo instruction. The <code>MOV</code> may be assembled to one of several different
  138. machine instructions depending on the value
  139. </p>
  140. </dd>
  141. <dt><code>N</code></dt>
  142. <dd><p>Integer constant that is valid as an immediate operand in a 64-bit <code>MOV</code>
  143. pseudo instruction
  144. </p>
  145. </dd>
  146. <dt><code>S</code></dt>
  147. <dd><p>An absolute symbolic address or a label reference
  148. </p>
  149. </dd>
  150. <dt><code>Y</code></dt>
  151. <dd><p>Floating point constant zero
  152. </p>
  153. </dd>
  154. <dt><code>Z</code></dt>
  155. <dd><p>Integer constant zero
  156. </p>
  157. </dd>
  158. <dt><code>Ush</code></dt>
  159. <dd><p>The high part (bits 12 and upwards) of the pc-relative address of a symbol
  160. within 4GB of the instruction
  161. </p>
  162. </dd>
  163. <dt><code>Q</code></dt>
  164. <dd><p>A memory address which uses a single base register with no offset
  165. </p>
  166. </dd>
  167. <dt><code>Ump</code></dt>
  168. <dd><p>A memory address suitable for a load/store pair instruction in SI, DI, SF and
  169. DF modes
  170. </p>
  171. </dd>
  172. </dl>
  173. </dd>
  174. <dt><em>AMD GCN &mdash;<samp>config/gcn/constraints.md</samp></em></dt>
  175. <dd><dl compact="compact">
  176. <dt><code>I</code></dt>
  177. <dd><p>Immediate integer in the range -16 to 64
  178. </p>
  179. </dd>
  180. <dt><code>J</code></dt>
  181. <dd><p>Immediate 16-bit signed integer
  182. </p>
  183. </dd>
  184. <dt><code>Kf</code></dt>
  185. <dd><p>Immediate constant -1
  186. </p>
  187. </dd>
  188. <dt><code>L</code></dt>
  189. <dd><p>Immediate 15-bit unsigned integer
  190. </p>
  191. </dd>
  192. <dt><code>A</code></dt>
  193. <dd><p>Immediate constant that can be inlined in an instruction encoding: integer
  194. -16..64, or float 0.0, +/-0.5, +/-1.0, +/-2.0,
  195. +/-4.0, 1.0/(2.0*PI)
  196. </p>
  197. </dd>
  198. <dt><code>B</code></dt>
  199. <dd><p>Immediate 32-bit signed integer that can be attached to an instruction encoding
  200. </p>
  201. </dd>
  202. <dt><code>C</code></dt>
  203. <dd><p>Immediate 32-bit integer in range -16..4294967295 (i.e. 32-bit unsigned
  204. integer or &lsquo;<samp>A</samp>&rsquo; constraint)
  205. </p>
  206. </dd>
  207. <dt><code>DA</code></dt>
  208. <dd><p>Immediate 64-bit constant that can be split into two &lsquo;<samp>A</samp>&rsquo; constants
  209. </p>
  210. </dd>
  211. <dt><code>DB</code></dt>
  212. <dd><p>Immediate 64-bit constant that can be split into two &lsquo;<samp>B</samp>&rsquo; constants
  213. </p>
  214. </dd>
  215. <dt><code>U</code></dt>
  216. <dd><p>Any <code>unspec</code>
  217. </p>
  218. </dd>
  219. <dt><code>Y</code></dt>
  220. <dd><p>Any <code>symbol_ref</code> or <code>label_ref</code>
  221. </p>
  222. </dd>
  223. <dt><code>v</code></dt>
  224. <dd><p>VGPR register
  225. </p>
  226. </dd>
  227. <dt><code>Sg</code></dt>
  228. <dd><p>SGPR register
  229. </p>
  230. </dd>
  231. <dt><code>SD</code></dt>
  232. <dd><p>SGPR registers valid for instruction destinations, including VCC, M0 and EXEC
  233. </p>
  234. </dd>
  235. <dt><code>SS</code></dt>
  236. <dd><p>SGPR registers valid for instruction sources, including VCC, M0, EXEC and SCC
  237. </p>
  238. </dd>
  239. <dt><code>Sm</code></dt>
  240. <dd><p>SGPR registers valid as a source for scalar memory instructions (excludes M0
  241. and EXEC)
  242. </p>
  243. </dd>
  244. <dt><code>Sv</code></dt>
  245. <dd><p>SGPR registers valid as a source or destination for vector instructions
  246. (excludes EXEC)
  247. </p>
  248. </dd>
  249. <dt><code>ca</code></dt>
  250. <dd><p>All condition registers: SCC, VCCZ, EXECZ
  251. </p>
  252. </dd>
  253. <dt><code>cs</code></dt>
  254. <dd><p>Scalar condition register: SCC
  255. </p>
  256. </dd>
  257. <dt><code>cV</code></dt>
  258. <dd><p>Vector condition register: VCC, VCC_LO, VCC_HI
  259. </p>
  260. </dd>
  261. <dt><code>e</code></dt>
  262. <dd><p>EXEC register (EXEC_LO and EXEC_HI)
  263. </p>
  264. </dd>
  265. <dt><code>RB</code></dt>
  266. <dd><p>Memory operand with address space suitable for <code>buffer_*</code> instructions
  267. </p>
  268. </dd>
  269. <dt><code>RF</code></dt>
  270. <dd><p>Memory operand with address space suitable for <code>flat_*</code> instructions
  271. </p>
  272. </dd>
  273. <dt><code>RS</code></dt>
  274. <dd><p>Memory operand with address space suitable for <code>s_*</code> instructions
  275. </p>
  276. </dd>
  277. <dt><code>RL</code></dt>
  278. <dd><p>Memory operand with address space suitable for <code>ds_*</code> LDS instructions
  279. </p>
  280. </dd>
  281. <dt><code>RG</code></dt>
  282. <dd><p>Memory operand with address space suitable for <code>ds_*</code> GDS instructions
  283. </p>
  284. </dd>
  285. <dt><code>RD</code></dt>
  286. <dd><p>Memory operand with address space suitable for any <code>ds_*</code> instructions
  287. </p>
  288. </dd>
  289. <dt><code>RM</code></dt>
  290. <dd><p>Memory operand with address space suitable for <code>global_*</code> instructions
  291. </p>
  292. </dd>
  293. </dl>
  294. </dd>
  295. <dt><em>ARC &mdash;<samp>config/arc/constraints.md</samp></em></dt>
  296. <dd><dl compact="compact">
  297. <dt><code>q</code></dt>
  298. <dd><p>Registers usable in ARCompact 16-bit instructions: <code>r0</code>-<code>r3</code>,
  299. <code>r12</code>-<code>r15</code>. This constraint can only match when the <samp>-mq</samp>
  300. option is in effect.
  301. </p>
  302. </dd>
  303. <dt><code>e</code></dt>
  304. <dd><p>Registers usable as base-regs of memory addresses in ARCompact 16-bit memory
  305. instructions: <code>r0</code>-<code>r3</code>, <code>r12</code>-<code>r15</code>, <code>sp</code>.
  306. This constraint can only match when the <samp>-mq</samp>
  307. option is in effect.
  308. </p></dd>
  309. <dt><code>D</code></dt>
  310. <dd><p>ARC FPX (dpfp) 64-bit registers. <code>D0</code>, <code>D1</code>.
  311. </p>
  312. </dd>
  313. <dt><code>I</code></dt>
  314. <dd><p>A signed 12-bit integer constant.
  315. </p>
  316. </dd>
  317. <dt><code>Cal</code></dt>
  318. <dd><p>constant for arithmetic/logical operations. This might be any constant
  319. that can be put into a long immediate by the assmbler or linker without
  320. involving a PIC relocation.
  321. </p>
  322. </dd>
  323. <dt><code>K</code></dt>
  324. <dd><p>A 3-bit unsigned integer constant.
  325. </p>
  326. </dd>
  327. <dt><code>L</code></dt>
  328. <dd><p>A 6-bit unsigned integer constant.
  329. </p>
  330. </dd>
  331. <dt><code>CnL</code></dt>
  332. <dd><p>One&rsquo;s complement of a 6-bit unsigned integer constant.
  333. </p>
  334. </dd>
  335. <dt><code>CmL</code></dt>
  336. <dd><p>Two&rsquo;s complement of a 6-bit unsigned integer constant.
  337. </p>
  338. </dd>
  339. <dt><code>M</code></dt>
  340. <dd><p>A 5-bit unsigned integer constant.
  341. </p>
  342. </dd>
  343. <dt><code>O</code></dt>
  344. <dd><p>A 7-bit unsigned integer constant.
  345. </p>
  346. </dd>
  347. <dt><code>P</code></dt>
  348. <dd><p>A 8-bit unsigned integer constant.
  349. </p>
  350. </dd>
  351. <dt><code>H</code></dt>
  352. <dd><p>Any const_double value.
  353. </p></dd>
  354. </dl>
  355. </dd>
  356. <dt><em>ARM family&mdash;<samp>config/arm/constraints.md</samp></em></dt>
  357. <dd><dl compact="compact">
  358. <dt><code>h</code></dt>
  359. <dd><p>In Thumb state, the core registers <code>r8</code>-<code>r15</code>.
  360. </p>
  361. </dd>
  362. <dt><code>k</code></dt>
  363. <dd><p>The stack pointer register.
  364. </p>
  365. </dd>
  366. <dt><code>l</code></dt>
  367. <dd><p>In Thumb State the core registers <code>r0</code>-<code>r7</code>. In ARM state this
  368. is an alias for the <code>r</code> constraint.
  369. </p>
  370. </dd>
  371. <dt><code>t</code></dt>
  372. <dd><p>VFP floating-point registers <code>s0</code>-<code>s31</code>. Used for 32 bit values.
  373. </p>
  374. </dd>
  375. <dt><code>w</code></dt>
  376. <dd><p>VFP floating-point registers <code>d0</code>-<code>d31</code> and the appropriate
  377. subset <code>d0</code>-<code>d15</code> based on command line options.
  378. Used for 64 bit values only. Not valid for Thumb1.
  379. </p>
  380. </dd>
  381. <dt><code>y</code></dt>
  382. <dd><p>The iWMMX co-processor registers.
  383. </p>
  384. </dd>
  385. <dt><code>z</code></dt>
  386. <dd><p>The iWMMX GR registers.
  387. </p>
  388. </dd>
  389. <dt><code>G</code></dt>
  390. <dd><p>The floating-point constant 0.0
  391. </p>
  392. </dd>
  393. <dt><code>I</code></dt>
  394. <dd><p>Integer that is valid as an immediate operand in a data processing
  395. instruction. That is, an integer in the range 0 to 255 rotated by a
  396. multiple of 2
  397. </p>
  398. </dd>
  399. <dt><code>J</code></dt>
  400. <dd><p>Integer in the range -4095 to 4095
  401. </p>
  402. </dd>
  403. <dt><code>K</code></dt>
  404. <dd><p>Integer that satisfies constraint &lsquo;<samp>I</samp>&rsquo; when inverted (ones complement)
  405. </p>
  406. </dd>
  407. <dt><code>L</code></dt>
  408. <dd><p>Integer that satisfies constraint &lsquo;<samp>I</samp>&rsquo; when negated (twos complement)
  409. </p>
  410. </dd>
  411. <dt><code>M</code></dt>
  412. <dd><p>Integer in the range 0 to 32
  413. </p>
  414. </dd>
  415. <dt><code>Q</code></dt>
  416. <dd><p>A memory reference where the exact address is in a single register
  417. (&lsquo;&lsquo;<samp>m</samp>&rsquo;&rsquo; is preferable for <code>asm</code> statements)
  418. </p>
  419. </dd>
  420. <dt><code>R</code></dt>
  421. <dd><p>An item in the constant pool
  422. </p>
  423. </dd>
  424. <dt><code>S</code></dt>
  425. <dd><p>A symbol in the text segment of the current file
  426. </p>
  427. </dd>
  428. <dt><code>Uv</code></dt>
  429. <dd><p>A memory reference suitable for VFP load/store insns (reg+constant offset)
  430. </p>
  431. </dd>
  432. <dt><code>Uy</code></dt>
  433. <dd><p>A memory reference suitable for iWMMXt load/store instructions.
  434. </p>
  435. </dd>
  436. <dt><code>Uq</code></dt>
  437. <dd><p>A memory reference suitable for the ARMv4 ldrsb instruction.
  438. </p></dd>
  439. </dl>
  440. </dd>
  441. <dt><em>AVR family&mdash;<samp>config/avr/constraints.md</samp></em></dt>
  442. <dd><dl compact="compact">
  443. <dt><code>l</code></dt>
  444. <dd><p>Registers from r0 to r15
  445. </p>
  446. </dd>
  447. <dt><code>a</code></dt>
  448. <dd><p>Registers from r16 to r23
  449. </p>
  450. </dd>
  451. <dt><code>d</code></dt>
  452. <dd><p>Registers from r16 to r31
  453. </p>
  454. </dd>
  455. <dt><code>w</code></dt>
  456. <dd><p>Registers from r24 to r31. These registers can be used in &lsquo;<samp>adiw</samp>&rsquo; command
  457. </p>
  458. </dd>
  459. <dt><code>e</code></dt>
  460. <dd><p>Pointer register (r26&ndash;r31)
  461. </p>
  462. </dd>
  463. <dt><code>b</code></dt>
  464. <dd><p>Base pointer register (r28&ndash;r31)
  465. </p>
  466. </dd>
  467. <dt><code>q</code></dt>
  468. <dd><p>Stack pointer register (SPH:SPL)
  469. </p>
  470. </dd>
  471. <dt><code>t</code></dt>
  472. <dd><p>Temporary register r0
  473. </p>
  474. </dd>
  475. <dt><code>x</code></dt>
  476. <dd><p>Register pair X (r27:r26)
  477. </p>
  478. </dd>
  479. <dt><code>y</code></dt>
  480. <dd><p>Register pair Y (r29:r28)
  481. </p>
  482. </dd>
  483. <dt><code>z</code></dt>
  484. <dd><p>Register pair Z (r31:r30)
  485. </p>
  486. </dd>
  487. <dt><code>I</code></dt>
  488. <dd><p>Constant greater than -1, less than 64
  489. </p>
  490. </dd>
  491. <dt><code>J</code></dt>
  492. <dd><p>Constant greater than -64, less than 1
  493. </p>
  494. </dd>
  495. <dt><code>K</code></dt>
  496. <dd><p>Constant integer 2
  497. </p>
  498. </dd>
  499. <dt><code>L</code></dt>
  500. <dd><p>Constant integer 0
  501. </p>
  502. </dd>
  503. <dt><code>M</code></dt>
  504. <dd><p>Constant that fits in 8 bits
  505. </p>
  506. </dd>
  507. <dt><code>N</code></dt>
  508. <dd><p>Constant integer -1
  509. </p>
  510. </dd>
  511. <dt><code>O</code></dt>
  512. <dd><p>Constant integer 8, 16, or 24
  513. </p>
  514. </dd>
  515. <dt><code>P</code></dt>
  516. <dd><p>Constant integer 1
  517. </p>
  518. </dd>
  519. <dt><code>G</code></dt>
  520. <dd><p>A floating point constant 0.0
  521. </p>
  522. </dd>
  523. <dt><code>Q</code></dt>
  524. <dd><p>A memory address based on Y or Z pointer with displacement.
  525. </p></dd>
  526. </dl>
  527. </dd>
  528. <dt><em>Blackfin family&mdash;<samp>config/bfin/constraints.md</samp></em></dt>
  529. <dd><dl compact="compact">
  530. <dt><code>a</code></dt>
  531. <dd><p>P register
  532. </p>
  533. </dd>
  534. <dt><code>d</code></dt>
  535. <dd><p>D register
  536. </p>
  537. </dd>
  538. <dt><code>z</code></dt>
  539. <dd><p>A call clobbered P register.
  540. </p>
  541. </dd>
  542. <dt><code>q<var>n</var></code></dt>
  543. <dd><p>A single register. If <var>n</var> is in the range 0 to 7, the corresponding D
  544. register. If it is <code>A</code>, then the register P0.
  545. </p>
  546. </dd>
  547. <dt><code>D</code></dt>
  548. <dd><p>Even-numbered D register
  549. </p>
  550. </dd>
  551. <dt><code>W</code></dt>
  552. <dd><p>Odd-numbered D register
  553. </p>
  554. </dd>
  555. <dt><code>e</code></dt>
  556. <dd><p>Accumulator register.
  557. </p>
  558. </dd>
  559. <dt><code>A</code></dt>
  560. <dd><p>Even-numbered accumulator register.
  561. </p>
  562. </dd>
  563. <dt><code>B</code></dt>
  564. <dd><p>Odd-numbered accumulator register.
  565. </p>
  566. </dd>
  567. <dt><code>b</code></dt>
  568. <dd><p>I register
  569. </p>
  570. </dd>
  571. <dt><code>v</code></dt>
  572. <dd><p>B register
  573. </p>
  574. </dd>
  575. <dt><code>f</code></dt>
  576. <dd><p>M register
  577. </p>
  578. </dd>
  579. <dt><code>c</code></dt>
  580. <dd><p>Registers used for circular buffering, i.e. I, B, or L registers.
  581. </p>
  582. </dd>
  583. <dt><code>C</code></dt>
  584. <dd><p>The CC register.
  585. </p>
  586. </dd>
  587. <dt><code>t</code></dt>
  588. <dd><p>LT0 or LT1.
  589. </p>
  590. </dd>
  591. <dt><code>k</code></dt>
  592. <dd><p>LC0 or LC1.
  593. </p>
  594. </dd>
  595. <dt><code>u</code></dt>
  596. <dd><p>LB0 or LB1.
  597. </p>
  598. </dd>
  599. <dt><code>x</code></dt>
  600. <dd><p>Any D, P, B, M, I or L register.
  601. </p>
  602. </dd>
  603. <dt><code>y</code></dt>
  604. <dd><p>Additional registers typically used only in prologues and epilogues: RETS,
  605. RETN, RETI, RETX, RETE, ASTAT, SEQSTAT and USP.
  606. </p>
  607. </dd>
  608. <dt><code>w</code></dt>
  609. <dd><p>Any register except accumulators or CC.
  610. </p>
  611. </dd>
  612. <dt><code>Ksh</code></dt>
  613. <dd><p>Signed 16 bit integer (in the range -32768 to 32767)
  614. </p>
  615. </dd>
  616. <dt><code>Kuh</code></dt>
  617. <dd><p>Unsigned 16 bit integer (in the range 0 to 65535)
  618. </p>
  619. </dd>
  620. <dt><code>Ks7</code></dt>
  621. <dd><p>Signed 7 bit integer (in the range -64 to 63)
  622. </p>
  623. </dd>
  624. <dt><code>Ku7</code></dt>
  625. <dd><p>Unsigned 7 bit integer (in the range 0 to 127)
  626. </p>
  627. </dd>
  628. <dt><code>Ku5</code></dt>
  629. <dd><p>Unsigned 5 bit integer (in the range 0 to 31)
  630. </p>
  631. </dd>
  632. <dt><code>Ks4</code></dt>
  633. <dd><p>Signed 4 bit integer (in the range -8 to 7)
  634. </p>
  635. </dd>
  636. <dt><code>Ks3</code></dt>
  637. <dd><p>Signed 3 bit integer (in the range -3 to 4)
  638. </p>
  639. </dd>
  640. <dt><code>Ku3</code></dt>
  641. <dd><p>Unsigned 3 bit integer (in the range 0 to 7)
  642. </p>
  643. </dd>
  644. <dt><code>P<var>n</var></code></dt>
  645. <dd><p>Constant <var>n</var>, where <var>n</var> is a single-digit constant in the range 0 to 4.
  646. </p>
  647. </dd>
  648. <dt><code>PA</code></dt>
  649. <dd><p>An integer equal to one of the MACFLAG_XXX constants that is suitable for
  650. use with either accumulator.
  651. </p>
  652. </dd>
  653. <dt><code>PB</code></dt>
  654. <dd><p>An integer equal to one of the MACFLAG_XXX constants that is suitable for
  655. use only with accumulator A1.
  656. </p>
  657. </dd>
  658. <dt><code>M1</code></dt>
  659. <dd><p>Constant 255.
  660. </p>
  661. </dd>
  662. <dt><code>M2</code></dt>
  663. <dd><p>Constant 65535.
  664. </p>
  665. </dd>
  666. <dt><code>J</code></dt>
  667. <dd><p>An integer constant with exactly a single bit set.
  668. </p>
  669. </dd>
  670. <dt><code>L</code></dt>
  671. <dd><p>An integer constant with all bits set except exactly one.
  672. </p>
  673. </dd>
  674. <dt><code>H</code></dt>
  675. <dt><code>Q</code></dt>
  676. <dd><p>Any SYMBOL_REF.
  677. </p></dd>
  678. </dl>
  679. </dd>
  680. <dt><em>CR16 Architecture&mdash;<samp>config/cr16/cr16.h</samp></em></dt>
  681. <dd><dl compact="compact">
  682. <dt><code>b</code></dt>
  683. <dd><p>Registers from r0 to r14 (registers without stack pointer)
  684. </p>
  685. </dd>
  686. <dt><code>t</code></dt>
  687. <dd><p>Register from r0 to r11 (all 16-bit registers)
  688. </p>
  689. </dd>
  690. <dt><code>p</code></dt>
  691. <dd><p>Register from r12 to r15 (all 32-bit registers)
  692. </p>
  693. </dd>
  694. <dt><code>I</code></dt>
  695. <dd><p>Signed constant that fits in 4 bits
  696. </p>
  697. </dd>
  698. <dt><code>J</code></dt>
  699. <dd><p>Signed constant that fits in 5 bits
  700. </p>
  701. </dd>
  702. <dt><code>K</code></dt>
  703. <dd><p>Signed constant that fits in 6 bits
  704. </p>
  705. </dd>
  706. <dt><code>L</code></dt>
  707. <dd><p>Unsigned constant that fits in 4 bits
  708. </p>
  709. </dd>
  710. <dt><code>M</code></dt>
  711. <dd><p>Signed constant that fits in 32 bits
  712. </p>
  713. </dd>
  714. <dt><code>N</code></dt>
  715. <dd><p>Check for 64 bits wide constants for add/sub instructions
  716. </p>
  717. </dd>
  718. <dt><code>G</code></dt>
  719. <dd><p>Floating point constant that is legal for store immediate
  720. </p></dd>
  721. </dl>
  722. </dd>
  723. <dt><em>C-SKY&mdash;<samp>config/csky/constraints.md</samp></em></dt>
  724. <dd><dl compact="compact">
  725. <dt><code>a</code></dt>
  726. <dd><p>The mini registers r0 - r7.
  727. </p>
  728. </dd>
  729. <dt><code>b</code></dt>
  730. <dd><p>The low registers r0 - r15.
  731. </p>
  732. </dd>
  733. <dt><code>c</code></dt>
  734. <dd><p>C register.
  735. </p>
  736. </dd>
  737. <dt><code>y</code></dt>
  738. <dd><p>HI and LO registers.
  739. </p>
  740. </dd>
  741. <dt><code>l</code></dt>
  742. <dd><p>LO register.
  743. </p>
  744. </dd>
  745. <dt><code>h</code></dt>
  746. <dd><p>HI register.
  747. </p>
  748. </dd>
  749. <dt><code>v</code></dt>
  750. <dd><p>Vector registers.
  751. </p>
  752. </dd>
  753. <dt><code>z</code></dt>
  754. <dd><p>Stack pointer register (SP).
  755. </p></dd>
  756. </dl>
  757. </dd>
  758. <dt><em>Epiphany&mdash;<samp>config/epiphany/constraints.md</samp></em></dt>
  759. <dd><dl compact="compact">
  760. <dt><code>U16</code></dt>
  761. <dd><p>An unsigned 16-bit constant.
  762. </p>
  763. </dd>
  764. <dt><code>K</code></dt>
  765. <dd><p>An unsigned 5-bit constant.
  766. </p>
  767. </dd>
  768. <dt><code>L</code></dt>
  769. <dd><p>A signed 11-bit constant.
  770. </p>
  771. </dd>
  772. <dt><code>Cm1</code></dt>
  773. <dd><p>A signed 11-bit constant added to -1.
  774. Can only match when the <samp>-m1reg-<var>reg</var></samp> option is active.
  775. </p>
  776. </dd>
  777. <dt><code>Cl1</code></dt>
  778. <dd><p>Left-shift of -1, i.e., a bit mask with a block of leading ones, the rest
  779. being a block of trailing zeroes.
  780. Can only match when the <samp>-m1reg-<var>reg</var></samp> option is active.
  781. </p>
  782. </dd>
  783. <dt><code>Cr1</code></dt>
  784. <dd><p>Right-shift of -1, i.e., a bit mask with a trailing block of ones, the
  785. rest being zeroes. Or to put it another way, one less than a power of two.
  786. Can only match when the <samp>-m1reg-<var>reg</var></samp> option is active.
  787. </p>
  788. </dd>
  789. <dt><code>Cal</code></dt>
  790. <dd><p>Constant for arithmetic/logical operations.
  791. This is like <code>i</code>, except that for position independent code,
  792. no symbols / expressions needing relocations are allowed.
  793. </p>
  794. </dd>
  795. <dt><code>Csy</code></dt>
  796. <dd><p>Symbolic constant for call/jump instruction.
  797. </p>
  798. </dd>
  799. <dt><code>Rcs</code></dt>
  800. <dd><p>The register class usable in short insns. This is a register class
  801. constraint, and can thus drive register allocation.
  802. This constraint won&rsquo;t match unless <samp>-mprefer-short-insn-regs</samp> is
  803. in effect.
  804. </p>
  805. </dd>
  806. <dt><code>Rsc</code></dt>
  807. <dd><p>The the register class of registers that can be used to hold a
  808. sibcall call address. I.e., a caller-saved register.
  809. </p>
  810. </dd>
  811. <dt><code>Rct</code></dt>
  812. <dd><p>Core control register class.
  813. </p>
  814. </dd>
  815. <dt><code>Rgs</code></dt>
  816. <dd><p>The register group usable in short insns.
  817. This constraint does not use a register class, so that it only
  818. passively matches suitable registers, and doesn&rsquo;t drive register allocation.
  819. </p>
  820. </dd>
  821. <dt><code>Rra</code></dt>
  822. <dd><p>Matches the return address if it can be replaced with the link register.
  823. </p>
  824. </dd>
  825. <dt><code>Rcc</code></dt>
  826. <dd><p>Matches the integer condition code register.
  827. </p>
  828. </dd>
  829. <dt><code>Sra</code></dt>
  830. <dd><p>Matches the return address if it is in a stack slot.
  831. </p>
  832. </dd>
  833. <dt><code>Cfm</code></dt>
  834. <dd><p>Matches control register values to switch fp mode, which are encapsulated in
  835. <code>UNSPEC_FP_MODE</code>.
  836. </p></dd>
  837. </dl>
  838. </dd>
  839. <dt><em>FRV&mdash;<samp>config/frv/frv.h</samp></em></dt>
  840. <dd><dl compact="compact">
  841. <dt><code>a</code></dt>
  842. <dd><p>Register in the class <code>ACC_REGS</code> (<code>acc0</code> to <code>acc7</code>).
  843. </p>
  844. </dd>
  845. <dt><code>b</code></dt>
  846. <dd><p>Register in the class <code>EVEN_ACC_REGS</code> (<code>acc0</code> to <code>acc7</code>).
  847. </p>
  848. </dd>
  849. <dt><code>c</code></dt>
  850. <dd><p>Register in the class <code>CC_REGS</code> (<code>fcc0</code> to <code>fcc3</code> and
  851. <code>icc0</code> to <code>icc3</code>).
  852. </p>
  853. </dd>
  854. <dt><code>d</code></dt>
  855. <dd><p>Register in the class <code>GPR_REGS</code> (<code>gr0</code> to <code>gr63</code>).
  856. </p>
  857. </dd>
  858. <dt><code>e</code></dt>
  859. <dd><p>Register in the class <code>EVEN_REGS</code> (<code>gr0</code> to <code>gr63</code>).
  860. Odd registers are excluded not in the class but through the use of a machine
  861. mode larger than 4 bytes.
  862. </p>
  863. </dd>
  864. <dt><code>f</code></dt>
  865. <dd><p>Register in the class <code>FPR_REGS</code> (<code>fr0</code> to <code>fr63</code>).
  866. </p>
  867. </dd>
  868. <dt><code>h</code></dt>
  869. <dd><p>Register in the class <code>FEVEN_REGS</code> (<code>fr0</code> to <code>fr63</code>).
  870. Odd registers are excluded not in the class but through the use of a machine
  871. mode larger than 4 bytes.
  872. </p>
  873. </dd>
  874. <dt><code>l</code></dt>
  875. <dd><p>Register in the class <code>LR_REG</code> (the <code>lr</code> register).
  876. </p>
  877. </dd>
  878. <dt><code>q</code></dt>
  879. <dd><p>Register in the class <code>QUAD_REGS</code> (<code>gr2</code> to <code>gr63</code>).
  880. Register numbers not divisible by 4 are excluded not in the class but through
  881. the use of a machine mode larger than 8 bytes.
  882. </p>
  883. </dd>
  884. <dt><code>t</code></dt>
  885. <dd><p>Register in the class <code>ICC_REGS</code> (<code>icc0</code> to <code>icc3</code>).
  886. </p>
  887. </dd>
  888. <dt><code>u</code></dt>
  889. <dd><p>Register in the class <code>FCC_REGS</code> (<code>fcc0</code> to <code>fcc3</code>).
  890. </p>
  891. </dd>
  892. <dt><code>v</code></dt>
  893. <dd><p>Register in the class <code>ICR_REGS</code> (<code>cc4</code> to <code>cc7</code>).
  894. </p>
  895. </dd>
  896. <dt><code>w</code></dt>
  897. <dd><p>Register in the class <code>FCR_REGS</code> (<code>cc0</code> to <code>cc3</code>).
  898. </p>
  899. </dd>
  900. <dt><code>x</code></dt>
  901. <dd><p>Register in the class <code>QUAD_FPR_REGS</code> (<code>fr0</code> to <code>fr63</code>).
  902. Register numbers not divisible by 4 are excluded not in the class but through
  903. the use of a machine mode larger than 8 bytes.
  904. </p>
  905. </dd>
  906. <dt><code>z</code></dt>
  907. <dd><p>Register in the class <code>SPR_REGS</code> (<code>lcr</code> and <code>lr</code>).
  908. </p>
  909. </dd>
  910. <dt><code>A</code></dt>
  911. <dd><p>Register in the class <code>QUAD_ACC_REGS</code> (<code>acc0</code> to <code>acc7</code>).
  912. </p>
  913. </dd>
  914. <dt><code>B</code></dt>
  915. <dd><p>Register in the class <code>ACCG_REGS</code> (<code>accg0</code> to <code>accg7</code>).
  916. </p>
  917. </dd>
  918. <dt><code>C</code></dt>
  919. <dd><p>Register in the class <code>CR_REGS</code> (<code>cc0</code> to <code>cc7</code>).
  920. </p>
  921. </dd>
  922. <dt><code>G</code></dt>
  923. <dd><p>Floating point constant zero
  924. </p>
  925. </dd>
  926. <dt><code>I</code></dt>
  927. <dd><p>6-bit signed integer constant
  928. </p>
  929. </dd>
  930. <dt><code>J</code></dt>
  931. <dd><p>10-bit signed integer constant
  932. </p>
  933. </dd>
  934. <dt><code>L</code></dt>
  935. <dd><p>16-bit signed integer constant
  936. </p>
  937. </dd>
  938. <dt><code>M</code></dt>
  939. <dd><p>16-bit unsigned integer constant
  940. </p>
  941. </dd>
  942. <dt><code>N</code></dt>
  943. <dd><p>12-bit signed integer constant that is negative&mdash;i.e. in the
  944. range of -2048 to -1
  945. </p>
  946. </dd>
  947. <dt><code>O</code></dt>
  948. <dd><p>Constant zero
  949. </p>
  950. </dd>
  951. <dt><code>P</code></dt>
  952. <dd><p>12-bit signed integer constant that is greater than zero&mdash;i.e. in the
  953. range of 1 to 2047.
  954. </p>
  955. </dd>
  956. </dl>
  957. </dd>
  958. <dt><em>FT32&mdash;<samp>config/ft32/constraints.md</samp></em></dt>
  959. <dd><dl compact="compact">
  960. <dt><code>A</code></dt>
  961. <dd><p>An absolute address
  962. </p>
  963. </dd>
  964. <dt><code>B</code></dt>
  965. <dd><p>An offset address
  966. </p>
  967. </dd>
  968. <dt><code>W</code></dt>
  969. <dd><p>A register indirect memory operand
  970. </p>
  971. </dd>
  972. <dt><code>e</code></dt>
  973. <dd><p>An offset address.
  974. </p>
  975. </dd>
  976. <dt><code>f</code></dt>
  977. <dd><p>An offset address.
  978. </p>
  979. </dd>
  980. <dt><code>O</code></dt>
  981. <dd><p>The constant zero or one
  982. </p>
  983. </dd>
  984. <dt><code>I</code></dt>
  985. <dd><p>A 16-bit signed constant (-32768 &hellip; 32767)
  986. </p>
  987. </dd>
  988. <dt><code>w</code></dt>
  989. <dd><p>A bitfield mask suitable for bext or bins
  990. </p>
  991. </dd>
  992. <dt><code>x</code></dt>
  993. <dd><p>An inverted bitfield mask suitable for bext or bins
  994. </p>
  995. </dd>
  996. <dt><code>L</code></dt>
  997. <dd><p>A 16-bit unsigned constant, multiple of 4 (0 &hellip; 65532)
  998. </p>
  999. </dd>
  1000. <dt><code>S</code></dt>
  1001. <dd><p>A 20-bit signed constant (-524288 &hellip; 524287)
  1002. </p>
  1003. </dd>
  1004. <dt><code>b</code></dt>
  1005. <dd><p>A constant for a bitfield width (1 &hellip; 16)
  1006. </p>
  1007. </dd>
  1008. <dt><code>KA</code></dt>
  1009. <dd><p>A 10-bit signed constant (-512 &hellip; 511)
  1010. </p>
  1011. </dd>
  1012. </dl>
  1013. </dd>
  1014. <dt><em>Hewlett-Packard PA-RISC&mdash;<samp>config/pa/pa.h</samp></em></dt>
  1015. <dd><dl compact="compact">
  1016. <dt><code>a</code></dt>
  1017. <dd><p>General register 1
  1018. </p>
  1019. </dd>
  1020. <dt><code>f</code></dt>
  1021. <dd><p>Floating point register
  1022. </p>
  1023. </dd>
  1024. <dt><code>q</code></dt>
  1025. <dd><p>Shift amount register
  1026. </p>
  1027. </dd>
  1028. <dt><code>x</code></dt>
  1029. <dd><p>Floating point register (deprecated)
  1030. </p>
  1031. </dd>
  1032. <dt><code>y</code></dt>
  1033. <dd><p>Upper floating point register (32-bit), floating point register (64-bit)
  1034. </p>
  1035. </dd>
  1036. <dt><code>Z</code></dt>
  1037. <dd><p>Any register
  1038. </p>
  1039. </dd>
  1040. <dt><code>I</code></dt>
  1041. <dd><p>Signed 11-bit integer constant
  1042. </p>
  1043. </dd>
  1044. <dt><code>J</code></dt>
  1045. <dd><p>Signed 14-bit integer constant
  1046. </p>
  1047. </dd>
  1048. <dt><code>K</code></dt>
  1049. <dd><p>Integer constant that can be deposited with a <code>zdepi</code> instruction
  1050. </p>
  1051. </dd>
  1052. <dt><code>L</code></dt>
  1053. <dd><p>Signed 5-bit integer constant
  1054. </p>
  1055. </dd>
  1056. <dt><code>M</code></dt>
  1057. <dd><p>Integer constant 0
  1058. </p>
  1059. </dd>
  1060. <dt><code>N</code></dt>
  1061. <dd><p>Integer constant that can be loaded with a <code>ldil</code> instruction
  1062. </p>
  1063. </dd>
  1064. <dt><code>O</code></dt>
  1065. <dd><p>Integer constant whose value plus one is a power of 2
  1066. </p>
  1067. </dd>
  1068. <dt><code>P</code></dt>
  1069. <dd><p>Integer constant that can be used for <code>and</code> operations in <code>depi</code>
  1070. and <code>extru</code> instructions
  1071. </p>
  1072. </dd>
  1073. <dt><code>S</code></dt>
  1074. <dd><p>Integer constant 31
  1075. </p>
  1076. </dd>
  1077. <dt><code>U</code></dt>
  1078. <dd><p>Integer constant 63
  1079. </p>
  1080. </dd>
  1081. <dt><code>G</code></dt>
  1082. <dd><p>Floating-point constant 0.0
  1083. </p>
  1084. </dd>
  1085. <dt><code>A</code></dt>
  1086. <dd><p>A <code>lo_sum</code> data-linkage-table memory operand
  1087. </p>
  1088. </dd>
  1089. <dt><code>Q</code></dt>
  1090. <dd><p>A memory operand that can be used as the destination operand of an
  1091. integer store instruction
  1092. </p>
  1093. </dd>
  1094. <dt><code>R</code></dt>
  1095. <dd><p>A scaled or unscaled indexed memory operand
  1096. </p>
  1097. </dd>
  1098. <dt><code>T</code></dt>
  1099. <dd><p>A memory operand for floating-point loads and stores
  1100. </p>
  1101. </dd>
  1102. <dt><code>W</code></dt>
  1103. <dd><p>A register indirect memory operand
  1104. </p></dd>
  1105. </dl>
  1106. </dd>
  1107. <dt><em>Intel IA-64&mdash;<samp>config/ia64/ia64.h</samp></em></dt>
  1108. <dd><dl compact="compact">
  1109. <dt><code>a</code></dt>
  1110. <dd><p>General register <code>r0</code> to <code>r3</code> for <code>addl</code> instruction
  1111. </p>
  1112. </dd>
  1113. <dt><code>b</code></dt>
  1114. <dd><p>Branch register
  1115. </p>
  1116. </dd>
  1117. <dt><code>c</code></dt>
  1118. <dd><p>Predicate register (&lsquo;<samp>c</samp>&rsquo; as in &ldquo;conditional&rdquo;)
  1119. </p>
  1120. </dd>
  1121. <dt><code>d</code></dt>
  1122. <dd><p>Application register residing in M-unit
  1123. </p>
  1124. </dd>
  1125. <dt><code>e</code></dt>
  1126. <dd><p>Application register residing in I-unit
  1127. </p>
  1128. </dd>
  1129. <dt><code>f</code></dt>
  1130. <dd><p>Floating-point register
  1131. </p>
  1132. </dd>
  1133. <dt><code>m</code></dt>
  1134. <dd><p>Memory operand. If used together with &lsquo;<samp>&lt;</samp>&rsquo; or &lsquo;<samp>&gt;</samp>&rsquo;,
  1135. the operand can have postincrement and postdecrement which
  1136. require printing with &lsquo;<samp>%Pn</samp>&rsquo; on IA-64.
  1137. </p>
  1138. </dd>
  1139. <dt><code>G</code></dt>
  1140. <dd><p>Floating-point constant 0.0 or 1.0
  1141. </p>
  1142. </dd>
  1143. <dt><code>I</code></dt>
  1144. <dd><p>14-bit signed integer constant
  1145. </p>
  1146. </dd>
  1147. <dt><code>J</code></dt>
  1148. <dd><p>22-bit signed integer constant
  1149. </p>
  1150. </dd>
  1151. <dt><code>K</code></dt>
  1152. <dd><p>8-bit signed integer constant for logical instructions
  1153. </p>
  1154. </dd>
  1155. <dt><code>L</code></dt>
  1156. <dd><p>8-bit adjusted signed integer constant for compare pseudo-ops
  1157. </p>
  1158. </dd>
  1159. <dt><code>M</code></dt>
  1160. <dd><p>6-bit unsigned integer constant for shift counts
  1161. </p>
  1162. </dd>
  1163. <dt><code>N</code></dt>
  1164. <dd><p>9-bit signed integer constant for load and store postincrements
  1165. </p>
  1166. </dd>
  1167. <dt><code>O</code></dt>
  1168. <dd><p>The constant zero
  1169. </p>
  1170. </dd>
  1171. <dt><code>P</code></dt>
  1172. <dd><p>0 or -1 for <code>dep</code> instruction
  1173. </p>
  1174. </dd>
  1175. <dt><code>Q</code></dt>
  1176. <dd><p>Non-volatile memory for floating-point loads and stores
  1177. </p>
  1178. </dd>
  1179. <dt><code>R</code></dt>
  1180. <dd><p>Integer constant in the range 1 to 4 for <code>shladd</code> instruction
  1181. </p>
  1182. </dd>
  1183. <dt><code>S</code></dt>
  1184. <dd><p>Memory operand except postincrement and postdecrement. This is
  1185. now roughly the same as &lsquo;<samp>m</samp>&rsquo; when not used together with &lsquo;<samp>&lt;</samp>&rsquo;
  1186. or &lsquo;<samp>&gt;</samp>&rsquo;.
  1187. </p></dd>
  1188. </dl>
  1189. </dd>
  1190. <dt><em>M32C&mdash;<samp>config/m32c/m32c.c</samp></em></dt>
  1191. <dd><dl compact="compact">
  1192. <dt><code>Rsp</code></dt>
  1193. <dt><code>Rfb</code></dt>
  1194. <dt><code>Rsb</code></dt>
  1195. <dd><p>&lsquo;<samp>$sp</samp>&rsquo;, &lsquo;<samp>$fb</samp>&rsquo;, &lsquo;<samp>$sb</samp>&rsquo;.
  1196. </p>
  1197. </dd>
  1198. <dt><code>Rcr</code></dt>
  1199. <dd><p>Any control register, when they&rsquo;re 16 bits wide (nothing if control
  1200. registers are 24 bits wide)
  1201. </p>
  1202. </dd>
  1203. <dt><code>Rcl</code></dt>
  1204. <dd><p>Any control register, when they&rsquo;re 24 bits wide.
  1205. </p>
  1206. </dd>
  1207. <dt><code>R0w</code></dt>
  1208. <dt><code>R1w</code></dt>
  1209. <dt><code>R2w</code></dt>
  1210. <dt><code>R3w</code></dt>
  1211. <dd><p>$r0, $r1, $r2, $r3.
  1212. </p>
  1213. </dd>
  1214. <dt><code>R02</code></dt>
  1215. <dd><p>$r0 or $r2, or $r2r0 for 32 bit values.
  1216. </p>
  1217. </dd>
  1218. <dt><code>R13</code></dt>
  1219. <dd><p>$r1 or $r3, or $r3r1 for 32 bit values.
  1220. </p>
  1221. </dd>
  1222. <dt><code>Rdi</code></dt>
  1223. <dd><p>A register that can hold a 64 bit value.
  1224. </p>
  1225. </dd>
  1226. <dt><code>Rhl</code></dt>
  1227. <dd><p>$r0 or $r1 (registers with addressable high/low bytes)
  1228. </p>
  1229. </dd>
  1230. <dt><code>R23</code></dt>
  1231. <dd><p>$r2 or $r3
  1232. </p>
  1233. </dd>
  1234. <dt><code>Raa</code></dt>
  1235. <dd><p>Address registers
  1236. </p>
  1237. </dd>
  1238. <dt><code>Raw</code></dt>
  1239. <dd><p>Address registers when they&rsquo;re 16 bits wide.
  1240. </p>
  1241. </dd>
  1242. <dt><code>Ral</code></dt>
  1243. <dd><p>Address registers when they&rsquo;re 24 bits wide.
  1244. </p>
  1245. </dd>
  1246. <dt><code>Rqi</code></dt>
  1247. <dd><p>Registers that can hold QI values.
  1248. </p>
  1249. </dd>
  1250. <dt><code>Rad</code></dt>
  1251. <dd><p>Registers that can be used with displacements ($a0, $a1, $sb).
  1252. </p>
  1253. </dd>
  1254. <dt><code>Rsi</code></dt>
  1255. <dd><p>Registers that can hold 32 bit values.
  1256. </p>
  1257. </dd>
  1258. <dt><code>Rhi</code></dt>
  1259. <dd><p>Registers that can hold 16 bit values.
  1260. </p>
  1261. </dd>
  1262. <dt><code>Rhc</code></dt>
  1263. <dd><p>Registers chat can hold 16 bit values, including all control
  1264. registers.
  1265. </p>
  1266. </dd>
  1267. <dt><code>Rra</code></dt>
  1268. <dd><p>$r0 through R1, plus $a0 and $a1.
  1269. </p>
  1270. </dd>
  1271. <dt><code>Rfl</code></dt>
  1272. <dd><p>The flags register.
  1273. </p>
  1274. </dd>
  1275. <dt><code>Rmm</code></dt>
  1276. <dd><p>The memory-based pseudo-registers $mem0 through $mem15.
  1277. </p>
  1278. </dd>
  1279. <dt><code>Rpi</code></dt>
  1280. <dd><p>Registers that can hold pointers (16 bit registers for r8c, m16c; 24
  1281. bit registers for m32cm, m32c).
  1282. </p>
  1283. </dd>
  1284. <dt><code>Rpa</code></dt>
  1285. <dd><p>Matches multiple registers in a PARALLEL to form a larger register.
  1286. Used to match function return values.
  1287. </p>
  1288. </dd>
  1289. <dt><code>Is3</code></dt>
  1290. <dd><p>-8 &hellip; 7
  1291. </p>
  1292. </dd>
  1293. <dt><code>IS1</code></dt>
  1294. <dd><p>-128 &hellip; 127
  1295. </p>
  1296. </dd>
  1297. <dt><code>IS2</code></dt>
  1298. <dd><p>-32768 &hellip; 32767
  1299. </p>
  1300. </dd>
  1301. <dt><code>IU2</code></dt>
  1302. <dd><p>0 &hellip; 65535
  1303. </p>
  1304. </dd>
  1305. <dt><code>In4</code></dt>
  1306. <dd><p>-8 &hellip; -1 or 1 &hellip; 8
  1307. </p>
  1308. </dd>
  1309. <dt><code>In5</code></dt>
  1310. <dd><p>-16 &hellip; -1 or 1 &hellip; 16
  1311. </p>
  1312. </dd>
  1313. <dt><code>In6</code></dt>
  1314. <dd><p>-32 &hellip; -1 or 1 &hellip; 32
  1315. </p>
  1316. </dd>
  1317. <dt><code>IM2</code></dt>
  1318. <dd><p>-65536 &hellip; -1
  1319. </p>
  1320. </dd>
  1321. <dt><code>Ilb</code></dt>
  1322. <dd><p>An 8 bit value with exactly one bit set.
  1323. </p>
  1324. </dd>
  1325. <dt><code>Ilw</code></dt>
  1326. <dd><p>A 16 bit value with exactly one bit set.
  1327. </p>
  1328. </dd>
  1329. <dt><code>Sd</code></dt>
  1330. <dd><p>The common src/dest memory addressing modes.
  1331. </p>
  1332. </dd>
  1333. <dt><code>Sa</code></dt>
  1334. <dd><p>Memory addressed using $a0 or $a1.
  1335. </p>
  1336. </dd>
  1337. <dt><code>Si</code></dt>
  1338. <dd><p>Memory addressed with immediate addresses.
  1339. </p>
  1340. </dd>
  1341. <dt><code>Ss</code></dt>
  1342. <dd><p>Memory addressed using the stack pointer ($sp).
  1343. </p>
  1344. </dd>
  1345. <dt><code>Sf</code></dt>
  1346. <dd><p>Memory addressed using the frame base register ($fb).
  1347. </p>
  1348. </dd>
  1349. <dt><code>Ss</code></dt>
  1350. <dd><p>Memory addressed using the small base register ($sb).
  1351. </p>
  1352. </dd>
  1353. <dt><code>S1</code></dt>
  1354. <dd><p>$r1h
  1355. </p></dd>
  1356. </dl>
  1357. </dd>
  1358. <dt><em>MicroBlaze&mdash;<samp>config/microblaze/constraints.md</samp></em></dt>
  1359. <dd><dl compact="compact">
  1360. <dt><code>d</code></dt>
  1361. <dd><p>A general register (<code>r0</code> to <code>r31</code>).
  1362. </p>
  1363. </dd>
  1364. <dt><code>z</code></dt>
  1365. <dd><p>A status register (<code>rmsr</code>, <code>$fcc1</code> to <code>$fcc7</code>).
  1366. </p>
  1367. </dd>
  1368. </dl>
  1369. </dd>
  1370. <dt><em>MIPS&mdash;<samp>config/mips/constraints.md</samp></em></dt>
  1371. <dd><dl compact="compact">
  1372. <dt><code>d</code></dt>
  1373. <dd><p>A general-purpose register. This is equivalent to <code>r</code> unless
  1374. generating MIPS16 code, in which case the MIPS16 register set is used.
  1375. </p>
  1376. </dd>
  1377. <dt><code>f</code></dt>
  1378. <dd><p>A floating-point register (if available).
  1379. </p>
  1380. </dd>
  1381. <dt><code>h</code></dt>
  1382. <dd><p>Formerly the <code>hi</code> register. This constraint is no longer supported.
  1383. </p>
  1384. </dd>
  1385. <dt><code>l</code></dt>
  1386. <dd><p>The <code>lo</code> register. Use this register to store values that are
  1387. no bigger than a word.
  1388. </p>
  1389. </dd>
  1390. <dt><code>x</code></dt>
  1391. <dd><p>The concatenated <code>hi</code> and <code>lo</code> registers. Use this register
  1392. to store doubleword values.
  1393. </p>
  1394. </dd>
  1395. <dt><code>c</code></dt>
  1396. <dd><p>A register suitable for use in an indirect jump. This will always be
  1397. <code>$25</code> for <samp>-mabicalls</samp>.
  1398. </p>
  1399. </dd>
  1400. <dt><code>v</code></dt>
  1401. <dd><p>Register <code>$3</code>. Do not use this constraint in new code;
  1402. it is retained only for compatibility with glibc.
  1403. </p>
  1404. </dd>
  1405. <dt><code>y</code></dt>
  1406. <dd><p>Equivalent to <code>r</code>; retained for backwards compatibility.
  1407. </p>
  1408. </dd>
  1409. <dt><code>z</code></dt>
  1410. <dd><p>A floating-point condition code register.
  1411. </p>
  1412. </dd>
  1413. <dt><code>I</code></dt>
  1414. <dd><p>A signed 16-bit constant (for arithmetic instructions).
  1415. </p>
  1416. </dd>
  1417. <dt><code>J</code></dt>
  1418. <dd><p>Integer zero.
  1419. </p>
  1420. </dd>
  1421. <dt><code>K</code></dt>
  1422. <dd><p>An unsigned 16-bit constant (for logic instructions).
  1423. </p>
  1424. </dd>
  1425. <dt><code>L</code></dt>
  1426. <dd><p>A signed 32-bit constant in which the lower 16 bits are zero.
  1427. Such constants can be loaded using <code>lui</code>.
  1428. </p>
  1429. </dd>
  1430. <dt><code>M</code></dt>
  1431. <dd><p>A constant that cannot be loaded using <code>lui</code>, <code>addiu</code>
  1432. or <code>ori</code>.
  1433. </p>
  1434. </dd>
  1435. <dt><code>N</code></dt>
  1436. <dd><p>A constant in the range -65535 to -1 (inclusive).
  1437. </p>
  1438. </dd>
  1439. <dt><code>O</code></dt>
  1440. <dd><p>A signed 15-bit constant.
  1441. </p>
  1442. </dd>
  1443. <dt><code>P</code></dt>
  1444. <dd><p>A constant in the range 1 to 65535 (inclusive).
  1445. </p>
  1446. </dd>
  1447. <dt><code>G</code></dt>
  1448. <dd><p>Floating-point zero.
  1449. </p>
  1450. </dd>
  1451. <dt><code>R</code></dt>
  1452. <dd><p>An address that can be used in a non-macro load or store.
  1453. </p>
  1454. </dd>
  1455. <dt><code>ZC</code></dt>
  1456. <dd><p>A memory operand whose address is formed by a base register and offset
  1457. that is suitable for use in instructions with the same addressing mode
  1458. as <code>ll</code> and <code>sc</code>.
  1459. </p>
  1460. </dd>
  1461. <dt><code>ZD</code></dt>
  1462. <dd><p>An address suitable for a <code>prefetch</code> instruction, or for any other
  1463. instruction with the same addressing mode as <code>prefetch</code>.
  1464. </p></dd>
  1465. </dl>
  1466. </dd>
  1467. <dt><em>Motorola 680x0&mdash;<samp>config/m68k/constraints.md</samp></em></dt>
  1468. <dd><dl compact="compact">
  1469. <dt><code>a</code></dt>
  1470. <dd><p>Address register
  1471. </p>
  1472. </dd>
  1473. <dt><code>d</code></dt>
  1474. <dd><p>Data register
  1475. </p>
  1476. </dd>
  1477. <dt><code>f</code></dt>
  1478. <dd><p>68881 floating-point register, if available
  1479. </p>
  1480. </dd>
  1481. <dt><code>I</code></dt>
  1482. <dd><p>Integer in the range 1 to 8
  1483. </p>
  1484. </dd>
  1485. <dt><code>J</code></dt>
  1486. <dd><p>16-bit signed number
  1487. </p>
  1488. </dd>
  1489. <dt><code>K</code></dt>
  1490. <dd><p>Signed number whose magnitude is greater than 0x80
  1491. </p>
  1492. </dd>
  1493. <dt><code>L</code></dt>
  1494. <dd><p>Integer in the range -8 to -1
  1495. </p>
  1496. </dd>
  1497. <dt><code>M</code></dt>
  1498. <dd><p>Signed number whose magnitude is greater than 0x100
  1499. </p>
  1500. </dd>
  1501. <dt><code>N</code></dt>
  1502. <dd><p>Range 24 to 31, rotatert:SI 8 to 1 expressed as rotate
  1503. </p>
  1504. </dd>
  1505. <dt><code>O</code></dt>
  1506. <dd><p>16 (for rotate using swap)
  1507. </p>
  1508. </dd>
  1509. <dt><code>P</code></dt>
  1510. <dd><p>Range 8 to 15, rotatert:HI 8 to 1 expressed as rotate
  1511. </p>
  1512. </dd>
  1513. <dt><code>R</code></dt>
  1514. <dd><p>Numbers that mov3q can handle
  1515. </p>
  1516. </dd>
  1517. <dt><code>G</code></dt>
  1518. <dd><p>Floating point constant that is not a 68881 constant
  1519. </p>
  1520. </dd>
  1521. <dt><code>S</code></dt>
  1522. <dd><p>Operands that satisfy &rsquo;m&rsquo; when -mpcrel is in effect
  1523. </p>
  1524. </dd>
  1525. <dt><code>T</code></dt>
  1526. <dd><p>Operands that satisfy &rsquo;s&rsquo; when -mpcrel is not in effect
  1527. </p>
  1528. </dd>
  1529. <dt><code>Q</code></dt>
  1530. <dd><p>Address register indirect addressing mode
  1531. </p>
  1532. </dd>
  1533. <dt><code>U</code></dt>
  1534. <dd><p>Register offset addressing
  1535. </p>
  1536. </dd>
  1537. <dt><code>W</code></dt>
  1538. <dd><p>const_call_operand
  1539. </p>
  1540. </dd>
  1541. <dt><code>Cs</code></dt>
  1542. <dd><p>symbol_ref or const
  1543. </p>
  1544. </dd>
  1545. <dt><code>Ci</code></dt>
  1546. <dd><p>const_int
  1547. </p>
  1548. </dd>
  1549. <dt><code>C0</code></dt>
  1550. <dd><p>const_int 0
  1551. </p>
  1552. </dd>
  1553. <dt><code>Cj</code></dt>
  1554. <dd><p>Range of signed numbers that don&rsquo;t fit in 16 bits
  1555. </p>
  1556. </dd>
  1557. <dt><code>Cmvq</code></dt>
  1558. <dd><p>Integers valid for mvq
  1559. </p>
  1560. </dd>
  1561. <dt><code>Capsw</code></dt>
  1562. <dd><p>Integers valid for a moveq followed by a swap
  1563. </p>
  1564. </dd>
  1565. <dt><code>Cmvz</code></dt>
  1566. <dd><p>Integers valid for mvz
  1567. </p>
  1568. </dd>
  1569. <dt><code>Cmvs</code></dt>
  1570. <dd><p>Integers valid for mvs
  1571. </p>
  1572. </dd>
  1573. <dt><code>Ap</code></dt>
  1574. <dd><p>push_operand
  1575. </p>
  1576. </dd>
  1577. <dt><code>Ac</code></dt>
  1578. <dd><p>Non-register operands allowed in clr
  1579. </p>
  1580. </dd>
  1581. </dl>
  1582. </dd>
  1583. <dt><em>Moxie&mdash;<samp>config/moxie/constraints.md</samp></em></dt>
  1584. <dd><dl compact="compact">
  1585. <dt><code>A</code></dt>
  1586. <dd><p>An absolute address
  1587. </p>
  1588. </dd>
  1589. <dt><code>B</code></dt>
  1590. <dd><p>An offset address
  1591. </p>
  1592. </dd>
  1593. <dt><code>W</code></dt>
  1594. <dd><p>A register indirect memory operand
  1595. </p>
  1596. </dd>
  1597. <dt><code>I</code></dt>
  1598. <dd><p>A constant in the range of 0 to 255.
  1599. </p>
  1600. </dd>
  1601. <dt><code>N</code></dt>
  1602. <dd><p>A constant in the range of 0 to -255.
  1603. </p>
  1604. </dd>
  1605. </dl>
  1606. </dd>
  1607. <dt><em>MSP430&ndash;<samp>config/msp430/constraints.md</samp></em></dt>
  1608. <dd><dl compact="compact">
  1609. <dt><code>R12</code></dt>
  1610. <dd><p>Register R12.
  1611. </p>
  1612. </dd>
  1613. <dt><code>R13</code></dt>
  1614. <dd><p>Register R13.
  1615. </p>
  1616. </dd>
  1617. <dt><code>K</code></dt>
  1618. <dd><p>Integer constant 1.
  1619. </p>
  1620. </dd>
  1621. <dt><code>L</code></dt>
  1622. <dd><p>Integer constant -1^20..1^19.
  1623. </p>
  1624. </dd>
  1625. <dt><code>M</code></dt>
  1626. <dd><p>Integer constant 1-4.
  1627. </p>
  1628. </dd>
  1629. <dt><code>Ya</code></dt>
  1630. <dd><p>Memory references which do not require an extended MOVX instruction.
  1631. </p>
  1632. </dd>
  1633. <dt><code>Yl</code></dt>
  1634. <dd><p>Memory reference, labels only.
  1635. </p>
  1636. </dd>
  1637. <dt><code>Ys</code></dt>
  1638. <dd><p>Memory reference, stack only.
  1639. </p>
  1640. </dd>
  1641. </dl>
  1642. </dd>
  1643. <dt><em>NDS32&mdash;<samp>config/nds32/constraints.md</samp></em></dt>
  1644. <dd><dl compact="compact">
  1645. <dt><code>w</code></dt>
  1646. <dd><p>LOW register class $r0 to $r7 constraint for V3/V3M ISA.
  1647. </p></dd>
  1648. <dt><code>l</code></dt>
  1649. <dd><p>LOW register class $r0 to $r7.
  1650. </p></dd>
  1651. <dt><code>d</code></dt>
  1652. <dd><p>MIDDLE register class $r0 to $r11, $r16 to $r19.
  1653. </p></dd>
  1654. <dt><code>h</code></dt>
  1655. <dd><p>HIGH register class $r12 to $r14, $r20 to $r31.
  1656. </p></dd>
  1657. <dt><code>t</code></dt>
  1658. <dd><p>Temporary assist register $ta (i.e. $r15).
  1659. </p></dd>
  1660. <dt><code>k</code></dt>
  1661. <dd><p>Stack register $sp.
  1662. </p></dd>
  1663. <dt><code>Iu03</code></dt>
  1664. <dd><p>Unsigned immediate 3-bit value.
  1665. </p></dd>
  1666. <dt><code>In03</code></dt>
  1667. <dd><p>Negative immediate 3-bit value in the range of -7&ndash;0.
  1668. </p></dd>
  1669. <dt><code>Iu04</code></dt>
  1670. <dd><p>Unsigned immediate 4-bit value.
  1671. </p></dd>
  1672. <dt><code>Is05</code></dt>
  1673. <dd><p>Signed immediate 5-bit value.
  1674. </p></dd>
  1675. <dt><code>Iu05</code></dt>
  1676. <dd><p>Unsigned immediate 5-bit value.
  1677. </p></dd>
  1678. <dt><code>In05</code></dt>
  1679. <dd><p>Negative immediate 5-bit value in the range of -31&ndash;0.
  1680. </p></dd>
  1681. <dt><code>Ip05</code></dt>
  1682. <dd><p>Unsigned immediate 5-bit value for movpi45 instruction with range 16&ndash;47.
  1683. </p></dd>
  1684. <dt><code>Iu06</code></dt>
  1685. <dd><p>Unsigned immediate 6-bit value constraint for addri36.sp instruction.
  1686. </p></dd>
  1687. <dt><code>Iu08</code></dt>
  1688. <dd><p>Unsigned immediate 8-bit value.
  1689. </p></dd>
  1690. <dt><code>Iu09</code></dt>
  1691. <dd><p>Unsigned immediate 9-bit value.
  1692. </p></dd>
  1693. <dt><code>Is10</code></dt>
  1694. <dd><p>Signed immediate 10-bit value.
  1695. </p></dd>
  1696. <dt><code>Is11</code></dt>
  1697. <dd><p>Signed immediate 11-bit value.
  1698. </p></dd>
  1699. <dt><code>Is15</code></dt>
  1700. <dd><p>Signed immediate 15-bit value.
  1701. </p></dd>
  1702. <dt><code>Iu15</code></dt>
  1703. <dd><p>Unsigned immediate 15-bit value.
  1704. </p></dd>
  1705. <dt><code>Ic15</code></dt>
  1706. <dd><p>A constant which is not in the range of imm15u but ok for bclr instruction.
  1707. </p></dd>
  1708. <dt><code>Ie15</code></dt>
  1709. <dd><p>A constant which is not in the range of imm15u but ok for bset instruction.
  1710. </p></dd>
  1711. <dt><code>It15</code></dt>
  1712. <dd><p>A constant which is not in the range of imm15u but ok for btgl instruction.
  1713. </p></dd>
  1714. <dt><code>Ii15</code></dt>
  1715. <dd><p>A constant whose compliment value is in the range of imm15u
  1716. and ok for bitci instruction.
  1717. </p></dd>
  1718. <dt><code>Is16</code></dt>
  1719. <dd><p>Signed immediate 16-bit value.
  1720. </p></dd>
  1721. <dt><code>Is17</code></dt>
  1722. <dd><p>Signed immediate 17-bit value.
  1723. </p></dd>
  1724. <dt><code>Is19</code></dt>
  1725. <dd><p>Signed immediate 19-bit value.
  1726. </p></dd>
  1727. <dt><code>Is20</code></dt>
  1728. <dd><p>Signed immediate 20-bit value.
  1729. </p></dd>
  1730. <dt><code>Ihig</code></dt>
  1731. <dd><p>The immediate value that can be simply set high 20-bit.
  1732. </p></dd>
  1733. <dt><code>Izeb</code></dt>
  1734. <dd><p>The immediate value 0xff.
  1735. </p></dd>
  1736. <dt><code>Izeh</code></dt>
  1737. <dd><p>The immediate value 0xffff.
  1738. </p></dd>
  1739. <dt><code>Ixls</code></dt>
  1740. <dd><p>The immediate value 0x01.
  1741. </p></dd>
  1742. <dt><code>Ix11</code></dt>
  1743. <dd><p>The immediate value 0x7ff.
  1744. </p></dd>
  1745. <dt><code>Ibms</code></dt>
  1746. <dd><p>The immediate value with power of 2.
  1747. </p></dd>
  1748. <dt><code>Ifex</code></dt>
  1749. <dd><p>The immediate value with power of 2 minus 1.
  1750. </p></dd>
  1751. <dt><code>U33</code></dt>
  1752. <dd><p>Memory constraint for 333 format.
  1753. </p></dd>
  1754. <dt><code>U45</code></dt>
  1755. <dd><p>Memory constraint for 45 format.
  1756. </p></dd>
  1757. <dt><code>U37</code></dt>
  1758. <dd><p>Memory constraint for 37 format.
  1759. </p></dd>
  1760. </dl>
  1761. </dd>
  1762. <dt><em>Nios II family&mdash;<samp>config/nios2/constraints.md</samp></em></dt>
  1763. <dd><dl compact="compact">
  1764. <dt><code>I</code></dt>
  1765. <dd><p>Integer that is valid as an immediate operand in an
  1766. instruction taking a signed 16-bit number. Range
  1767. -32768 to 32767.
  1768. </p>
  1769. </dd>
  1770. <dt><code>J</code></dt>
  1771. <dd><p>Integer that is valid as an immediate operand in an
  1772. instruction taking an unsigned 16-bit number. Range
  1773. 0 to 65535.
  1774. </p>
  1775. </dd>
  1776. <dt><code>K</code></dt>
  1777. <dd><p>Integer that is valid as an immediate operand in an
  1778. instruction taking only the upper 16-bits of a
  1779. 32-bit number. Range 32-bit numbers with the lower
  1780. 16-bits being 0.
  1781. </p>
  1782. </dd>
  1783. <dt><code>L</code></dt>
  1784. <dd><p>Integer that is valid as an immediate operand for a
  1785. shift instruction. Range 0 to 31.
  1786. </p>
  1787. </dd>
  1788. <dt><code>M</code></dt>
  1789. <dd><p>Integer that is valid as an immediate operand for
  1790. only the value 0. Can be used in conjunction with
  1791. the format modifier <code>z</code> to use <code>r0</code>
  1792. instead of <code>0</code> in the assembly output.
  1793. </p>
  1794. </dd>
  1795. <dt><code>N</code></dt>
  1796. <dd><p>Integer that is valid as an immediate operand for
  1797. a custom instruction opcode. Range 0 to 255.
  1798. </p>
  1799. </dd>
  1800. <dt><code>P</code></dt>
  1801. <dd><p>An immediate operand for R2 andchi/andci instructions.
  1802. </p>
  1803. </dd>
  1804. <dt><code>S</code></dt>
  1805. <dd><p>Matches immediates which are addresses in the small
  1806. data section and therefore can be added to <code>gp</code>
  1807. as a 16-bit immediate to re-create their 32-bit value.
  1808. </p>
  1809. </dd>
  1810. <dt><code>U</code></dt>
  1811. <dd><p>Matches constants suitable as an operand for the rdprs and
  1812. cache instructions.
  1813. </p>
  1814. </dd>
  1815. <dt><code>v</code></dt>
  1816. <dd><p>A memory operand suitable for Nios II R2 load/store
  1817. exclusive instructions.
  1818. </p>
  1819. </dd>
  1820. <dt><code>w</code></dt>
  1821. <dd><p>A memory operand suitable for load/store IO and cache
  1822. instructions.
  1823. </p>
  1824. </dd>
  1825. </dl>
  1826. </dd>
  1827. <dt><em>OpenRISC&mdash;<samp>config/or1k/constraints.md</samp></em></dt>
  1828. <dd><dl compact="compact">
  1829. <dt><code>I</code></dt>
  1830. <dd><p>Integer that is valid as an immediate operand in an
  1831. instruction taking a signed 16-bit number. Range
  1832. -32768 to 32767.
  1833. </p>
  1834. </dd>
  1835. <dt><code>K</code></dt>
  1836. <dd><p>Integer that is valid as an immediate operand in an
  1837. instruction taking an unsigned 16-bit number. Range
  1838. 0 to 65535.
  1839. </p>
  1840. </dd>
  1841. <dt><code>M</code></dt>
  1842. <dd><p>Signed 16-bit constant shifted left 16 bits. (Used with <code>l.movhi</code>)
  1843. </p>
  1844. </dd>
  1845. <dt><code>O</code></dt>
  1846. <dd><p>Zero
  1847. </p>
  1848. </dd>
  1849. </dl>
  1850. </dd>
  1851. <dt><em>PDP-11&mdash;<samp>config/pdp11/constraints.md</samp></em></dt>
  1852. <dd><dl compact="compact">
  1853. <dt><code>a</code></dt>
  1854. <dd><p>Floating point registers AC0 through AC3. These can be loaded from/to
  1855. memory with a single instruction.
  1856. </p>
  1857. </dd>
  1858. <dt><code>d</code></dt>
  1859. <dd><p>Odd numbered general registers (R1, R3, R5). These are used for
  1860. 16-bit multiply operations.
  1861. </p>
  1862. </dd>
  1863. <dt><code>D</code></dt>
  1864. <dd><p>A memory reference that is encoded within the opcode, but not
  1865. auto-increment or auto-decrement.
  1866. </p>
  1867. </dd>
  1868. <dt><code>f</code></dt>
  1869. <dd><p>Any of the floating point registers (AC0 through AC5).
  1870. </p>
  1871. </dd>
  1872. <dt><code>G</code></dt>
  1873. <dd><p>Floating point constant 0.
  1874. </p>
  1875. </dd>
  1876. <dt><code>h</code></dt>
  1877. <dd><p>Floating point registers AC4 and AC5. These cannot be loaded from/to
  1878. memory with a single instruction.
  1879. </p>
  1880. </dd>
  1881. <dt><code>I</code></dt>
  1882. <dd><p>An integer constant that fits in 16 bits.
  1883. </p>
  1884. </dd>
  1885. <dt><code>J</code></dt>
  1886. <dd><p>An integer constant whose low order 16 bits are zero.
  1887. </p>
  1888. </dd>
  1889. <dt><code>K</code></dt>
  1890. <dd><p>An integer constant that does not meet the constraints for codes
  1891. &lsquo;<samp>I</samp>&rsquo; or &lsquo;<samp>J</samp>&rsquo;.
  1892. </p>
  1893. </dd>
  1894. <dt><code>L</code></dt>
  1895. <dd><p>The integer constant 1.
  1896. </p>
  1897. </dd>
  1898. <dt><code>M</code></dt>
  1899. <dd><p>The integer constant -1.
  1900. </p>
  1901. </dd>
  1902. <dt><code>N</code></dt>
  1903. <dd><p>The integer constant 0.
  1904. </p>
  1905. </dd>
  1906. <dt><code>O</code></dt>
  1907. <dd><p>Integer constants 0 through 3; shifts by these
  1908. amounts are handled as multiple single-bit shifts rather than a single
  1909. variable-length shift.
  1910. </p>
  1911. </dd>
  1912. <dt><code>Q</code></dt>
  1913. <dd><p>A memory reference which requires an additional word (address or
  1914. offset) after the opcode.
  1915. </p>
  1916. </dd>
  1917. <dt><code>R</code></dt>
  1918. <dd><p>A memory reference that is encoded within the opcode.
  1919. </p>
  1920. </dd>
  1921. </dl>
  1922. </dd>
  1923. <dt><em>PowerPC and IBM RS6000&mdash;<samp>config/rs6000/constraints.md</samp></em></dt>
  1924. <dd><dl compact="compact">
  1925. <dt><code>r</code></dt>
  1926. <dd><p>A general purpose register (GPR), <code>r0</code>&hellip;<code>r31</code>.
  1927. </p>
  1928. </dd>
  1929. <dt><code>b</code></dt>
  1930. <dd><p>A base register. Like <code>r</code>, but <code>r0</code> is not allowed, so
  1931. <code>r1</code>&hellip;<code>r31</code>.
  1932. </p>
  1933. </dd>
  1934. <dt><code>f</code></dt>
  1935. <dd><p>A floating point register (FPR), <code>f0</code>&hellip;<code>f31</code>.
  1936. </p>
  1937. </dd>
  1938. <dt><code>d</code></dt>
  1939. <dd><p>A floating point register. This is the same as <code>f</code> nowadays;
  1940. historically <code>f</code> was for single-precision and <code>d</code> was for
  1941. double-precision floating point.
  1942. </p>
  1943. </dd>
  1944. <dt><code>v</code></dt>
  1945. <dd><p>An Altivec vector register (VR), <code>v0</code>&hellip;<code>v31</code>.
  1946. </p>
  1947. </dd>
  1948. <dt><code>wa</code></dt>
  1949. <dd><p>A VSX register (VSR), <code>vs0</code>&hellip;<code>vs63</code>. This is either an
  1950. FPR (<code>vs0</code>&hellip;<code>vs31</code> are <code>f0</code>&hellip;<code>f31</code>) or a VR
  1951. (<code>vs32</code>&hellip;<code>vs63</code> are <code>v0</code>&hellip;<code>v31</code>).
  1952. </p>
  1953. <p>When using <code>wa</code>, you should use the <code>%x</code> output modifier, so that
  1954. the correct register number is printed. For example:
  1955. </p>
  1956. <div class="smallexample">
  1957. <pre class="smallexample">asm (&quot;xvadddp %x0,%x1,%x2&quot;
  1958. : &quot;=wa&quot; (v1)
  1959. : &quot;wa&quot; (v2), &quot;wa&quot; (v3));
  1960. </pre></div>
  1961. <p>You should not use <code>%x</code> for <code>v</code> operands:
  1962. </p>
  1963. <div class="smallexample">
  1964. <pre class="smallexample">asm (&quot;xsaddqp %0,%1,%2&quot;
  1965. : &quot;=v&quot; (v1)
  1966. : &quot;v&quot; (v2), &quot;v&quot; (v3));
  1967. </pre></div>
  1968. </dd>
  1969. <dt><code>c</code></dt>
  1970. <dd><p>The count register, <code>ctr</code>.
  1971. </p>
  1972. </dd>
  1973. <dt><code>l</code></dt>
  1974. <dd><p>The link register, <code>lr</code>.
  1975. </p>
  1976. </dd>
  1977. <dt><code>x</code></dt>
  1978. <dd><p>Condition register field 0, <code>cr0</code>.
  1979. </p>
  1980. </dd>
  1981. <dt><code>y</code></dt>
  1982. <dd><p>Any condition register field, <code>cr0</code>&hellip;<code>cr7</code>.
  1983. </p>
  1984. </dd>
  1985. <dt><code>I</code></dt>
  1986. <dd><p>A signed 16-bit constant.
  1987. </p>
  1988. </dd>
  1989. <dt><code>J</code></dt>
  1990. <dd><p>An unsigned 16-bit constant shifted left 16 bits (use <code>L</code> instead
  1991. for <code>SImode</code> constants).
  1992. </p>
  1993. </dd>
  1994. <dt><code>K</code></dt>
  1995. <dd><p>An unsigned 16-bit constant.
  1996. </p>
  1997. </dd>
  1998. <dt><code>L</code></dt>
  1999. <dd><p>A signed 16-bit constant shifted left 16 bits.
  2000. </p>
  2001. </dd>
  2002. <dt><code>eI</code></dt>
  2003. <dd><p>A signed 34-bit integer constant if prefixed instructions are supported.
  2004. </p>
  2005. </dd>
  2006. <dt><code>m</code></dt>
  2007. <dd><p>A memory operand.
  2008. Normally, <code>m</code> does not allow addresses that update the base register.
  2009. If the <code>&lt;</code> or <code>&gt;</code> constraint is also used, they are allowed and
  2010. therefore on PowerPC targets in that case it is only safe
  2011. to use <code>m&lt;&gt;</code> in an <code>asm</code> statement if that <code>asm</code> statement
  2012. accesses the operand exactly once. The <code>asm</code> statement must also
  2013. use <code>%U<var>&lt;opno&gt;</var></code> as a placeholder for the &ldquo;update&rdquo; flag in the
  2014. corresponding load or store instruction. For example:
  2015. </p>
  2016. <div class="smallexample">
  2017. <pre class="smallexample">asm (&quot;st%U0 %1,%0&quot; : &quot;=m&lt;&gt;&quot; (mem) : &quot;r&quot; (val));
  2018. </pre></div>
  2019. <p>is correct but:
  2020. </p>
  2021. <div class="smallexample">
  2022. <pre class="smallexample">asm (&quot;st %1,%0&quot; : &quot;=m&lt;&gt;&quot; (mem) : &quot;r&quot; (val));
  2023. </pre></div>
  2024. <p>is not.
  2025. </p>
  2026. </dd>
  2027. <dt><code>Q</code></dt>
  2028. <dd><p>A memory operand addressed by just a base register.
  2029. </p>
  2030. </dd>
  2031. <dt><code>Z</code></dt>
  2032. <dd><p>A memory operand accessed with indexed or indirect addressing.
  2033. </p>
  2034. </dd>
  2035. <dt><code>a</code></dt>
  2036. <dd><p>An indexed or indirect address.
  2037. </p>
  2038. </dd>
  2039. </dl>
  2040. </dd>
  2041. <dt><em>PRU&mdash;<samp>config/pru/constraints.md</samp></em></dt>
  2042. <dd><dl compact="compact">
  2043. <dt><code>I</code></dt>
  2044. <dd><p>An unsigned 8-bit integer constant.
  2045. </p>
  2046. </dd>
  2047. <dt><code>J</code></dt>
  2048. <dd><p>An unsigned 16-bit integer constant.
  2049. </p>
  2050. </dd>
  2051. <dt><code>L</code></dt>
  2052. <dd><p>An unsigned 5-bit integer constant (for shift counts).
  2053. </p>
  2054. </dd>
  2055. <dt><code>T</code></dt>
  2056. <dd><p>A text segment (program memory) constant label.
  2057. </p>
  2058. </dd>
  2059. <dt><code>Z</code></dt>
  2060. <dd><p>Integer constant zero.
  2061. </p>
  2062. </dd>
  2063. </dl>
  2064. </dd>
  2065. <dt><em>RL78&mdash;<samp>config/rl78/constraints.md</samp></em></dt>
  2066. <dd><dl compact="compact">
  2067. <dt><code>Int3</code></dt>
  2068. <dd><p>An integer constant in the range 1 &hellip; 7.
  2069. </p></dd>
  2070. <dt><code>Int8</code></dt>
  2071. <dd><p>An integer constant in the range 0 &hellip; 255.
  2072. </p></dd>
  2073. <dt><code>J</code></dt>
  2074. <dd><p>An integer constant in the range -255 &hellip; 0
  2075. </p></dd>
  2076. <dt><code>K</code></dt>
  2077. <dd><p>The integer constant 1.
  2078. </p></dd>
  2079. <dt><code>L</code></dt>
  2080. <dd><p>The integer constant -1.
  2081. </p></dd>
  2082. <dt><code>M</code></dt>
  2083. <dd><p>The integer constant 0.
  2084. </p></dd>
  2085. <dt><code>N</code></dt>
  2086. <dd><p>The integer constant 2.
  2087. </p></dd>
  2088. <dt><code>O</code></dt>
  2089. <dd><p>The integer constant -2.
  2090. </p></dd>
  2091. <dt><code>P</code></dt>
  2092. <dd><p>An integer constant in the range 1 &hellip; 15.
  2093. </p></dd>
  2094. <dt><code>Qbi</code></dt>
  2095. <dd><p>The built-in compare types&ndash;eq, ne, gtu, ltu, geu, and leu.
  2096. </p></dd>
  2097. <dt><code>Qsc</code></dt>
  2098. <dd><p>The synthetic compare types&ndash;gt, lt, ge, and le.
  2099. </p></dd>
  2100. <dt><code>Wab</code></dt>
  2101. <dd><p>A memory reference with an absolute address.
  2102. </p></dd>
  2103. <dt><code>Wbc</code></dt>
  2104. <dd><p>A memory reference using <code>BC</code> as a base register, with an optional offset.
  2105. </p></dd>
  2106. <dt><code>Wca</code></dt>
  2107. <dd><p>A memory reference using <code>AX</code>, <code>BC</code>, <code>DE</code>, or <code>HL</code> for the address, for calls.
  2108. </p></dd>
  2109. <dt><code>Wcv</code></dt>
  2110. <dd><p>A memory reference using any 16-bit register pair for the address, for calls.
  2111. </p></dd>
  2112. <dt><code>Wd2</code></dt>
  2113. <dd><p>A memory reference using <code>DE</code> as a base register, with an optional offset.
  2114. </p></dd>
  2115. <dt><code>Wde</code></dt>
  2116. <dd><p>A memory reference using <code>DE</code> as a base register, without any offset.
  2117. </p></dd>
  2118. <dt><code>Wfr</code></dt>
  2119. <dd><p>Any memory reference to an address in the far address space.
  2120. </p></dd>
  2121. <dt><code>Wh1</code></dt>
  2122. <dd><p>A memory reference using <code>HL</code> as a base register, with an optional one-byte offset.
  2123. </p></dd>
  2124. <dt><code>Whb</code></dt>
  2125. <dd><p>A memory reference using <code>HL</code> as a base register, with <code>B</code> or <code>C</code> as the index register.
  2126. </p></dd>
  2127. <dt><code>Whl</code></dt>
  2128. <dd><p>A memory reference using <code>HL</code> as a base register, without any offset.
  2129. </p></dd>
  2130. <dt><code>Ws1</code></dt>
  2131. <dd><p>A memory reference using <code>SP</code> as a base register, with an optional one-byte offset.
  2132. </p></dd>
  2133. <dt><code>Y</code></dt>
  2134. <dd><p>Any memory reference to an address in the near address space.
  2135. </p></dd>
  2136. <dt><code>A</code></dt>
  2137. <dd><p>The <code>AX</code> register.
  2138. </p></dd>
  2139. <dt><code>B</code></dt>
  2140. <dd><p>The <code>BC</code> register.
  2141. </p></dd>
  2142. <dt><code>D</code></dt>
  2143. <dd><p>The <code>DE</code> register.
  2144. </p></dd>
  2145. <dt><code>R</code></dt>
  2146. <dd><p><code>A</code> through <code>L</code> registers.
  2147. </p></dd>
  2148. <dt><code>S</code></dt>
  2149. <dd><p>The <code>SP</code> register.
  2150. </p></dd>
  2151. <dt><code>T</code></dt>
  2152. <dd><p>The <code>HL</code> register.
  2153. </p></dd>
  2154. <dt><code>Z08W</code></dt>
  2155. <dd><p>The 16-bit <code>R8</code> register.
  2156. </p></dd>
  2157. <dt><code>Z10W</code></dt>
  2158. <dd><p>The 16-bit <code>R10</code> register.
  2159. </p></dd>
  2160. <dt><code>Zint</code></dt>
  2161. <dd><p>The registers reserved for interrupts (<code>R24</code> to <code>R31</code>).
  2162. </p></dd>
  2163. <dt><code>a</code></dt>
  2164. <dd><p>The <code>A</code> register.
  2165. </p></dd>
  2166. <dt><code>b</code></dt>
  2167. <dd><p>The <code>B</code> register.
  2168. </p></dd>
  2169. <dt><code>c</code></dt>
  2170. <dd><p>The <code>C</code> register.
  2171. </p></dd>
  2172. <dt><code>d</code></dt>
  2173. <dd><p>The <code>D</code> register.
  2174. </p></dd>
  2175. <dt><code>e</code></dt>
  2176. <dd><p>The <code>E</code> register.
  2177. </p></dd>
  2178. <dt><code>h</code></dt>
  2179. <dd><p>The <code>H</code> register.
  2180. </p></dd>
  2181. <dt><code>l</code></dt>
  2182. <dd><p>The <code>L</code> register.
  2183. </p></dd>
  2184. <dt><code>v</code></dt>
  2185. <dd><p>The virtual registers.
  2186. </p></dd>
  2187. <dt><code>w</code></dt>
  2188. <dd><p>The <code>PSW</code> register.
  2189. </p></dd>
  2190. <dt><code>x</code></dt>
  2191. <dd><p>The <code>X</code> register.
  2192. </p>
  2193. </dd>
  2194. </dl>
  2195. </dd>
  2196. <dt><em>RISC-V&mdash;<samp>config/riscv/constraints.md</samp></em></dt>
  2197. <dd><dl compact="compact">
  2198. <dt><code>f</code></dt>
  2199. <dd><p>A floating-point register (if available).
  2200. </p>
  2201. </dd>
  2202. <dt><code>I</code></dt>
  2203. <dd><p>An I-type 12-bit signed immediate.
  2204. </p>
  2205. </dd>
  2206. <dt><code>J</code></dt>
  2207. <dd><p>Integer zero.
  2208. </p>
  2209. </dd>
  2210. <dt><code>K</code></dt>
  2211. <dd><p>A 5-bit unsigned immediate for CSR access instructions.
  2212. </p>
  2213. </dd>
  2214. <dt><code>A</code></dt>
  2215. <dd><p>An address that is held in a general-purpose register.
  2216. </p>
  2217. </dd>
  2218. </dl>
  2219. </dd>
  2220. <dt><em>RX&mdash;<samp>config/rx/constraints.md</samp></em></dt>
  2221. <dd><dl compact="compact">
  2222. <dt><code>Q</code></dt>
  2223. <dd><p>An address which does not involve register indirect addressing or
  2224. pre/post increment/decrement addressing.
  2225. </p>
  2226. </dd>
  2227. <dt><code>Symbol</code></dt>
  2228. <dd><p>A symbol reference.
  2229. </p>
  2230. </dd>
  2231. <dt><code>Int08</code></dt>
  2232. <dd><p>A constant in the range -256 to 255, inclusive.
  2233. </p>
  2234. </dd>
  2235. <dt><code>Sint08</code></dt>
  2236. <dd><p>A constant in the range -128 to 127, inclusive.
  2237. </p>
  2238. </dd>
  2239. <dt><code>Sint16</code></dt>
  2240. <dd><p>A constant in the range -32768 to 32767, inclusive.
  2241. </p>
  2242. </dd>
  2243. <dt><code>Sint24</code></dt>
  2244. <dd><p>A constant in the range -8388608 to 8388607, inclusive.
  2245. </p>
  2246. </dd>
  2247. <dt><code>Uint04</code></dt>
  2248. <dd><p>A constant in the range 0 to 15, inclusive.
  2249. </p>
  2250. </dd>
  2251. </dl>
  2252. </dd>
  2253. <dt><em>S/390 and zSeries&mdash;<samp>config/s390/s390.h</samp></em></dt>
  2254. <dd><dl compact="compact">
  2255. <dt><code>a</code></dt>
  2256. <dd><p>Address register (general purpose register except r0)
  2257. </p>
  2258. </dd>
  2259. <dt><code>c</code></dt>
  2260. <dd><p>Condition code register
  2261. </p>
  2262. </dd>
  2263. <dt><code>d</code></dt>
  2264. <dd><p>Data register (arbitrary general purpose register)
  2265. </p>
  2266. </dd>
  2267. <dt><code>f</code></dt>
  2268. <dd><p>Floating-point register
  2269. </p>
  2270. </dd>
  2271. <dt><code>I</code></dt>
  2272. <dd><p>Unsigned 8-bit constant (0&ndash;255)
  2273. </p>
  2274. </dd>
  2275. <dt><code>J</code></dt>
  2276. <dd><p>Unsigned 12-bit constant (0&ndash;4095)
  2277. </p>
  2278. </dd>
  2279. <dt><code>K</code></dt>
  2280. <dd><p>Signed 16-bit constant (-32768&ndash;32767)
  2281. </p>
  2282. </dd>
  2283. <dt><code>L</code></dt>
  2284. <dd><p>Value appropriate as displacement.
  2285. </p><dl compact="compact">
  2286. <dt><code>(0..4095)</code></dt>
  2287. <dd><p>for short displacement
  2288. </p></dd>
  2289. <dt><code>(-524288..524287)</code></dt>
  2290. <dd><p>for long displacement
  2291. </p></dd>
  2292. </dl>
  2293. </dd>
  2294. <dt><code>M</code></dt>
  2295. <dd><p>Constant integer with a value of 0x7fffffff.
  2296. </p>
  2297. </dd>
  2298. <dt><code>N</code></dt>
  2299. <dd><p>Multiple letter constraint followed by 4 parameter letters.
  2300. </p><dl compact="compact">
  2301. <dt><code>0..9:</code></dt>
  2302. <dd><p>number of the part counting from most to least significant
  2303. </p></dd>
  2304. <dt><code>H,Q:</code></dt>
  2305. <dd><p>mode of the part
  2306. </p></dd>
  2307. <dt><code>D,S,H:</code></dt>
  2308. <dd><p>mode of the containing operand
  2309. </p></dd>
  2310. <dt><code>0,F:</code></dt>
  2311. <dd><p>value of the other parts (F&mdash;all bits set)
  2312. </p></dd>
  2313. </dl>
  2314. <p>The constraint matches if the specified part of a constant
  2315. has a value different from its other parts.
  2316. </p>
  2317. </dd>
  2318. <dt><code>Q</code></dt>
  2319. <dd><p>Memory reference without index register and with short displacement.
  2320. </p>
  2321. </dd>
  2322. <dt><code>R</code></dt>
  2323. <dd><p>Memory reference with index register and short displacement.
  2324. </p>
  2325. </dd>
  2326. <dt><code>S</code></dt>
  2327. <dd><p>Memory reference without index register but with long displacement.
  2328. </p>
  2329. </dd>
  2330. <dt><code>T</code></dt>
  2331. <dd><p>Memory reference with index register and long displacement.
  2332. </p>
  2333. </dd>
  2334. <dt><code>U</code></dt>
  2335. <dd><p>Pointer with short displacement.
  2336. </p>
  2337. </dd>
  2338. <dt><code>W</code></dt>
  2339. <dd><p>Pointer with long displacement.
  2340. </p>
  2341. </dd>
  2342. <dt><code>Y</code></dt>
  2343. <dd><p>Shift count operand.
  2344. </p>
  2345. </dd>
  2346. </dl>
  2347. </dd>
  2348. <dt><em>SPARC&mdash;<samp>config/sparc/sparc.h</samp></em></dt>
  2349. <dd><dl compact="compact">
  2350. <dt><code>f</code></dt>
  2351. <dd><p>Floating-point register on the SPARC-V8 architecture and
  2352. lower floating-point register on the SPARC-V9 architecture.
  2353. </p>
  2354. </dd>
  2355. <dt><code>e</code></dt>
  2356. <dd><p>Floating-point register. It is equivalent to &lsquo;<samp>f</samp>&rsquo; on the
  2357. SPARC-V8 architecture and contains both lower and upper
  2358. floating-point registers on the SPARC-V9 architecture.
  2359. </p>
  2360. </dd>
  2361. <dt><code>c</code></dt>
  2362. <dd><p>Floating-point condition code register.
  2363. </p>
  2364. </dd>
  2365. <dt><code>d</code></dt>
  2366. <dd><p>Lower floating-point register. It is only valid on the SPARC-V9
  2367. architecture when the Visual Instruction Set is available.
  2368. </p>
  2369. </dd>
  2370. <dt><code>b</code></dt>
  2371. <dd><p>Floating-point register. It is only valid on the SPARC-V9 architecture
  2372. when the Visual Instruction Set is available.
  2373. </p>
  2374. </dd>
  2375. <dt><code>h</code></dt>
  2376. <dd><p>64-bit global or out register for the SPARC-V8+ architecture.
  2377. </p>
  2378. </dd>
  2379. <dt><code>C</code></dt>
  2380. <dd><p>The constant all-ones, for floating-point.
  2381. </p>
  2382. </dd>
  2383. <dt><code>A</code></dt>
  2384. <dd><p>Signed 5-bit constant
  2385. </p>
  2386. </dd>
  2387. <dt><code>D</code></dt>
  2388. <dd><p>A vector constant
  2389. </p>
  2390. </dd>
  2391. <dt><code>I</code></dt>
  2392. <dd><p>Signed 13-bit constant
  2393. </p>
  2394. </dd>
  2395. <dt><code>J</code></dt>
  2396. <dd><p>Zero
  2397. </p>
  2398. </dd>
  2399. <dt><code>K</code></dt>
  2400. <dd><p>32-bit constant with the low 12 bits clear (a constant that can be
  2401. loaded with the <code>sethi</code> instruction)
  2402. </p>
  2403. </dd>
  2404. <dt><code>L</code></dt>
  2405. <dd><p>A constant in the range supported by <code>movcc</code> instructions (11-bit
  2406. signed immediate)
  2407. </p>
  2408. </dd>
  2409. <dt><code>M</code></dt>
  2410. <dd><p>A constant in the range supported by <code>movrcc</code> instructions (10-bit
  2411. signed immediate)
  2412. </p>
  2413. </dd>
  2414. <dt><code>N</code></dt>
  2415. <dd><p>Same as &lsquo;<samp>K</samp>&rsquo;, except that it verifies that bits that are not in the
  2416. lower 32-bit range are all zero. Must be used instead of &lsquo;<samp>K</samp>&rsquo; for
  2417. modes wider than <code>SImode</code>
  2418. </p>
  2419. </dd>
  2420. <dt><code>O</code></dt>
  2421. <dd><p>The constant 4096
  2422. </p>
  2423. </dd>
  2424. <dt><code>G</code></dt>
  2425. <dd><p>Floating-point zero
  2426. </p>
  2427. </dd>
  2428. <dt><code>H</code></dt>
  2429. <dd><p>Signed 13-bit constant, sign-extended to 32 or 64 bits
  2430. </p>
  2431. </dd>
  2432. <dt><code>P</code></dt>
  2433. <dd><p>The constant -1
  2434. </p>
  2435. </dd>
  2436. <dt><code>Q</code></dt>
  2437. <dd><p>Floating-point constant whose integral representation can
  2438. be moved into an integer register using a single sethi
  2439. instruction
  2440. </p>
  2441. </dd>
  2442. <dt><code>R</code></dt>
  2443. <dd><p>Floating-point constant whose integral representation can
  2444. be moved into an integer register using a single mov
  2445. instruction
  2446. </p>
  2447. </dd>
  2448. <dt><code>S</code></dt>
  2449. <dd><p>Floating-point constant whose integral representation can
  2450. be moved into an integer register using a high/lo_sum
  2451. instruction sequence
  2452. </p>
  2453. </dd>
  2454. <dt><code>T</code></dt>
  2455. <dd><p>Memory address aligned to an 8-byte boundary
  2456. </p>
  2457. </dd>
  2458. <dt><code>U</code></dt>
  2459. <dd><p>Even register
  2460. </p>
  2461. </dd>
  2462. <dt><code>W</code></dt>
  2463. <dd><p>Memory address for &lsquo;<samp>e</samp>&rsquo; constraint registers
  2464. </p>
  2465. </dd>
  2466. <dt><code>w</code></dt>
  2467. <dd><p>Memory address with only a base register
  2468. </p>
  2469. </dd>
  2470. <dt><code>Y</code></dt>
  2471. <dd><p>Vector zero
  2472. </p>
  2473. </dd>
  2474. </dl>
  2475. </dd>
  2476. <dt><em>TI C6X family&mdash;<samp>config/c6x/constraints.md</samp></em></dt>
  2477. <dd><dl compact="compact">
  2478. <dt><code>a</code></dt>
  2479. <dd><p>Register file A (A0&ndash;A31).
  2480. </p>
  2481. </dd>
  2482. <dt><code>b</code></dt>
  2483. <dd><p>Register file B (B0&ndash;B31).
  2484. </p>
  2485. </dd>
  2486. <dt><code>A</code></dt>
  2487. <dd><p>Predicate registers in register file A (A0&ndash;A2 on C64X and
  2488. higher, A1 and A2 otherwise).
  2489. </p>
  2490. </dd>
  2491. <dt><code>B</code></dt>
  2492. <dd><p>Predicate registers in register file B (B0&ndash;B2).
  2493. </p>
  2494. </dd>
  2495. <dt><code>C</code></dt>
  2496. <dd><p>A call-used register in register file B (B0&ndash;B9, B16&ndash;B31).
  2497. </p>
  2498. </dd>
  2499. <dt><code>Da</code></dt>
  2500. <dd><p>Register file A, excluding predicate registers (A3&ndash;A31,
  2501. plus A0 if not C64X or higher).
  2502. </p>
  2503. </dd>
  2504. <dt><code>Db</code></dt>
  2505. <dd><p>Register file B, excluding predicate registers (B3&ndash;B31).
  2506. </p>
  2507. </dd>
  2508. <dt><code>Iu4</code></dt>
  2509. <dd><p>Integer constant in the range 0 &hellip; 15.
  2510. </p>
  2511. </dd>
  2512. <dt><code>Iu5</code></dt>
  2513. <dd><p>Integer constant in the range 0 &hellip; 31.
  2514. </p>
  2515. </dd>
  2516. <dt><code>In5</code></dt>
  2517. <dd><p>Integer constant in the range -31 &hellip; 0.
  2518. </p>
  2519. </dd>
  2520. <dt><code>Is5</code></dt>
  2521. <dd><p>Integer constant in the range -16 &hellip; 15.
  2522. </p>
  2523. </dd>
  2524. <dt><code>I5x</code></dt>
  2525. <dd><p>Integer constant that can be the operand of an ADDA or a SUBA insn.
  2526. </p>
  2527. </dd>
  2528. <dt><code>IuB</code></dt>
  2529. <dd><p>Integer constant in the range 0 &hellip; 65535.
  2530. </p>
  2531. </dd>
  2532. <dt><code>IsB</code></dt>
  2533. <dd><p>Integer constant in the range -32768 &hellip; 32767.
  2534. </p>
  2535. </dd>
  2536. <dt><code>IsC</code></dt>
  2537. <dd><p>Integer constant in the range <em>-2^{20}</em> &hellip; <em>2^{20} - 1</em>.
  2538. </p>
  2539. </dd>
  2540. <dt><code>Jc</code></dt>
  2541. <dd><p>Integer constant that is a valid mask for the clr instruction.
  2542. </p>
  2543. </dd>
  2544. <dt><code>Js</code></dt>
  2545. <dd><p>Integer constant that is a valid mask for the set instruction.
  2546. </p>
  2547. </dd>
  2548. <dt><code>Q</code></dt>
  2549. <dd><p>Memory location with A base register.
  2550. </p>
  2551. </dd>
  2552. <dt><code>R</code></dt>
  2553. <dd><p>Memory location with B base register.
  2554. </p>
  2555. </dd>
  2556. <dt><code>Z</code></dt>
  2557. <dd><p>Register B14 (aka DP).
  2558. </p>
  2559. </dd>
  2560. </dl>
  2561. </dd>
  2562. <dt><em>TILE-Gx&mdash;<samp>config/tilegx/constraints.md</samp></em></dt>
  2563. <dd><dl compact="compact">
  2564. <dt><code>R00</code></dt>
  2565. <dt><code>R01</code></dt>
  2566. <dt><code>R02</code></dt>
  2567. <dt><code>R03</code></dt>
  2568. <dt><code>R04</code></dt>
  2569. <dt><code>R05</code></dt>
  2570. <dt><code>R06</code></dt>
  2571. <dt><code>R07</code></dt>
  2572. <dt><code>R08</code></dt>
  2573. <dt><code>R09</code></dt>
  2574. <dt><code>R10</code></dt>
  2575. <dd><p>Each of these represents a register constraint for an individual
  2576. register, from r0 to r10.
  2577. </p>
  2578. </dd>
  2579. <dt><code>I</code></dt>
  2580. <dd><p>Signed 8-bit integer constant.
  2581. </p>
  2582. </dd>
  2583. <dt><code>J</code></dt>
  2584. <dd><p>Signed 16-bit integer constant.
  2585. </p>
  2586. </dd>
  2587. <dt><code>K</code></dt>
  2588. <dd><p>Unsigned 16-bit integer constant.
  2589. </p>
  2590. </dd>
  2591. <dt><code>L</code></dt>
  2592. <dd><p>Integer constant that fits in one signed byte when incremented by one
  2593. (-129 &hellip; 126).
  2594. </p>
  2595. </dd>
  2596. <dt><code>m</code></dt>
  2597. <dd><p>Memory operand. If used together with &lsquo;<samp>&lt;</samp>&rsquo; or &lsquo;<samp>&gt;</samp>&rsquo;, the
  2598. operand can have postincrement which requires printing with &lsquo;<samp>%In</samp>&rsquo;
  2599. and &lsquo;<samp>%in</samp>&rsquo; on TILE-Gx. For example:
  2600. </p>
  2601. <div class="smallexample">
  2602. <pre class="smallexample">asm (&quot;st_add %I0,%1,%i0&quot; : &quot;=m&lt;&gt;&quot; (*mem) : &quot;r&quot; (val));
  2603. </pre></div>
  2604. </dd>
  2605. <dt><code>M</code></dt>
  2606. <dd><p>A bit mask suitable for the BFINS instruction.
  2607. </p>
  2608. </dd>
  2609. <dt><code>N</code></dt>
  2610. <dd><p>Integer constant that is a byte tiled out eight times.
  2611. </p>
  2612. </dd>
  2613. <dt><code>O</code></dt>
  2614. <dd><p>The integer zero constant.
  2615. </p>
  2616. </dd>
  2617. <dt><code>P</code></dt>
  2618. <dd><p>Integer constant that is a sign-extended byte tiled out as four shorts.
  2619. </p>
  2620. </dd>
  2621. <dt><code>Q</code></dt>
  2622. <dd><p>Integer constant that fits in one signed byte when incremented
  2623. (-129 &hellip; 126), but excluding -1.
  2624. </p>
  2625. </dd>
  2626. <dt><code>S</code></dt>
  2627. <dd><p>Integer constant that has all 1 bits consecutive and starting at bit 0.
  2628. </p>
  2629. </dd>
  2630. <dt><code>T</code></dt>
  2631. <dd><p>A 16-bit fragment of a got, tls, or pc-relative reference.
  2632. </p>
  2633. </dd>
  2634. <dt><code>U</code></dt>
  2635. <dd><p>Memory operand except postincrement. This is roughly the same as
  2636. &lsquo;<samp>m</samp>&rsquo; when not used together with &lsquo;<samp>&lt;</samp>&rsquo; or &lsquo;<samp>&gt;</samp>&rsquo;.
  2637. </p>
  2638. </dd>
  2639. <dt><code>W</code></dt>
  2640. <dd><p>An 8-element vector constant with identical elements.
  2641. </p>
  2642. </dd>
  2643. <dt><code>Y</code></dt>
  2644. <dd><p>A 4-element vector constant with identical elements.
  2645. </p>
  2646. </dd>
  2647. <dt><code>Z0</code></dt>
  2648. <dd><p>The integer constant 0xffffffff.
  2649. </p>
  2650. </dd>
  2651. <dt><code>Z1</code></dt>
  2652. <dd><p>The integer constant 0xffffffff00000000.
  2653. </p>
  2654. </dd>
  2655. </dl>
  2656. </dd>
  2657. <dt><em>TILEPro&mdash;<samp>config/tilepro/constraints.md</samp></em></dt>
  2658. <dd><dl compact="compact">
  2659. <dt><code>R00</code></dt>
  2660. <dt><code>R01</code></dt>
  2661. <dt><code>R02</code></dt>
  2662. <dt><code>R03</code></dt>
  2663. <dt><code>R04</code></dt>
  2664. <dt><code>R05</code></dt>
  2665. <dt><code>R06</code></dt>
  2666. <dt><code>R07</code></dt>
  2667. <dt><code>R08</code></dt>
  2668. <dt><code>R09</code></dt>
  2669. <dt><code>R10</code></dt>
  2670. <dd><p>Each of these represents a register constraint for an individual
  2671. register, from r0 to r10.
  2672. </p>
  2673. </dd>
  2674. <dt><code>I</code></dt>
  2675. <dd><p>Signed 8-bit integer constant.
  2676. </p>
  2677. </dd>
  2678. <dt><code>J</code></dt>
  2679. <dd><p>Signed 16-bit integer constant.
  2680. </p>
  2681. </dd>
  2682. <dt><code>K</code></dt>
  2683. <dd><p>Nonzero integer constant with low 16 bits zero.
  2684. </p>
  2685. </dd>
  2686. <dt><code>L</code></dt>
  2687. <dd><p>Integer constant that fits in one signed byte when incremented by one
  2688. (-129 &hellip; 126).
  2689. </p>
  2690. </dd>
  2691. <dt><code>m</code></dt>
  2692. <dd><p>Memory operand. If used together with &lsquo;<samp>&lt;</samp>&rsquo; or &lsquo;<samp>&gt;</samp>&rsquo;, the
  2693. operand can have postincrement which requires printing with &lsquo;<samp>%In</samp>&rsquo;
  2694. and &lsquo;<samp>%in</samp>&rsquo; on TILEPro. For example:
  2695. </p>
  2696. <div class="smallexample">
  2697. <pre class="smallexample">asm (&quot;swadd %I0,%1,%i0&quot; : &quot;=m&lt;&gt;&quot; (mem) : &quot;r&quot; (val));
  2698. </pre></div>
  2699. </dd>
  2700. <dt><code>M</code></dt>
  2701. <dd><p>A bit mask suitable for the MM instruction.
  2702. </p>
  2703. </dd>
  2704. <dt><code>N</code></dt>
  2705. <dd><p>Integer constant that is a byte tiled out four times.
  2706. </p>
  2707. </dd>
  2708. <dt><code>O</code></dt>
  2709. <dd><p>The integer zero constant.
  2710. </p>
  2711. </dd>
  2712. <dt><code>P</code></dt>
  2713. <dd><p>Integer constant that is a sign-extended byte tiled out as two shorts.
  2714. </p>
  2715. </dd>
  2716. <dt><code>Q</code></dt>
  2717. <dd><p>Integer constant that fits in one signed byte when incremented
  2718. (-129 &hellip; 126), but excluding -1.
  2719. </p>
  2720. </dd>
  2721. <dt><code>T</code></dt>
  2722. <dd><p>A symbolic operand, or a 16-bit fragment of a got, tls, or pc-relative
  2723. reference.
  2724. </p>
  2725. </dd>
  2726. <dt><code>U</code></dt>
  2727. <dd><p>Memory operand except postincrement. This is roughly the same as
  2728. &lsquo;<samp>m</samp>&rsquo; when not used together with &lsquo;<samp>&lt;</samp>&rsquo; or &lsquo;<samp>&gt;</samp>&rsquo;.
  2729. </p>
  2730. </dd>
  2731. <dt><code>W</code></dt>
  2732. <dd><p>A 4-element vector constant with identical elements.
  2733. </p>
  2734. </dd>
  2735. <dt><code>Y</code></dt>
  2736. <dd><p>A 2-element vector constant with identical elements.
  2737. </p>
  2738. </dd>
  2739. </dl>
  2740. </dd>
  2741. <dt><em>Visium&mdash;<samp>config/visium/constraints.md</samp></em></dt>
  2742. <dd><dl compact="compact">
  2743. <dt><code>b</code></dt>
  2744. <dd><p>EAM register <code>mdb</code>
  2745. </p>
  2746. </dd>
  2747. <dt><code>c</code></dt>
  2748. <dd><p>EAM register <code>mdc</code>
  2749. </p>
  2750. </dd>
  2751. <dt><code>f</code></dt>
  2752. <dd><p>Floating point register
  2753. </p>
  2754. </dd>
  2755. <dt><code>l</code></dt>
  2756. <dd><p>General register, but not <code>r29</code>, <code>r30</code> and <code>r31</code>
  2757. </p>
  2758. </dd>
  2759. <dt><code>t</code></dt>
  2760. <dd><p>Register <code>r1</code>
  2761. </p>
  2762. </dd>
  2763. <dt><code>u</code></dt>
  2764. <dd><p>Register <code>r2</code>
  2765. </p>
  2766. </dd>
  2767. <dt><code>v</code></dt>
  2768. <dd><p>Register <code>r3</code>
  2769. </p>
  2770. </dd>
  2771. <dt><code>G</code></dt>
  2772. <dd><p>Floating-point constant 0.0
  2773. </p>
  2774. </dd>
  2775. <dt><code>J</code></dt>
  2776. <dd><p>Integer constant in the range 0 .. 65535 (16-bit immediate)
  2777. </p>
  2778. </dd>
  2779. <dt><code>K</code></dt>
  2780. <dd><p>Integer constant in the range 1 .. 31 (5-bit immediate)
  2781. </p>
  2782. </dd>
  2783. <dt><code>L</code></dt>
  2784. <dd><p>Integer constant in the range -65535 .. -1 (16-bit negative immediate)
  2785. </p>
  2786. </dd>
  2787. <dt><code>M</code></dt>
  2788. <dd><p>Integer constant -1
  2789. </p>
  2790. </dd>
  2791. <dt><code>O</code></dt>
  2792. <dd><p>Integer constant 0
  2793. </p>
  2794. </dd>
  2795. <dt><code>P</code></dt>
  2796. <dd><p>Integer constant 32
  2797. </p></dd>
  2798. </dl>
  2799. </dd>
  2800. <dt><em>x86 family&mdash;<samp>config/i386/constraints.md</samp></em></dt>
  2801. <dd><dl compact="compact">
  2802. <dt><code>R</code></dt>
  2803. <dd><p>Legacy register&mdash;the eight integer registers available on all
  2804. i386 processors (<code>a</code>, <code>b</code>, <code>c</code>, <code>d</code>,
  2805. <code>si</code>, <code>di</code>, <code>bp</code>, <code>sp</code>).
  2806. </p>
  2807. </dd>
  2808. <dt><code>q</code></dt>
  2809. <dd><p>Any register accessible as <code><var>r</var>l</code>. In 32-bit mode, <code>a</code>,
  2810. <code>b</code>, <code>c</code>, and <code>d</code>; in 64-bit mode, any integer register.
  2811. </p>
  2812. </dd>
  2813. <dt><code>Q</code></dt>
  2814. <dd><p>Any register accessible as <code><var>r</var>h</code>: <code>a</code>, <code>b</code>,
  2815. <code>c</code>, and <code>d</code>.
  2816. </p>
  2817. </dd>
  2818. <dt><code>a</code></dt>
  2819. <dd><p>The <code>a</code> register.
  2820. </p>
  2821. </dd>
  2822. <dt><code>b</code></dt>
  2823. <dd><p>The <code>b</code> register.
  2824. </p>
  2825. </dd>
  2826. <dt><code>c</code></dt>
  2827. <dd><p>The <code>c</code> register.
  2828. </p>
  2829. </dd>
  2830. <dt><code>d</code></dt>
  2831. <dd><p>The <code>d</code> register.
  2832. </p>
  2833. </dd>
  2834. <dt><code>S</code></dt>
  2835. <dd><p>The <code>si</code> register.
  2836. </p>
  2837. </dd>
  2838. <dt><code>D</code></dt>
  2839. <dd><p>The <code>di</code> register.
  2840. </p>
  2841. </dd>
  2842. <dt><code>A</code></dt>
  2843. <dd><p>The <code>a</code> and <code>d</code> registers. This class is used for instructions
  2844. that return double word results in the <code>ax:dx</code> register pair. Single
  2845. word values will be allocated either in <code>ax</code> or <code>dx</code>.
  2846. For example on i386 the following implements <code>rdtsc</code>:
  2847. </p>
  2848. <div class="smallexample">
  2849. <pre class="smallexample">unsigned long long rdtsc (void)
  2850. {
  2851. unsigned long long tick;
  2852. __asm__ __volatile__(&quot;rdtsc&quot;:&quot;=A&quot;(tick));
  2853. return tick;
  2854. }
  2855. </pre></div>
  2856. <p>This is not correct on x86-64 as it would allocate tick in either <code>ax</code>
  2857. or <code>dx</code>. You have to use the following variant instead:
  2858. </p>
  2859. <div class="smallexample">
  2860. <pre class="smallexample">unsigned long long rdtsc (void)
  2861. {
  2862. unsigned int tickl, tickh;
  2863. __asm__ __volatile__(&quot;rdtsc&quot;:&quot;=a&quot;(tickl),&quot;=d&quot;(tickh));
  2864. return ((unsigned long long)tickh &lt;&lt; 32)|tickl;
  2865. }
  2866. </pre></div>
  2867. </dd>
  2868. <dt><code>U</code></dt>
  2869. <dd><p>The call-clobbered integer registers.
  2870. </p>
  2871. </dd>
  2872. <dt><code>f</code></dt>
  2873. <dd><p>Any 80387 floating-point (stack) register.
  2874. </p>
  2875. </dd>
  2876. <dt><code>t</code></dt>
  2877. <dd><p>Top of 80387 floating-point stack (<code>%st(0)</code>).
  2878. </p>
  2879. </dd>
  2880. <dt><code>u</code></dt>
  2881. <dd><p>Second from top of 80387 floating-point stack (<code>%st(1)</code>).
  2882. </p>
  2883. </dd>
  2884. <dt><code>y</code></dt>
  2885. <dd><p>Any MMX register.
  2886. </p>
  2887. </dd>
  2888. <dt><code>x</code></dt>
  2889. <dd><p>Any SSE register.
  2890. </p>
  2891. </dd>
  2892. <dt><code>v</code></dt>
  2893. <dd><p>Any EVEX encodable SSE register (<code>%xmm0-%xmm31</code>).
  2894. </p>
  2895. </dd>
  2896. <dt><code>Yz</code></dt>
  2897. <dd><p>First SSE register (<code>%xmm0</code>).
  2898. </p>
  2899. </dd>
  2900. <dt><code>I</code></dt>
  2901. <dd><p>Integer constant in the range 0 &hellip; 31, for 32-bit shifts.
  2902. </p>
  2903. </dd>
  2904. <dt><code>J</code></dt>
  2905. <dd><p>Integer constant in the range 0 &hellip; 63, for 64-bit shifts.
  2906. </p>
  2907. </dd>
  2908. <dt><code>K</code></dt>
  2909. <dd><p>Signed 8-bit integer constant.
  2910. </p>
  2911. </dd>
  2912. <dt><code>L</code></dt>
  2913. <dd><p><code>0xFF</code> or <code>0xFFFF</code>, for andsi as a zero-extending move.
  2914. </p>
  2915. </dd>
  2916. <dt><code>M</code></dt>
  2917. <dd><p>0, 1, 2, or 3 (shifts for the <code>lea</code> instruction).
  2918. </p>
  2919. </dd>
  2920. <dt><code>N</code></dt>
  2921. <dd><p>Unsigned 8-bit integer constant (for <code>in</code> and <code>out</code>
  2922. instructions).
  2923. </p>
  2924. </dd>
  2925. <dt><code>G</code></dt>
  2926. <dd><p>Standard 80387 floating point constant.
  2927. </p>
  2928. </dd>
  2929. <dt><code>C</code></dt>
  2930. <dd><p>SSE constant zero operand.
  2931. </p>
  2932. </dd>
  2933. <dt><code>e</code></dt>
  2934. <dd><p>32-bit signed integer constant, or a symbolic reference known
  2935. to fit that range (for immediate operands in sign-extending x86-64
  2936. instructions).
  2937. </p>
  2938. </dd>
  2939. <dt><code>We</code></dt>
  2940. <dd><p>32-bit signed integer constant, or a symbolic reference known
  2941. to fit that range (for sign-extending conversion operations that
  2942. require non-<code>VOIDmode</code> immediate operands).
  2943. </p>
  2944. </dd>
  2945. <dt><code>Wz</code></dt>
  2946. <dd><p>32-bit unsigned integer constant, or a symbolic reference known
  2947. to fit that range (for zero-extending conversion operations that
  2948. require non-<code>VOIDmode</code> immediate operands).
  2949. </p>
  2950. </dd>
  2951. <dt><code>Wd</code></dt>
  2952. <dd><p>128-bit integer constant where both the high and low 64-bit word
  2953. satisfy the <code>e</code> constraint.
  2954. </p>
  2955. </dd>
  2956. <dt><code>Z</code></dt>
  2957. <dd><p>32-bit unsigned integer constant, or a symbolic reference known
  2958. to fit that range (for immediate operands in zero-extending x86-64
  2959. instructions).
  2960. </p>
  2961. </dd>
  2962. <dt><code>Tv</code></dt>
  2963. <dd><p>VSIB address operand.
  2964. </p>
  2965. </dd>
  2966. <dt><code>Ts</code></dt>
  2967. <dd><p>Address operand without segment register.
  2968. </p>
  2969. </dd>
  2970. </dl>
  2971. </dd>
  2972. <dt><em>Xstormy16&mdash;<samp>config/stormy16/stormy16.h</samp></em></dt>
  2973. <dd><dl compact="compact">
  2974. <dt><code>a</code></dt>
  2975. <dd><p>Register r0.
  2976. </p>
  2977. </dd>
  2978. <dt><code>b</code></dt>
  2979. <dd><p>Register r1.
  2980. </p>
  2981. </dd>
  2982. <dt><code>c</code></dt>
  2983. <dd><p>Register r2.
  2984. </p>
  2985. </dd>
  2986. <dt><code>d</code></dt>
  2987. <dd><p>Register r8.
  2988. </p>
  2989. </dd>
  2990. <dt><code>e</code></dt>
  2991. <dd><p>Registers r0 through r7.
  2992. </p>
  2993. </dd>
  2994. <dt><code>t</code></dt>
  2995. <dd><p>Registers r0 and r1.
  2996. </p>
  2997. </dd>
  2998. <dt><code>y</code></dt>
  2999. <dd><p>The carry register.
  3000. </p>
  3001. </dd>
  3002. <dt><code>z</code></dt>
  3003. <dd><p>Registers r8 and r9.
  3004. </p>
  3005. </dd>
  3006. <dt><code>I</code></dt>
  3007. <dd><p>A constant between 0 and 3 inclusive.
  3008. </p>
  3009. </dd>
  3010. <dt><code>J</code></dt>
  3011. <dd><p>A constant that has exactly one bit set.
  3012. </p>
  3013. </dd>
  3014. <dt><code>K</code></dt>
  3015. <dd><p>A constant that has exactly one bit clear.
  3016. </p>
  3017. </dd>
  3018. <dt><code>L</code></dt>
  3019. <dd><p>A constant between 0 and 255 inclusive.
  3020. </p>
  3021. </dd>
  3022. <dt><code>M</code></dt>
  3023. <dd><p>A constant between -255 and 0 inclusive.
  3024. </p>
  3025. </dd>
  3026. <dt><code>N</code></dt>
  3027. <dd><p>A constant between -3 and 0 inclusive.
  3028. </p>
  3029. </dd>
  3030. <dt><code>O</code></dt>
  3031. <dd><p>A constant between 1 and 4 inclusive.
  3032. </p>
  3033. </dd>
  3034. <dt><code>P</code></dt>
  3035. <dd><p>A constant between -4 and -1 inclusive.
  3036. </p>
  3037. </dd>
  3038. <dt><code>Q</code></dt>
  3039. <dd><p>A memory reference that is a stack push.
  3040. </p>
  3041. </dd>
  3042. <dt><code>R</code></dt>
  3043. <dd><p>A memory reference that is a stack pop.
  3044. </p>
  3045. </dd>
  3046. <dt><code>S</code></dt>
  3047. <dd><p>A memory reference that refers to a constant address of known value.
  3048. </p>
  3049. </dd>
  3050. <dt><code>T</code></dt>
  3051. <dd><p>The register indicated by Rx (not implemented yet).
  3052. </p>
  3053. </dd>
  3054. <dt><code>U</code></dt>
  3055. <dd><p>A constant that is not between 2 and 15 inclusive.
  3056. </p>
  3057. </dd>
  3058. <dt><code>Z</code></dt>
  3059. <dd><p>The constant 0.
  3060. </p>
  3061. </dd>
  3062. </dl>
  3063. </dd>
  3064. <dt><em>Xtensa&mdash;<samp>config/xtensa/constraints.md</samp></em></dt>
  3065. <dd><dl compact="compact">
  3066. <dt><code>a</code></dt>
  3067. <dd><p>General-purpose 32-bit register
  3068. </p>
  3069. </dd>
  3070. <dt><code>b</code></dt>
  3071. <dd><p>One-bit boolean register
  3072. </p>
  3073. </dd>
  3074. <dt><code>A</code></dt>
  3075. <dd><p>MAC16 40-bit accumulator register
  3076. </p>
  3077. </dd>
  3078. <dt><code>I</code></dt>
  3079. <dd><p>Signed 12-bit integer constant, for use in MOVI instructions
  3080. </p>
  3081. </dd>
  3082. <dt><code>J</code></dt>
  3083. <dd><p>Signed 8-bit integer constant, for use in ADDI instructions
  3084. </p>
  3085. </dd>
  3086. <dt><code>K</code></dt>
  3087. <dd><p>Integer constant valid for BccI instructions
  3088. </p>
  3089. </dd>
  3090. <dt><code>L</code></dt>
  3091. <dd><p>Unsigned constant valid for BccUI instructions
  3092. </p>
  3093. </dd>
  3094. </dl>
  3095. </dd>
  3096. </dl>
  3097. <hr>
  3098. <div class="header">
  3099. <p>
  3100. Previous: <a href="Modifiers.html#Modifiers" accesskey="p" rel="prev">Modifiers</a>, Up: <a href="Constraints.html#Constraints" accesskey="u" rel="up">Constraints</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>
  3101. </div>
  3102. </body>
  3103. </html>