diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-28 19:49:18 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-05-28 19:49:18 +0000 |
commit | 205c3b0ab6423dca05db534c7b7099f39eaee409 (patch) | |
tree | 18194c4ebc03529b7414e609111af0e8e670d580 /gcc/doc | |
parent | 75b115f41512fbbab79191059ba6a21bbd98a7c9 (diff) | |
download | gcc-205c3b0ab6423dca05db534c7b7099f39eaee409.tar.gz |
gcc/
* doc/md.texi: Document that the % constraint character must
be at the beginning of the string.
* genoutput.c (validate_insn_alternatives): Check that '=',
'+' and '%' only appear at the beginning of a constraint.
* ira.c (commutative_constraint_p): Delete.
(ira_get_dup_out_num): Expect the '%' commutativity marker to be
at the start of the string.
* config/alpha/alpha.md (*movmemdi_1, *clrmemdi_1): Remove
duplicate '='s.
* config/arm/neon.md (bicdi3_neon): Likewise.
* config/iq2000/iq2000.md (addsi3_internal, subsi3_internal, sgt_si)
(slt_si, sltu_si): Likewise.
* config/vax/vax.md (sbcdi3): Likewise.
* config/h8300/h8300.md (*cmpstz): Remove duplicate '+'.
* config/arc/arc.md (mulsi_600, mulsidi_600, umulsidi_600)
(mul64): Move '%' to beginning of constraint.
* config/arm/arm.md (*xordi3_insn): Likewise.
* config/nds32/nds32.md (add<mode>3, mulsi3, andsi3, iorsi3)
(xorsi3): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211031 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/md.texi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 3bd1c564d92..7c3d7142aa1 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -1589,7 +1589,10 @@ See, for example, the @samp{mulsi3} insn of the ARM@. Declares the instruction to be commutative for this operand and the following operand. This means that the compiler may interchange the two operands if that is the cheapest way to make all operands fit the -constraints. +constraints. @samp{%} applies to all alternatives and must appear as +the first character in the constraint. Only input operands can use +@samp{%}. + @ifset INTERNALS This is often used in patterns for addition instructions that really have only two operands: the result must go in one of the |