Commit 0cb14750 by Maciej W. Rozycki Committed by Maciej W. Rozycki

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
parent 6c948ce2
2016-09-27 Maciej W. Rozycki <macro@imgtec.com>
* config/mips/constraints.md (d): Fix documentation.
* doc/md.texi (Machine Constraints): Update accordingly.
2016-09-27 Richard Biener <rguenther@suse.de> 2016-09-27 Richard Biener <rguenther@suse.de>
* dwarf2out.c (dwarf2out_init): Move text_section_line_info, * dwarf2out.c (dwarf2out_init): Move text_section_line_info,
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
;; Register constraints ;; Register constraints
(define_register_constraint "d" "TARGET_MIPS16 ? M16_REGS : GR_REGS" (define_register_constraint "d" "TARGET_MIPS16 ? M16_REGS : GR_REGS"
"An address register. This is equivalent to @code{r} unless "A general-purpose register. This is equivalent to @code{r} unless
generating MIPS16 code.") generating MIPS16 code, in which case the MIPS16 register set is used.")
(define_register_constraint "t" "T_REG" (define_register_constraint "t" "T_REG"
"@internal") "@internal")
......
...@@ -2582,8 +2582,8 @@ A status register (@code{rmsr}, @code{$fcc1} to @code{$fcc7}). ...@@ -2582,8 +2582,8 @@ A status register (@code{rmsr}, @code{$fcc1} to @code{$fcc7}).
@item MIPS---@file{config/mips/constraints.md} @item MIPS---@file{config/mips/constraints.md}
@table @code @table @code
@item d @item d
An address register. This is equivalent to @code{r} unless A general-purpose register. This is equivalent to @code{r} unless
generating MIPS16 code. generating MIPS16 code, in which case the MIPS16 register set is used.
@item f @item f
A floating-point register (if available). A floating-point register (if available).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment