aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2007-05-29 01:12:58 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2007-05-29 01:12:58 +0000
commit8119b4e4bb58c0e5e754d589196c52e7f241a998 (patch)
tree6962b637b4c0dfe70fd26d1debdcce98d30a48e9
parent5b281141747654449a2a93689d317743d4743078 (diff)
downloadgcc-8119b4e4bb58c0e5e754d589196c52e7f241a998.zip
gcc-8119b4e4bb58c0e5e754d589196c52e7f241a998.tar.gz
gcc-8119b4e4bb58c0e5e754d589196c52e7f241a998.tar.bz2
md.texi: Document constraints on HP PA-RISC.
* doc/md.texi: Document constraints on HP PA-RISC. From-SVN: r125158
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/doc/md.texi71
2 files changed, 73 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7a2f9fc..ea23ee9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,7 @@
2007-05-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+ * doc/md.texi: Document constraints on HP PA-RISC.
+
* pa/constraints.md: New file.
* pa.md: Include constraints.md.
* pa.c (cint_ok_for_move): Avoid using CONST_OK_FOR_LETTER_P.
diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi
index 029657d..a3f1243 100644
--- a/gcc/doc/md.texi
+++ b/gcc/doc/md.texi
@@ -1775,6 +1775,77 @@ Constant that is one of -1, 4, -4, 7, 8, 12, 16, 20, 32, 48
Floating point constant that is legal for store immediate
@end table
+@item Hewlett-Packard PA-RISC---@file{config/pa/pa.h}
+@table @code
+@item a
+General register 1
+
+@item f
+Floating point register
+
+@item q
+Shift amount register
+
+@item x
+Floating point register (deprecated)
+
+@item y
+Upper floating point register (32-bit), floating point register (64-bit)
+
+@item Z
+Any register
+
+@item I
+Signed 11-bit integer constant
+
+@item J
+Signed 14-bit integer constant
+
+@item K
+Integer constant that can be deposited with a @code{zdepi} instruction
+
+@item L
+Signed 5-bit integer constant
+
+@item M
+Integer constant 0
+
+@item N
+Integer constant that can be loaded with a @code{ldil} instruction
+
+@item O
+Integer constant whose value plus one is a power of 2
+
+@item P
+Integer constant that can be used for @code{and} operations in @code{depi}
+and @code{extru} instructions
+
+@item S
+Integer constant 31
+
+@item U
+Integer constant 63
+
+@item G
+Floating-point constant 0.0
+
+@item A
+A @code{lo_sum} data-linkage-table memory operand
+
+@item Q
+A memory operand that can be used as the destination operand of an
+integer store instruction
+
+@item R
+A scaled or unscaled indexed memory operand
+
+@item T
+A memory operand for floating-point loads and stores
+
+@item W
+A register indirect memory operand
+@end table
+
@item PowerPC and IBM RS6000---@file{config/rs6000/rs6000.h}
@table @code
@item b