 |
Constraint Modifier Characters |
These are the constraint modifier characters which are meaningful for TIGCC:
=
- Means that this operand is write-only for this instruction: the previous
value is discarded and replaced by output data.
+
- Means that this operand is both read and written by the instruction.
When the compiler fixes up the operands to satisfy the constraints,
it needs to know which operands are inputs to the instruction and
which are outputs from it. =
identifies an output; +
identifies an operand that is both input and output; all other operands
are assumed to be input only.
If you specify =
or +
in a constraint, you put it in the
first character of the constraint string.
&
- Means (in a particular alternative) that this operand is an
earlyclobber operand, which is modified before the instruction is
finished using the input operands. Therefore, this operand may not lie
in a register that is used as an input operand or as part of any memory
address.
&
does not obviate the need to write =
.