aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchenxiaolong <chenxiaolong@loongson.cn>2024-01-17 09:24:06 +0800
committerLulu Cheng <chenglulu@loongson.cn>2024-01-23 14:22:00 +0800
commite861d76076e213d036f880b722a885918ee8cc58 (patch)
treead54df984c6a2505cd9fe2e1a6c964aa0c8b2e20
parent02948ced062b730e2859f718dd46bfcaa3c16c6b (diff)
downloadgcc-e861d76076e213d036f880b722a885918ee8cc58.zip
gcc-e861d76076e213d036f880b722a885918ee8cc58.tar.gz
gcc-e861d76076e213d036f880b722a885918ee8cc58.tar.bz2
LoongArch: doc: Add attribute descriptions defined in the target-supports.exp.
gcc/ChangeLog: * doc/sourcebuild.texi: Add attributes for keywords.
-rw-r--r--gcc/doc/sourcebuild.texi20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 8082100..6c33237 100644
--- a/gcc/doc/sourcebuild.texi
+++ b/gcc/doc/sourcebuild.texi
@@ -2352,6 +2352,26 @@ AArch64 target that is able to generate and execute armv8.3-a FJCVTZS
instruction.
@end table
+@subsubsection LoongArch specific attributes
+
+@table @code
+@item loongarch_sx
+LoongArch target that generates instructions for SX.
+
+@item loongarch_asx
+LoongArch target that generates instructions for ASX.
+
+@item loongarch_sx_hw
+LoongArch target that is able to generate and execute SX code.
+
+@item loongarch_asx_hw
+LoongArch target that is able to generate and execute ASX code.
+
+@item loongarch_call36_support
+LoongArch binutils supports call36 relocation.
+
+@end table
+
@subsubsection MIPS-specific attributes
@table @code