aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/riscv/constraints.md
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2021-07-02 10:19:30 +0800
committerKito Cheng <kito.cheng@sifive.com>2021-07-13 14:09:34 +0800
commit18a463bb666cc8f3421589e7641ec617acb84741 (patch)
tree7ccdccb2104a1cd244ae8b5a6ddeb2286af6d024 /gcc/config/riscv/constraints.md
parentf546e2b6cc5c610ae18aac274d0d6493f2da3801 (diff)
downloadgcc-18a463bb666cc8f3421589e7641ec617acb84741.zip
gcc-18a463bb666cc8f3421589e7641ec617acb84741.tar.gz
gcc-18a463bb666cc8f3421589e7641ec617acb84741.tar.bz2
docs: Add 'S' to Machine Constraints for RISC-V
It was undocument before, but it might used in linux kernel for resolve code model issue, so LLVM community suggest we should document that, so that make it become supported/documented/non-internal machine constraints. gcc/ChangeLog: PR target/101275 * config/riscv/constraints.md ("S"): Update description and remove @internal. * doc/md.texi (Machine Constraints): Document the 'S' constraints for RISC-V.
Diffstat (limited to 'gcc/config/riscv/constraints.md')
-rw-r--r--gcc/config/riscv/constraints.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/riscv/constraints.md b/gcc/config/riscv/constraints.md
index 8c15c6c..c87d5b7 100644
--- a/gcc/config/riscv/constraints.md
+++ b/gcc/config/riscv/constraints.md
@@ -67,8 +67,7 @@
(match_test "GET_CODE(XEXP(op,0)) == REG")))
(define_constraint "S"
- "@internal
- A constant call address."
+ "A constraint that matches an absolute symbolic address."
(match_operand 0 "absolute_symbolic_operand"))
(define_constraint "U"