diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-09-27 15:08:51 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@gcc.gnu.org> | 2016-09-27 15:08:51 +0000 |
commit | 0cb14750e7723c50011c6c9c73dca6e8608486e5 (patch) | |
tree | 2301a5a11d05a2acb9fc175b03ded0e38e16501c /gcc/config | |
parent | 6c948ce2587e128b2828a28667bf06d208c5fa4c (diff) | |
download | gcc-0cb14750e7723c50011c6c9c73dca6e8608486e5.zip gcc-0cb14750e7723c50011c6c9c73dca6e8608486e5.tar.gz gcc-0cb14750e7723c50011c6c9c73dca6e8608486e5.tar.bz2 |
MIPS/GCC/doc: Fix `d' constraint description
Revert a part of the `d' constraint documentation update made with
commit 111868 ("Use define_constraint for MIPS"),
<https://gcc.gnu.org/ml/gcc-patches/2006-03/msg00460.html>,
<https://gcc.gnu.org/ml/gcc-patches/2006-03/msg00541.html>, which
inadvertently made the registers covered to be referred to as "address"
rather than "general-purpose" registers, and then further clarify the
set of registers allowed with MIPS16 code.
* config/mips/constraints.md (d): Fix documentation.
* doc/md.texi (Machine Constraints): Update accordingly.
From-SVN: r240546
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/mips/constraints.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mips/constraints.md b/gcc/config/mips/constraints.md index 56b363e..4b5619f 100644 --- a/gcc/config/mips/constraints.md +++ b/gcc/config/mips/constraints.md @@ -20,8 +20,8 @@ ;; Register constraints (define_register_constraint "d" "TARGET_MIPS16 ? M16_REGS : GR_REGS" - "An address register. This is equivalent to @code{r} unless - generating MIPS16 code.") + "A general-purpose register. This is equivalent to @code{r} unless + generating MIPS16 code, in which case the MIPS16 register set is used.") (define_register_constraint "t" "T_REG" "@internal") |