diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 2020-01-07 01:36:17 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2020-01-07 01:36:17 +0000 |
commit | e5d3611ec317855738a0bd649779ca024f3798bd (patch) | |
tree | c387b420f2c2fc17ac52b60bd766150eee6d635d | |
parent | 3d53551b8809a2a673530aad9c7b5ccf2c26bbd3 (diff) | |
download | gcc-e5d3611ec317855738a0bd649779ca024f3798bd.zip gcc-e5d3611ec317855738a0bd649779ca024f3798bd.tar.gz gcc-e5d3611ec317855738a0bd649779ca024f3798bd.tar.bz2 |
Update 'Q' constraint documentation.
2020-01-06 Michael Meissner <meissner@linux.ibm.com>
* config/rs6000/constraints.md (Q constraint): Update
documentation.
* doc/md.texi (RS/6000 constraints): Update 'Q' cosntraint
documentation.
From-SVN: r279939
-rw-r--r-- | gcc/config/rs6000/constraints.md | 3 | ||||
-rw-r--r-- | gcc/doc/md.texi | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/gcc/config/rs6000/constraints.md b/gcc/config/rs6000/constraints.md index 2446852..398c894 100644 --- a/gcc/config/rs6000/constraints.md +++ b/gcc/config/rs6000/constraints.md @@ -211,8 +211,7 @@ several times, or that might not access it at all." (match_test "GET_RTX_CLASS (GET_CODE (XEXP (op, 0))) != RTX_AUTOINC"))) (define_memory_constraint "Q" - "Memory operand that is an offset from a register (it is usually better -to use @samp{m} or @samp{es} in @code{asm} statements)" + "A memory operand addressed by just a base register." (and (match_code "mem") (match_test "REG_P (XEXP (op, 0))"))) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 6b5e06e..cc4a292 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3381,8 +3381,7 @@ allowed when @samp{<} or @samp{>} is used, @samp{es} is basically the same as @samp{m} without @samp{<} and @samp{>}. @item Q -Memory operand that is an offset from a register (it is usually better -to use @samp{m} or @samp{es} in @code{asm} statements) +A memory operand addressed by just a base register. @item Z Memory operand that is an indexed or indirect from a register (it is |