[v1] LoongArch: doc:Combined with the content of target-supports.exp, add the attribute description related to LoongArch.

Message ID 20240117012406.2488-1-chenxiaolong@loongson.cn
State Accepted
Headers
Series [v1] LoongArch: doc:Combined with the content of target-supports.exp, add the attribute description related to LoongArch. |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

chenxiaolong Jan. 17, 2024, 1:24 a.m. UTC
  gcc/ChangeLog:

	* doc/sourcebuild.texi: Add attributes for keywords.
---
 gcc/doc/sourcebuild.texi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
  

Comments

chenglulu Jan. 23, 2024, 6:24 a.m. UTC | #1
Pushed to r14-8344.

在 2024/1/17 上午9:24, chenxiaolong 写道:
> gcc/ChangeLog:
>
> 	* doc/sourcebuild.texi: Add attributes for keywords.
> ---
>   gcc/doc/sourcebuild.texi | 20 ++++++++++++++++++++
>   1 file changed, 20 insertions(+)
>
> diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
> index 8082100a3c9..6c33237ac78 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
  

Patch

diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
index 8082100a3c9..6c33237ac78 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