[v2] extend.texi: Fix typos in LSX intrinsics

Message ID 20231213152615.4132230-1-c@jia.je
State Unresolved
Headers
Series [v2] extend.texi: Fix typos in LSX intrinsics |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

Jiajie Chen Dec. 13, 2023, 3:26 p.m. UTC
  Several typos have been found and fixed: missing semicolons, using
variable name instead of type, duplicate functions and wrong types.

gcc/ChangeLog:

	* doc/extend.texi(__lsx_vabsd_di): remove extra `i' in name.
	(__lsx_vfrintrm_d, __lsx_vfrintrm_s, __lsx_vfrintrne_d,
	__lsx_vfrintrne_s, __lsx_vfrintrp_d, __lsx_vfrintrp_s, __lsx_vfrintrz_d,
	__lsx_vfrintrz_s): fix return types.
	(__lsx_vld, __lsx_vldi, __lsx_vldrepl_b, __lsx_vldrepl_d,
	__lsx_vldrepl_h, __lsx_vldrepl_w, __lsx_vmaxi_b, __lsx_vmaxi_d,
	__lsx_vmaxi_h, __lsx_vmaxi_w, __lsx_vmini_b, __lsx_vmini_d,
	__lsx_vmini_h, __lsx_vmini_w, __lsx_vsrani_d_q, __lsx_vsrarni_d_q,
	__lsx_vsrlni_d_q, __lsx_vsrlrni_d_q, __lsx_vssrani_d_q,
	__lsx_vssrarni_d_q, __lsx_vssrarni_du_q, __lsx_vssrlni_d_q,
	__lsx_vssrlrni_du_q, __lsx_vst, __lsx_vstx, __lsx_vssrani_du_q,
	__lsx_vssrlni_du_q, __lsx_vssrlrni_d_q): add missing semicolon.
	(__lsx_vpickve2gr_bu, __lsx_vpickve2gr_hu): fix typo in return
	type.
	(__lsx_vstelm_b, __lsx_vstelm_d, __lsx_vstelm_h,
	__lsx_vstelm_w): use imm type for the last argument.
	(__lsx_vsigncov_b, __lsx_vsigncov_h, __lsx_vsigncov_w,
	__lsx_vsigncov_d): remove duplicate definitions.
---
 gcc/doc/extend.texi | 90 ++++++++++++++++++++++-----------------------
 1 file changed, 43 insertions(+), 47 deletions(-)
  

Comments

chenxiaolong Dec. 15, 2023, 2:21 a.m. UTC | #1
在 2023-12-14四的 20:27 +0800,chenglulu写道:
>     
> 
>     
>     
> 
>       
> 
>       -------- 转发的消息 --------
>       
>         
>           
>             主题: 
>             [PATCH v2] extend.texi: Fix typos in LSX intrinsics
>           
>           
>             日期: 
>             Wed, 13 Dec 2023 23:26:01 +0800
>           
>           
>             发件人: 
>             Jiajie Chen <c@jia.je>
>           
>           
>             收件人: 
>             gcc-patches@gcc.gnu.org
>           
>           
>             抄送: 
>             chenglulu@loongson.cn, xuchenghua@loongson.cn, Jiajie
>               Chen <c@jia.je>
>           
>         
>       
>       
> 
>       
> 
>       Several typos have been found and fixed: missing semicolons,
> using
> 
>       variable name instead of type, duplicate functions and wrong
>       types.
> 
>       
> 
>       gcc/ChangeLog:
> 
>       
> 
>       * doc/extend.texi(__lsx_vabsd_di): remove extra `i' in name.
> 
>       (__lsx_vfrintrm_d, __lsx_vfrintrm_s, __lsx_vfrintrne_d,
> 
>       __lsx_vfrintrne_s, __lsx_vfrintrp_d, __lsx_vfrintrp_s,
>       __lsx_vfrintrz_d,
> 
>       __lsx_vfrintrz_s): fix return types.
> 
>       (__lsx_vld, __lsx_vldi, __lsx_vldrepl_b, __lsx_vldrepl_d,
> 
>       __lsx_vldrepl_h, __lsx_vldrepl_w, __lsx_vmaxi_b, __lsx_vmaxi_d,
> 
>       __lsx_vmaxi_h, __lsx_vmaxi_w, __lsx_vmini_b, __lsx_vmini_d,
> 
>       __lsx_vmini_h, __lsx_vmini_w, __lsx_vsrani_d_q,
> __lsx_vsrarni_d_q,
> 
>       __lsx_vsrlni_d_q, __lsx_vsrlrni_d_q, __lsx_vssrani_d_q,
> 
>       __lsx_vssrarni_d_q, __lsx_vssrarni_du_q, __lsx_vssrlni_d_q,
> 
>       __lsx_vssrlrni_du_q, __lsx_vst, __lsx_vstx, __lsx_vssrani_du_q,
> 
>       __lsx_vssrlni_du_q, __lsx_vssrlrni_d_q): add missing semicolon.
> 
>       (__lsx_vpickve2gr_bu, __lsx_vpickve2gr_hu): fix typo in return
> 
>       type.
> 
>       (__lsx_vstelm_b, __lsx_vstelm_d, __lsx_vstelm_h,
> 
>       __lsx_vstelm_w): use imm type for the last argument.
> 
>       (__lsx_vsigncov_b, __lsx_vsigncov_h, __lsx_vsigncov_w,
> 
>       __lsx_vsigncov_d): remove duplicate definitions.
> 
>       ---
> 
>       gcc/doc/extend.texi | 90
>       ++++++++++++++++++++++-----------------------
> 
>       1 file changed, 43 insertions(+), 47 deletions(-)
> 
>       
> 
>       diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
> 
>       index f0c789f6cb4..ba1317c3510 100644
> 
>       --- a/gcc/doc/extend.texi
> 
>       +++ b/gcc/doc/extend.texi
> 
>       @@ -17563,7 +17563,7 @@ int __lsx_bz_v (__m128i);
> 
>       int __lsx_bz_w (__m128i);
> 
>       __m128i __lsx_vabsd_b (__m128i, __m128i);
> 
>       __m128i __lsx_vabsd_bu (__m128i, __m128i);
> 
>       -__m128i __lsx_vabsd_di (__m128i, __m128i);
> 
>       +__m128i __lsx_vabsd_d (__m128i, __m128i);
> 
>       __m128i __lsx_vabsd_du (__m128i, __m128i);
> 
>       __m128i __lsx_vabsd_h (__m128i, __m128i);
> 
>       __m128i __lsx_vabsd_hu (__m128i, __m128i);
> 
>       @@ -17769,14 +17769,14 @@ __m128 __lsx_vfnmsub_s (__m128,
> __m128,
>       __m128);
> 
>       __m128d __lsx_vfrecip_d (__m128d);
> 
>       __m128 __lsx_vfrecip_s (__m128);
> 
>       __m128d __lsx_vfrint_d (__m128d);
> 
>       -__m128i __lsx_vfrintrm_d (__m128d);
> 
>       -__m128i __lsx_vfrintrm_s (__m128);
> 
>       -__m128i __lsx_vfrintrne_d (__m128d);
> 
>       -__m128i __lsx_vfrintrne_s (__m128);
> 
>       -__m128i __lsx_vfrintrp_d (__m128d);
> 
>       -__m128i __lsx_vfrintrp_s (__m128);
> 
>       -__m128i __lsx_vfrintrz_d (__m128d);
> 
>       -__m128i __lsx_vfrintrz_s (__m128);
> 
>       +__m128d __lsx_vfrintrm_d (__m128d);
> 
>       +__m128 __lsx_vfrintrm_s (__m128);
> 
>       +__m128d __lsx_vfrintrne_d (__m128d);
> 
>       +__m128 __lsx_vfrintrne_s (__m128);
> 
>       +__m128d __lsx_vfrintrp_d (__m128d);
> 
>       +__m128 __lsx_vfrintrp_s (__m128);
> 
>       +__m128d __lsx_vfrintrz_d (__m128d);
> 
>       +__m128 __lsx_vfrintrz_s (__m128);
> 
>       __m128 __lsx_vfrint_s (__m128);
> 
>       __m128d __lsx_vfrsqrt_d (__m128d);
> 
>       __m128 __lsx_vfrsqrt_s (__m128);
> 
>       @@ -17845,12 +17845,12 @@ __m128i __lsx_vinsgr2vr_b (__m128i,
> int,
>       imm0_15);
> 
>       __m128i __lsx_vinsgr2vr_d (__m128i, long int, imm0_1);
> 
>       __m128i __lsx_vinsgr2vr_h (__m128i, int, imm0_7);
> 
>       __m128i __lsx_vinsgr2vr_w (__m128i, int, imm0_3);
> 
>       -__m128i __lsx_vld (void *, imm_n2048_2047)
> 
>       -__m128i __lsx_vldi (imm_n1024_1023)
> 
>       -__m128i __lsx_vldrepl_b (void *, imm_n2048_2047)
> 
>       -__m128i __lsx_vldrepl_d (void *, imm_n256_255)
> 
>       -__m128i __lsx_vldrepl_h (void *, imm_n1024_1023)
> 
>       -__m128i __lsx_vldrepl_w (void *, imm_n512_511)
> 
>       +__m128i __lsx_vld (void *, imm_n2048_2047);
> 
>       +__m128i __lsx_vldi (imm_n1024_1023);
> 
>       +__m128i __lsx_vldrepl_b (void *, imm_n2048_2047);
> 
>       +__m128i __lsx_vldrepl_d (void *, imm_n256_255);
> 
>       +__m128i __lsx_vldrepl_h (void *, imm_n1024_1023);
> 
>       +__m128i __lsx_vldrepl_w (void *, imm_n512_511);
> 
>       __m128i __lsx_vldx (void *, long int);
> 
>       __m128i __lsx_vmadd_b (__m128i, __m128i, __m128i);
> 
>       __m128i __lsx_vmadd_d (__m128i, __m128i, __m128i);
> 
>       @@ -17886,13 +17886,13 @@ __m128i __lsx_vmax_d (__m128i,
> __m128i);
> 
>       __m128i __lsx_vmax_du (__m128i, __m128i);
> 
>       __m128i __lsx_vmax_h (__m128i, __m128i);
> 
>       __m128i __lsx_vmax_hu (__m128i, __m128i);
> 
>       -__m128i __lsx_vmaxi_b (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmaxi_b (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmaxi_bu (__m128i, imm0_31);
> 
>       -__m128i __lsx_vmaxi_d (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmaxi_d (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmaxi_du (__m128i, imm0_31);
> 
>       -__m128i __lsx_vmaxi_h (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmaxi_h (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmaxi_hu (__m128i, imm0_31);
> 
>       -__m128i __lsx_vmaxi_w (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmaxi_w (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmaxi_wu (__m128i, imm0_31);
> 
>       __m128i __lsx_vmax_w (__m128i, __m128i);
> 
>       __m128i __lsx_vmax_wu (__m128i, __m128i);
> 
>       @@ -17902,13 +17902,13 @@ __m128i __lsx_vmin_d (__m128i,
> __m128i);
> 
>       __m128i __lsx_vmin_du (__m128i, __m128i);
> 
>       __m128i __lsx_vmin_h (__m128i, __m128i);
> 
>       __m128i __lsx_vmin_hu (__m128i, __m128i);
> 
>       -__m128i __lsx_vmini_b (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmini_b (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmini_bu (__m128i, imm0_31);
> 
>       -__m128i __lsx_vmini_d (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmini_d (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmini_du (__m128i, imm0_31);
> 
>       -__m128i __lsx_vmini_h (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmini_h (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmini_hu (__m128i, imm0_31);
> 
>       -__m128i __lsx_vmini_w (__m128i, imm_n16_15)
> 
>       +__m128i __lsx_vmini_w (__m128i, imm_n16_15);
> 
>       __m128i __lsx_vmini_wu (__m128i, imm0_31);
> 
>       __m128i __lsx_vmin_w (__m128i, __m128i);
> 
>       __m128i __lsx_vmin_wu (__m128i, __m128i);
> 
>       @@ -17997,11 +17997,11 @@ __m128i __lsx_vpickod_d (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vpickod_h (__m128i, __m128i);
> 
>       __m128i __lsx_vpickod_w (__m128i, __m128i);
> 
>       int __lsx_vpickve2gr_b (__m128i, imm0_15);
> 
>       -unsinged int __lsx_vpickve2gr_bu (__m128i, imm0_15);
> 
>       +unsigned int __lsx_vpickve2gr_bu (__m128i, imm0_15);
> 
>       long int __lsx_vpickve2gr_d (__m128i, imm0_1);
> 
>       unsigned long int __lsx_vpickve2gr_du (__m128i, imm0_1);
> 
>       int __lsx_vpickve2gr_h (__m128i, imm0_7);
> 
>       -unsinged int __lsx_vpickve2gr_hu (__m128i, imm0_7);
> 
>       +unsigned int __lsx_vpickve2gr_hu (__m128i, imm0_7);
> 
>       int __lsx_vpickve2gr_w (__m128i, imm0_3);
> 
>       unsigned int __lsx_vpickve2gr_wu (__m128i, imm0_3);
> 
>       __m128i __lsx_vreplgr2vr_b (int);
> 
>       @@ -18064,10 +18064,6 @@ __m128i __lsx_vsigncov_b (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vsigncov_d (__m128i, __m128i);
> 
>       __m128i __lsx_vsigncov_h (__m128i, __m128i);
> 
>       __m128i __lsx_vsigncov_w (__m128i, __m128i);
> 
>       -__m128i __lsx_vsigncov_b (__m128i, __m128i);
> 
>       -__m128i __lsx_vsigncov_d (__m128i, __m128i);
> 
>       -__m128i __lsx_vsigncov_h (__m128i, __m128i);
> 
>       -__m128i __lsx_vsigncov_w (__m128i, __m128i);
> 
>       __m128i __lsx_vsle_b (__m128i, __m128i);
> 
>       __m128i __lsx_vsle_bu (__m128i, __m128i);
> 
>       __m128i __lsx_vsle_d (__m128i, __m128i);
> 
>       @@ -18124,7 +18120,7 @@ __m128i __lsx_vsrai_w (__m128i,
> imm0_31);
> 
>       __m128i __lsx_vsran_b_h (__m128i, __m128i);
> 
>       __m128i __lsx_vsran_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vsrani_b_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vsrani_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vsrani_w_d (__m128i, __m128i, imm0_63);
> 
>       __m128i __lsx_vsran_w_d (__m128i, __m128i);
> 
>       @@ -18138,7 +18134,7 @@ __m128i __lsx_vsrari_w (__m128i,
> imm0_31);
> 
>       __m128i __lsx_vsrarn_b_h (__m128i, __m128i);
> 
>       __m128i __lsx_vsrarn_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vsrarni_b_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vsrarni_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vsrarni_w_d (__m128i, __m128i, imm0_63);
> 
>       __m128i __lsx_vsrarn_w_d (__m128i, __m128i);
> 
>       @@ -18154,7 +18150,7 @@ __m128i __lsx_vsrli_w (__m128i,
> imm0_31);
> 
>       __m128i __lsx_vsrln_b_h (__m128i, __m128i);
> 
>       __m128i __lsx_vsrln_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vsrlni_b_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vsrlni_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vsrlni_w_d (__m128i, __m128i, imm0_63);
> 
>       __m128i __lsx_vsrln_w_d (__m128i, __m128i);
> 
>       @@ -18168,7 +18164,7 @@ __m128i __lsx_vsrlri_w (__m128i,
> imm0_31);
> 
>       __m128i __lsx_vsrlrn_b_h (__m128i, __m128i);
> 
>       __m128i __lsx_vsrlrn_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vsrlrni_b_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vsrlrni_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vsrlrni_w_d (__m128i, __m128i, imm0_63);
> 
>       __m128i __lsx_vsrlrn_w_d (__m128i, __m128i);
> 
>       @@ -18180,8 +18176,8 @@ __m128i __lsx_vssran_hu_w (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vssran_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vssrani_b_h (__m128i, __m128i, imm0_15);
> 
>       __m128i __lsx_vssrani_bu_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127)
> 
>       -__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127);
> 
>       +__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vssrani_hu_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrani_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrani_w_d (__m128i, __m128i, imm0_63);
> 
>       @@ -18194,8 +18190,8 @@ __m128i __lsx_vssrarn_hu_w (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vssrarn_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vssrarni_b_h (__m128i, __m128i, imm0_15);
> 
>       __m128i __lsx_vssrarni_bu_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127)
> 
>       -__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127);
> 
>       +__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vssrarni_hu_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrarni_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrarni_w_d (__m128i, __m128i, imm0_63);
> 
>       @@ -18208,8 +18204,8 @@ __m128i __lsx_vssrln_hu_w (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vssrln_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vssrlni_b_h (__m128i, __m128i, imm0_15);
> 
>       __m128i __lsx_vssrlni_bu_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127)
> 
>       -__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127);
> 
>       +__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vssrlni_hu_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrlni_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrlni_w_d (__m128i, __m128i, imm0_63);
> 
>       @@ -18222,8 +18218,8 @@ __m128i __lsx_vssrlrn_hu_w (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vssrlrn_h_w (__m128i, __m128i);
> 
>       __m128i __lsx_vssrlrni_b_h (__m128i, __m128i, imm0_15);
> 
>       __m128i __lsx_vssrlrni_bu_h (__m128i, __m128i, imm0_15);
> 
>       -__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127)
> 
>       -__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127)
> 
>       +__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127);
> 
>       +__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127);
> 
>       __m128i __lsx_vssrlrni_hu_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrlrni_h_w (__m128i, __m128i, imm0_31);
> 
>       __m128i __lsx_vssrlrni_w_d (__m128i, __m128i, imm0_63);
> 
>       @@ -18238,12 +18234,12 @@ __m128i __lsx_vssub_h (__m128i,
>       __m128i);
> 
>       __m128i __lsx_vssub_hu (__m128i, __m128i);
> 
>       __m128i __lsx_vssub_w (__m128i, __m128i);
> 
>       __m128i __lsx_vssub_wu (__m128i, __m128i);
> 
>       -void __lsx_vst (__m128i, void *, imm_n2048_2047)
> 
>       -void __lsx_vstelm_b (__m128i, void *, imm_n128_127, idx);
> 
>       -void __lsx_vstelm_d (__m128i, void *, imm_n128_127, idx);
> 
>       -void __lsx_vstelm_h (__m128i, void *, imm_n128_127, idx);
> 
>       -void __lsx_vstelm_w (__m128i, void *, imm_n128_127, idx);
> 
>       -void __lsx_vstx (__m128i, void *, long int)
> 
>       +void __lsx_vst (__m128i, void *, imm_n2048_2047);
> 
>       +void __lsx_vstelm_b (__m128i, void *, imm_n128_127, imm0_15);
> 
>       +void __lsx_vstelm_d (__m128i, void *, imm_n128_127, imm0_1);
> 
>       +void __lsx_vstelm_h (__m128i, void *, imm_n128_127, imm0_7);
> 
>       +void __lsx_vstelm_w (__m128i, void *, imm_n128_127, imm0_3);
> 
>       +void __lsx_vstx (__m128i, void *, long int);
> 
>       __m128i __lsx_vsub_b (__m128i, __m128i);
> 
>       __m128i __lsx_vsub_d (__m128i, __m128i);
> 
>       __m128i __lsx_vsub_h (__m128i, __m128i);
> 
>       -- 2.42.0
>     
>   
> 

Thank you very much for your modification. I have re-compared the
parameter types and return values
 of the 128 and 256-bit vector builtin functions in the manual, and the
following 256 need to be modified.

@@ -18660,14 +18656,14 @@ __m256 __lasx_xvfnmsub_s (__m256, __m256,
__m256);
 __m256d __lasx_xvfrecip_d (__m256d);
 __m256 __lasx_xvfrecip_s (__m256);
 __m256d __lasx_xvfrint_d (__m256d);
-__m256i __lasx_xvfrintrm_d (__m256d);
-__m256i __lasx_xvfrintrm_s (__m256);
-__m256i __lasx_xvfrintrne_d (__m256d);
-__m256i __lasx_xvfrintrne_s (__m256);
-__m256i __lasx_xvfrintrp_d (__m256d);
-__m256i __lasx_xvfrintrp_s (__m256);
-__m256i __lasx_xvfrintrz_d (__m256d);
-__m256i __lasx_xvfrintrz_s (__m256);
+__m256d __lasx_xvfrintrm_d (__m256d);
+__m256 __lasx_xvfrintrm_s (__m256);
+__m256d __lasx_xvfrintrne_d (__m256d);
+__m256 __lasx_xvfrintrne_s (__m256);
+__m256d __lasx_xvfrintrp_d (__m256d);
+__m256 __lasx_xvfrintrp_s (__m256);
+__m256d __lasx_xvfrintrz_d (__m256d);
+__m256 __lasx_xvfrintrz_s (__m256);
 __m256 __lasx_xvfrint_s (__m256);
 __m256d __lasx_xvfrsqrt_d (__m256d);
 __m256 __lasx_xvfrsqrt_s (__m256);
@@ -19134,10 +19130,10 @@ __m256i __lasx_xvssub_hu (__m256i, __m256i);
 __m256i __lasx_xvssub_w (__m256i, __m256i);
 __m256i __lasx_xvssub_wu (__m256i, __m256i);
 void __lasx_xvst (__m256i, void *, imm_n2048_2047);
-void __lasx_xvstelm_b (__m256i, void *, imm_n128_127, idx);
-void __lasx_xvstelm_d (__m256i, void *, imm_n128_127, idx);
-void __lasx_xvstelm_h (__m256i, void *, imm_n128_127, idx);
-void __lasx_xvstelm_w (__m256i, void *, imm_n128_127, idx);
+void __lasx_xvstelm_b (__m256i, void *, imm_n128_127, imm0_15);
+void __lasx_xvstelm_d (__m256i, void *, imm_n128_127, imm0_1);
+void __lasx_xvstelm_h (__m256i, void *, imm_n128_127, imm0_7);
+void __lasx_xvstelm_w (__m256i, void *, imm_n128_127, imm0_3);
 void __lasx_xvstx (__m256i, void *, long int);
 __m256i __lasx_xvsub_b (__m256i, __m256i);
 __m256i __lasx_xvsub_d (__m256i, __m256i);
  
chenglulu Dec. 19, 2023, 7:34 a.m. UTC | #2
LGTM!

Thanks for the revision.:-)

在 2023/12/13 下午11:26, Jiajie Chen 写道:
> Several typos have been found and fixed: missing semicolons, using
> variable name instead of type, duplicate functions and wrong types.
>
> gcc/ChangeLog:
>
> 	* doc/extend.texi(__lsx_vabsd_di): remove extra `i' in name.
> 	(__lsx_vfrintrm_d, __lsx_vfrintrm_s, __lsx_vfrintrne_d,
> 	__lsx_vfrintrne_s, __lsx_vfrintrp_d, __lsx_vfrintrp_s, __lsx_vfrintrz_d,
> 	__lsx_vfrintrz_s): fix return types.
> 	(__lsx_vld, __lsx_vldi, __lsx_vldrepl_b, __lsx_vldrepl_d,
> 	__lsx_vldrepl_h, __lsx_vldrepl_w, __lsx_vmaxi_b, __lsx_vmaxi_d,
> 	__lsx_vmaxi_h, __lsx_vmaxi_w, __lsx_vmini_b, __lsx_vmini_d,
> 	__lsx_vmini_h, __lsx_vmini_w, __lsx_vsrani_d_q, __lsx_vsrarni_d_q,
> 	__lsx_vsrlni_d_q, __lsx_vsrlrni_d_q, __lsx_vssrani_d_q,
> 	__lsx_vssrarni_d_q, __lsx_vssrarni_du_q, __lsx_vssrlni_d_q,
> 	__lsx_vssrlrni_du_q, __lsx_vst, __lsx_vstx, __lsx_vssrani_du_q,
> 	__lsx_vssrlni_du_q, __lsx_vssrlrni_d_q): add missing semicolon.
> 	(__lsx_vpickve2gr_bu, __lsx_vpickve2gr_hu): fix typo in return
> 	type.
> 	(__lsx_vstelm_b, __lsx_vstelm_d, __lsx_vstelm_h,
> 	__lsx_vstelm_w): use imm type for the last argument.
> 	(__lsx_vsigncov_b, __lsx_vsigncov_h, __lsx_vsigncov_w,
> 	__lsx_vsigncov_d): remove duplicate definitions.
> ---
>   gcc/doc/extend.texi | 90 ++++++++++++++++++++++-----------------------
>   1 file changed, 43 insertions(+), 47 deletions(-)
>
> diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
> index f0c789f6cb4..ba1317c3510 100644
> --- a/gcc/doc/extend.texi
> +++ b/gcc/doc/extend.texi
> @@ -17563,7 +17563,7 @@ int __lsx_bz_v (__m128i);
>   int __lsx_bz_w (__m128i);
>   __m128i __lsx_vabsd_b (__m128i, __m128i);
>   __m128i __lsx_vabsd_bu (__m128i, __m128i);
> -__m128i __lsx_vabsd_di (__m128i, __m128i);
> +__m128i __lsx_vabsd_d (__m128i, __m128i);
>   __m128i __lsx_vabsd_du (__m128i, __m128i);
>   __m128i __lsx_vabsd_h (__m128i, __m128i);
>   __m128i __lsx_vabsd_hu (__m128i, __m128i);
> @@ -17769,14 +17769,14 @@ __m128 __lsx_vfnmsub_s (__m128, __m128, __m128);
>   __m128d __lsx_vfrecip_d (__m128d);
>   __m128 __lsx_vfrecip_s (__m128);
>   __m128d __lsx_vfrint_d (__m128d);
> -__m128i __lsx_vfrintrm_d (__m128d);
> -__m128i __lsx_vfrintrm_s (__m128);
> -__m128i __lsx_vfrintrne_d (__m128d);
> -__m128i __lsx_vfrintrne_s (__m128);
> -__m128i __lsx_vfrintrp_d (__m128d);
> -__m128i __lsx_vfrintrp_s (__m128);
> -__m128i __lsx_vfrintrz_d (__m128d);
> -__m128i __lsx_vfrintrz_s (__m128);
> +__m128d __lsx_vfrintrm_d (__m128d);
> +__m128 __lsx_vfrintrm_s (__m128);
> +__m128d __lsx_vfrintrne_d (__m128d);
> +__m128 __lsx_vfrintrne_s (__m128);
> +__m128d __lsx_vfrintrp_d (__m128d);
> +__m128 __lsx_vfrintrp_s (__m128);
> +__m128d __lsx_vfrintrz_d (__m128d);
> +__m128 __lsx_vfrintrz_s (__m128);
>   __m128 __lsx_vfrint_s (__m128);
>   __m128d __lsx_vfrsqrt_d (__m128d);
>   __m128 __lsx_vfrsqrt_s (__m128);
> @@ -17845,12 +17845,12 @@ __m128i __lsx_vinsgr2vr_b (__m128i, int, imm0_15);
>   __m128i __lsx_vinsgr2vr_d (__m128i, long int, imm0_1);
>   __m128i __lsx_vinsgr2vr_h (__m128i, int, imm0_7);
>   __m128i __lsx_vinsgr2vr_w (__m128i, int, imm0_3);
> -__m128i __lsx_vld (void *, imm_n2048_2047)
> -__m128i __lsx_vldi (imm_n1024_1023)
> -__m128i __lsx_vldrepl_b (void *, imm_n2048_2047)
> -__m128i __lsx_vldrepl_d (void *, imm_n256_255)
> -__m128i __lsx_vldrepl_h (void *, imm_n1024_1023)
> -__m128i __lsx_vldrepl_w (void *, imm_n512_511)
> +__m128i __lsx_vld (void *, imm_n2048_2047);
> +__m128i __lsx_vldi (imm_n1024_1023);
> +__m128i __lsx_vldrepl_b (void *, imm_n2048_2047);
> +__m128i __lsx_vldrepl_d (void *, imm_n256_255);
> +__m128i __lsx_vldrepl_h (void *, imm_n1024_1023);
> +__m128i __lsx_vldrepl_w (void *, imm_n512_511);
>   __m128i __lsx_vldx (void *, long int);
>   __m128i __lsx_vmadd_b (__m128i, __m128i, __m128i);
>   __m128i __lsx_vmadd_d (__m128i, __m128i, __m128i);
> @@ -17886,13 +17886,13 @@ __m128i __lsx_vmax_d (__m128i, __m128i);
>   __m128i __lsx_vmax_du (__m128i, __m128i);
>   __m128i __lsx_vmax_h (__m128i, __m128i);
>   __m128i __lsx_vmax_hu (__m128i, __m128i);
> -__m128i __lsx_vmaxi_b (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_b (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_bu (__m128i, imm0_31);
> -__m128i __lsx_vmaxi_d (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_d (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_du (__m128i, imm0_31);
> -__m128i __lsx_vmaxi_h (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_h (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_hu (__m128i, imm0_31);
> -__m128i __lsx_vmaxi_w (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_w (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_wu (__m128i, imm0_31);
>   __m128i __lsx_vmax_w (__m128i, __m128i);
>   __m128i __lsx_vmax_wu (__m128i, __m128i);
> @@ -17902,13 +17902,13 @@ __m128i __lsx_vmin_d (__m128i, __m128i);
>   __m128i __lsx_vmin_du (__m128i, __m128i);
>   __m128i __lsx_vmin_h (__m128i, __m128i);
>   __m128i __lsx_vmin_hu (__m128i, __m128i);
> -__m128i __lsx_vmini_b (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_b (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_bu (__m128i, imm0_31);
> -__m128i __lsx_vmini_d (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_d (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_du (__m128i, imm0_31);
> -__m128i __lsx_vmini_h (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_h (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_hu (__m128i, imm0_31);
> -__m128i __lsx_vmini_w (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_w (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_wu (__m128i, imm0_31);
>   __m128i __lsx_vmin_w (__m128i, __m128i);
>   __m128i __lsx_vmin_wu (__m128i, __m128i);
> @@ -17997,11 +17997,11 @@ __m128i __lsx_vpickod_d (__m128i, __m128i);
>   __m128i __lsx_vpickod_h (__m128i, __m128i);
>   __m128i __lsx_vpickod_w (__m128i, __m128i);
>   int __lsx_vpickve2gr_b (__m128i, imm0_15);
> -unsinged int __lsx_vpickve2gr_bu (__m128i, imm0_15);
> +unsigned int __lsx_vpickve2gr_bu (__m128i, imm0_15);
>   long int __lsx_vpickve2gr_d (__m128i, imm0_1);
>   unsigned long int __lsx_vpickve2gr_du (__m128i, imm0_1);
>   int __lsx_vpickve2gr_h (__m128i, imm0_7);
> -unsinged int __lsx_vpickve2gr_hu (__m128i, imm0_7);
> +unsigned int __lsx_vpickve2gr_hu (__m128i, imm0_7);
>   int __lsx_vpickve2gr_w (__m128i, imm0_3);
>   unsigned int __lsx_vpickve2gr_wu (__m128i, imm0_3);
>   __m128i __lsx_vreplgr2vr_b (int);
> @@ -18064,10 +18064,6 @@ __m128i __lsx_vsigncov_b (__m128i, __m128i);
>   __m128i __lsx_vsigncov_d (__m128i, __m128i);
>   __m128i __lsx_vsigncov_h (__m128i, __m128i);
>   __m128i __lsx_vsigncov_w (__m128i, __m128i);
> -__m128i __lsx_vsigncov_b (__m128i, __m128i);
> -__m128i __lsx_vsigncov_d (__m128i, __m128i);
> -__m128i __lsx_vsigncov_h (__m128i, __m128i);
> -__m128i __lsx_vsigncov_w (__m128i, __m128i);
>   __m128i __lsx_vsle_b (__m128i, __m128i);
>   __m128i __lsx_vsle_bu (__m128i, __m128i);
>   __m128i __lsx_vsle_d (__m128i, __m128i);
> @@ -18124,7 +18120,7 @@ __m128i __lsx_vsrai_w (__m128i, imm0_31);
>   __m128i __lsx_vsran_b_h (__m128i, __m128i);
>   __m128i __lsx_vsran_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrani_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrani_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrani_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsran_w_d (__m128i, __m128i);
> @@ -18138,7 +18134,7 @@ __m128i __lsx_vsrari_w (__m128i, imm0_31);
>   __m128i __lsx_vsrarn_b_h (__m128i, __m128i);
>   __m128i __lsx_vsrarn_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrarni_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrarni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrarni_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsrarn_w_d (__m128i, __m128i);
> @@ -18154,7 +18150,7 @@ __m128i __lsx_vsrli_w (__m128i, imm0_31);
>   __m128i __lsx_vsrln_b_h (__m128i, __m128i);
>   __m128i __lsx_vsrln_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrlni_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrlni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrlni_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsrln_w_d (__m128i, __m128i);
> @@ -18168,7 +18164,7 @@ __m128i __lsx_vsrlri_w (__m128i, imm0_31);
>   __m128i __lsx_vsrlrn_b_h (__m128i, __m128i);
>   __m128i __lsx_vsrlrn_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrlrni_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrlrni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrlrni_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsrlrn_w_d (__m128i, __m128i);
> @@ -18180,8 +18176,8 @@ __m128i __lsx_vssran_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssran_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrani_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrani_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrani_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrani_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrani_w_d (__m128i, __m128i, imm0_63);
> @@ -18194,8 +18190,8 @@ __m128i __lsx_vssrarn_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssrarn_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrarni_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrarni_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrarni_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrarni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrarni_w_d (__m128i, __m128i, imm0_63);
> @@ -18208,8 +18204,8 @@ __m128i __lsx_vssrln_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssrln_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrlni_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrlni_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrlni_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlni_w_d (__m128i, __m128i, imm0_63);
> @@ -18222,8 +18218,8 @@ __m128i __lsx_vssrlrn_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssrlrn_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrlrni_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrlrni_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrlrni_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlrni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlrni_w_d (__m128i, __m128i, imm0_63);
> @@ -18238,12 +18234,12 @@ __m128i __lsx_vssub_h (__m128i, __m128i);
>   __m128i __lsx_vssub_hu (__m128i, __m128i);
>   __m128i __lsx_vssub_w (__m128i, __m128i);
>   __m128i __lsx_vssub_wu (__m128i, __m128i);
> -void __lsx_vst (__m128i, void *, imm_n2048_2047)
> -void __lsx_vstelm_b (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstelm_d (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstelm_h (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstelm_w (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstx (__m128i, void *, long int)
> +void __lsx_vst (__m128i, void *, imm_n2048_2047);
> +void __lsx_vstelm_b (__m128i, void *, imm_n128_127, imm0_15);
> +void __lsx_vstelm_d (__m128i, void *, imm_n128_127, imm0_1);
> +void __lsx_vstelm_h (__m128i, void *, imm_n128_127, imm0_7);
> +void __lsx_vstelm_w (__m128i, void *, imm_n128_127, imm0_3);
> +void __lsx_vstx (__m128i, void *, long int);
>   __m128i __lsx_vsub_b (__m128i, __m128i);
>   __m128i __lsx_vsub_d (__m128i, __m128i);
>   __m128i __lsx_vsub_h (__m128i, __m128i);
  
chenglulu Dec. 21, 2023, 9:44 a.m. UTC | #3
Pushed to r14-6775.

Thank you so much!

在 2023/12/13 下午11:26, Jiajie Chen 写道:
> Several typos have been found and fixed: missing semicolons, using
> variable name instead of type, duplicate functions and wrong types.
>
> gcc/ChangeLog:
>
> 	* doc/extend.texi(__lsx_vabsd_di): remove extra `i' in name.
> 	(__lsx_vfrintrm_d, __lsx_vfrintrm_s, __lsx_vfrintrne_d,
> 	__lsx_vfrintrne_s, __lsx_vfrintrp_d, __lsx_vfrintrp_s, __lsx_vfrintrz_d,
> 	__lsx_vfrintrz_s): fix return types.
> 	(__lsx_vld, __lsx_vldi, __lsx_vldrepl_b, __lsx_vldrepl_d,
> 	__lsx_vldrepl_h, __lsx_vldrepl_w, __lsx_vmaxi_b, __lsx_vmaxi_d,
> 	__lsx_vmaxi_h, __lsx_vmaxi_w, __lsx_vmini_b, __lsx_vmini_d,
> 	__lsx_vmini_h, __lsx_vmini_w, __lsx_vsrani_d_q, __lsx_vsrarni_d_q,
> 	__lsx_vsrlni_d_q, __lsx_vsrlrni_d_q, __lsx_vssrani_d_q,
> 	__lsx_vssrarni_d_q, __lsx_vssrarni_du_q, __lsx_vssrlni_d_q,
> 	__lsx_vssrlrni_du_q, __lsx_vst, __lsx_vstx, __lsx_vssrani_du_q,
> 	__lsx_vssrlni_du_q, __lsx_vssrlrni_d_q): add missing semicolon.
> 	(__lsx_vpickve2gr_bu, __lsx_vpickve2gr_hu): fix typo in return
> 	type.
> 	(__lsx_vstelm_b, __lsx_vstelm_d, __lsx_vstelm_h,
> 	__lsx_vstelm_w): use imm type for the last argument.
> 	(__lsx_vsigncov_b, __lsx_vsigncov_h, __lsx_vsigncov_w,
> 	__lsx_vsigncov_d): remove duplicate definitions.
> ---
>   gcc/doc/extend.texi | 90 ++++++++++++++++++++++-----------------------
>   1 file changed, 43 insertions(+), 47 deletions(-)
>
> diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
> index f0c789f6cb4..ba1317c3510 100644
> --- a/gcc/doc/extend.texi
> +++ b/gcc/doc/extend.texi
> @@ -17563,7 +17563,7 @@ int __lsx_bz_v (__m128i);
>   int __lsx_bz_w (__m128i);
>   __m128i __lsx_vabsd_b (__m128i, __m128i);
>   __m128i __lsx_vabsd_bu (__m128i, __m128i);
> -__m128i __lsx_vabsd_di (__m128i, __m128i);
> +__m128i __lsx_vabsd_d (__m128i, __m128i);
>   __m128i __lsx_vabsd_du (__m128i, __m128i);
>   __m128i __lsx_vabsd_h (__m128i, __m128i);
>   __m128i __lsx_vabsd_hu (__m128i, __m128i);
> @@ -17769,14 +17769,14 @@ __m128 __lsx_vfnmsub_s (__m128, __m128, __m128);
>   __m128d __lsx_vfrecip_d (__m128d);
>   __m128 __lsx_vfrecip_s (__m128);
>   __m128d __lsx_vfrint_d (__m128d);
> -__m128i __lsx_vfrintrm_d (__m128d);
> -__m128i __lsx_vfrintrm_s (__m128);
> -__m128i __lsx_vfrintrne_d (__m128d);
> -__m128i __lsx_vfrintrne_s (__m128);
> -__m128i __lsx_vfrintrp_d (__m128d);
> -__m128i __lsx_vfrintrp_s (__m128);
> -__m128i __lsx_vfrintrz_d (__m128d);
> -__m128i __lsx_vfrintrz_s (__m128);
> +__m128d __lsx_vfrintrm_d (__m128d);
> +__m128 __lsx_vfrintrm_s (__m128);
> +__m128d __lsx_vfrintrne_d (__m128d);
> +__m128 __lsx_vfrintrne_s (__m128);
> +__m128d __lsx_vfrintrp_d (__m128d);
> +__m128 __lsx_vfrintrp_s (__m128);
> +__m128d __lsx_vfrintrz_d (__m128d);
> +__m128 __lsx_vfrintrz_s (__m128);
>   __m128 __lsx_vfrint_s (__m128);
>   __m128d __lsx_vfrsqrt_d (__m128d);
>   __m128 __lsx_vfrsqrt_s (__m128);
> @@ -17845,12 +17845,12 @@ __m128i __lsx_vinsgr2vr_b (__m128i, int, imm0_15);
>   __m128i __lsx_vinsgr2vr_d (__m128i, long int, imm0_1);
>   __m128i __lsx_vinsgr2vr_h (__m128i, int, imm0_7);
>   __m128i __lsx_vinsgr2vr_w (__m128i, int, imm0_3);
> -__m128i __lsx_vld (void *, imm_n2048_2047)
> -__m128i __lsx_vldi (imm_n1024_1023)
> -__m128i __lsx_vldrepl_b (void *, imm_n2048_2047)
> -__m128i __lsx_vldrepl_d (void *, imm_n256_255)
> -__m128i __lsx_vldrepl_h (void *, imm_n1024_1023)
> -__m128i __lsx_vldrepl_w (void *, imm_n512_511)
> +__m128i __lsx_vld (void *, imm_n2048_2047);
> +__m128i __lsx_vldi (imm_n1024_1023);
> +__m128i __lsx_vldrepl_b (void *, imm_n2048_2047);
> +__m128i __lsx_vldrepl_d (void *, imm_n256_255);
> +__m128i __lsx_vldrepl_h (void *, imm_n1024_1023);
> +__m128i __lsx_vldrepl_w (void *, imm_n512_511);
>   __m128i __lsx_vldx (void *, long int);
>   __m128i __lsx_vmadd_b (__m128i, __m128i, __m128i);
>   __m128i __lsx_vmadd_d (__m128i, __m128i, __m128i);
> @@ -17886,13 +17886,13 @@ __m128i __lsx_vmax_d (__m128i, __m128i);
>   __m128i __lsx_vmax_du (__m128i, __m128i);
>   __m128i __lsx_vmax_h (__m128i, __m128i);
>   __m128i __lsx_vmax_hu (__m128i, __m128i);
> -__m128i __lsx_vmaxi_b (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_b (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_bu (__m128i, imm0_31);
> -__m128i __lsx_vmaxi_d (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_d (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_du (__m128i, imm0_31);
> -__m128i __lsx_vmaxi_h (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_h (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_hu (__m128i, imm0_31);
> -__m128i __lsx_vmaxi_w (__m128i, imm_n16_15)
> +__m128i __lsx_vmaxi_w (__m128i, imm_n16_15);
>   __m128i __lsx_vmaxi_wu (__m128i, imm0_31);
>   __m128i __lsx_vmax_w (__m128i, __m128i);
>   __m128i __lsx_vmax_wu (__m128i, __m128i);
> @@ -17902,13 +17902,13 @@ __m128i __lsx_vmin_d (__m128i, __m128i);
>   __m128i __lsx_vmin_du (__m128i, __m128i);
>   __m128i __lsx_vmin_h (__m128i, __m128i);
>   __m128i __lsx_vmin_hu (__m128i, __m128i);
> -__m128i __lsx_vmini_b (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_b (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_bu (__m128i, imm0_31);
> -__m128i __lsx_vmini_d (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_d (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_du (__m128i, imm0_31);
> -__m128i __lsx_vmini_h (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_h (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_hu (__m128i, imm0_31);
> -__m128i __lsx_vmini_w (__m128i, imm_n16_15)
> +__m128i __lsx_vmini_w (__m128i, imm_n16_15);
>   __m128i __lsx_vmini_wu (__m128i, imm0_31);
>   __m128i __lsx_vmin_w (__m128i, __m128i);
>   __m128i __lsx_vmin_wu (__m128i, __m128i);
> @@ -17997,11 +17997,11 @@ __m128i __lsx_vpickod_d (__m128i, __m128i);
>   __m128i __lsx_vpickod_h (__m128i, __m128i);
>   __m128i __lsx_vpickod_w (__m128i, __m128i);
>   int __lsx_vpickve2gr_b (__m128i, imm0_15);
> -unsinged int __lsx_vpickve2gr_bu (__m128i, imm0_15);
> +unsigned int __lsx_vpickve2gr_bu (__m128i, imm0_15);
>   long int __lsx_vpickve2gr_d (__m128i, imm0_1);
>   unsigned long int __lsx_vpickve2gr_du (__m128i, imm0_1);
>   int __lsx_vpickve2gr_h (__m128i, imm0_7);
> -unsinged int __lsx_vpickve2gr_hu (__m128i, imm0_7);
> +unsigned int __lsx_vpickve2gr_hu (__m128i, imm0_7);
>   int __lsx_vpickve2gr_w (__m128i, imm0_3);
>   unsigned int __lsx_vpickve2gr_wu (__m128i, imm0_3);
>   __m128i __lsx_vreplgr2vr_b (int);
> @@ -18064,10 +18064,6 @@ __m128i __lsx_vsigncov_b (__m128i, __m128i);
>   __m128i __lsx_vsigncov_d (__m128i, __m128i);
>   __m128i __lsx_vsigncov_h (__m128i, __m128i);
>   __m128i __lsx_vsigncov_w (__m128i, __m128i);
> -__m128i __lsx_vsigncov_b (__m128i, __m128i);
> -__m128i __lsx_vsigncov_d (__m128i, __m128i);
> -__m128i __lsx_vsigncov_h (__m128i, __m128i);
> -__m128i __lsx_vsigncov_w (__m128i, __m128i);
>   __m128i __lsx_vsle_b (__m128i, __m128i);
>   __m128i __lsx_vsle_bu (__m128i, __m128i);
>   __m128i __lsx_vsle_d (__m128i, __m128i);
> @@ -18124,7 +18120,7 @@ __m128i __lsx_vsrai_w (__m128i, imm0_31);
>   __m128i __lsx_vsran_b_h (__m128i, __m128i);
>   __m128i __lsx_vsran_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrani_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrani_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrani_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsran_w_d (__m128i, __m128i);
> @@ -18138,7 +18134,7 @@ __m128i __lsx_vsrari_w (__m128i, imm0_31);
>   __m128i __lsx_vsrarn_b_h (__m128i, __m128i);
>   __m128i __lsx_vsrarn_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrarni_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrarni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrarni_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsrarn_w_d (__m128i, __m128i);
> @@ -18154,7 +18150,7 @@ __m128i __lsx_vsrli_w (__m128i, imm0_31);
>   __m128i __lsx_vsrln_b_h (__m128i, __m128i);
>   __m128i __lsx_vsrln_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrlni_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrlni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrlni_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsrln_w_d (__m128i, __m128i);
> @@ -18168,7 +18164,7 @@ __m128i __lsx_vsrlri_w (__m128i, imm0_31);
>   __m128i __lsx_vsrlrn_b_h (__m128i, __m128i);
>   __m128i __lsx_vsrlrn_h_w (__m128i, __m128i);
>   __m128i __lsx_vsrlrni_b_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vsrlrni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vsrlrni_w_d (__m128i, __m128i, imm0_63);
>   __m128i __lsx_vsrlrn_w_d (__m128i, __m128i);
> @@ -18180,8 +18176,8 @@ __m128i __lsx_vssran_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssran_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrani_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrani_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrani_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrani_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrani_w_d (__m128i, __m128i, imm0_63);
> @@ -18194,8 +18190,8 @@ __m128i __lsx_vssrarn_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssrarn_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrarni_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrarni_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrarni_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrarni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrarni_w_d (__m128i, __m128i, imm0_63);
> @@ -18208,8 +18204,8 @@ __m128i __lsx_vssrln_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssrln_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrlni_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrlni_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrlni_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlni_w_d (__m128i, __m128i, imm0_63);
> @@ -18222,8 +18218,8 @@ __m128i __lsx_vssrlrn_hu_w (__m128i, __m128i);
>   __m128i __lsx_vssrlrn_h_w (__m128i, __m128i);
>   __m128i __lsx_vssrlrni_b_h (__m128i, __m128i, imm0_15);
>   __m128i __lsx_vssrlrni_bu_h (__m128i, __m128i, imm0_15);
> -__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127)
> -__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127)
> +__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127);
> +__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127);
>   __m128i __lsx_vssrlrni_hu_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlrni_h_w (__m128i, __m128i, imm0_31);
>   __m128i __lsx_vssrlrni_w_d (__m128i, __m128i, imm0_63);
> @@ -18238,12 +18234,12 @@ __m128i __lsx_vssub_h (__m128i, __m128i);
>   __m128i __lsx_vssub_hu (__m128i, __m128i);
>   __m128i __lsx_vssub_w (__m128i, __m128i);
>   __m128i __lsx_vssub_wu (__m128i, __m128i);
> -void __lsx_vst (__m128i, void *, imm_n2048_2047)
> -void __lsx_vstelm_b (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstelm_d (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstelm_h (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstelm_w (__m128i, void *, imm_n128_127, idx);
> -void __lsx_vstx (__m128i, void *, long int)
> +void __lsx_vst (__m128i, void *, imm_n2048_2047);
> +void __lsx_vstelm_b (__m128i, void *, imm_n128_127, imm0_15);
> +void __lsx_vstelm_d (__m128i, void *, imm_n128_127, imm0_1);
> +void __lsx_vstelm_h (__m128i, void *, imm_n128_127, imm0_7);
> +void __lsx_vstelm_w (__m128i, void *, imm_n128_127, imm0_3);
> +void __lsx_vstx (__m128i, void *, long int);
>   __m128i __lsx_vsub_b (__m128i, __m128i);
>   __m128i __lsx_vsub_d (__m128i, __m128i);
>   __m128i __lsx_vsub_h (__m128i, __m128i);
  

Patch

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index f0c789f6cb4..ba1317c3510 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -17563,7 +17563,7 @@  int __lsx_bz_v (__m128i);
 int __lsx_bz_w (__m128i);
 __m128i __lsx_vabsd_b (__m128i, __m128i);
 __m128i __lsx_vabsd_bu (__m128i, __m128i);
-__m128i __lsx_vabsd_di (__m128i, __m128i);
+__m128i __lsx_vabsd_d (__m128i, __m128i);
 __m128i __lsx_vabsd_du (__m128i, __m128i);
 __m128i __lsx_vabsd_h (__m128i, __m128i);
 __m128i __lsx_vabsd_hu (__m128i, __m128i);
@@ -17769,14 +17769,14 @@  __m128 __lsx_vfnmsub_s (__m128, __m128, __m128);
 __m128d __lsx_vfrecip_d (__m128d);
 __m128 __lsx_vfrecip_s (__m128);
 __m128d __lsx_vfrint_d (__m128d);
-__m128i __lsx_vfrintrm_d (__m128d);
-__m128i __lsx_vfrintrm_s (__m128);
-__m128i __lsx_vfrintrne_d (__m128d);
-__m128i __lsx_vfrintrne_s (__m128);
-__m128i __lsx_vfrintrp_d (__m128d);
-__m128i __lsx_vfrintrp_s (__m128);
-__m128i __lsx_vfrintrz_d (__m128d);
-__m128i __lsx_vfrintrz_s (__m128);
+__m128d __lsx_vfrintrm_d (__m128d);
+__m128 __lsx_vfrintrm_s (__m128);
+__m128d __lsx_vfrintrne_d (__m128d);
+__m128 __lsx_vfrintrne_s (__m128);
+__m128d __lsx_vfrintrp_d (__m128d);
+__m128 __lsx_vfrintrp_s (__m128);
+__m128d __lsx_vfrintrz_d (__m128d);
+__m128 __lsx_vfrintrz_s (__m128);
 __m128 __lsx_vfrint_s (__m128);
 __m128d __lsx_vfrsqrt_d (__m128d);
 __m128 __lsx_vfrsqrt_s (__m128);
@@ -17845,12 +17845,12 @@  __m128i __lsx_vinsgr2vr_b (__m128i, int, imm0_15);
 __m128i __lsx_vinsgr2vr_d (__m128i, long int, imm0_1);
 __m128i __lsx_vinsgr2vr_h (__m128i, int, imm0_7);
 __m128i __lsx_vinsgr2vr_w (__m128i, int, imm0_3);
-__m128i __lsx_vld (void *, imm_n2048_2047)
-__m128i __lsx_vldi (imm_n1024_1023)
-__m128i __lsx_vldrepl_b (void *, imm_n2048_2047)
-__m128i __lsx_vldrepl_d (void *, imm_n256_255)
-__m128i __lsx_vldrepl_h (void *, imm_n1024_1023)
-__m128i __lsx_vldrepl_w (void *, imm_n512_511)
+__m128i __lsx_vld (void *, imm_n2048_2047);
+__m128i __lsx_vldi (imm_n1024_1023);
+__m128i __lsx_vldrepl_b (void *, imm_n2048_2047);
+__m128i __lsx_vldrepl_d (void *, imm_n256_255);
+__m128i __lsx_vldrepl_h (void *, imm_n1024_1023);
+__m128i __lsx_vldrepl_w (void *, imm_n512_511);
 __m128i __lsx_vldx (void *, long int);
 __m128i __lsx_vmadd_b (__m128i, __m128i, __m128i);
 __m128i __lsx_vmadd_d (__m128i, __m128i, __m128i);
@@ -17886,13 +17886,13 @@  __m128i __lsx_vmax_d (__m128i, __m128i);
 __m128i __lsx_vmax_du (__m128i, __m128i);
 __m128i __lsx_vmax_h (__m128i, __m128i);
 __m128i __lsx_vmax_hu (__m128i, __m128i);
-__m128i __lsx_vmaxi_b (__m128i, imm_n16_15)
+__m128i __lsx_vmaxi_b (__m128i, imm_n16_15);
 __m128i __lsx_vmaxi_bu (__m128i, imm0_31);
-__m128i __lsx_vmaxi_d (__m128i, imm_n16_15)
+__m128i __lsx_vmaxi_d (__m128i, imm_n16_15);
 __m128i __lsx_vmaxi_du (__m128i, imm0_31);
-__m128i __lsx_vmaxi_h (__m128i, imm_n16_15)
+__m128i __lsx_vmaxi_h (__m128i, imm_n16_15);
 __m128i __lsx_vmaxi_hu (__m128i, imm0_31);
-__m128i __lsx_vmaxi_w (__m128i, imm_n16_15)
+__m128i __lsx_vmaxi_w (__m128i, imm_n16_15);
 __m128i __lsx_vmaxi_wu (__m128i, imm0_31);
 __m128i __lsx_vmax_w (__m128i, __m128i);
 __m128i __lsx_vmax_wu (__m128i, __m128i);
@@ -17902,13 +17902,13 @@  __m128i __lsx_vmin_d (__m128i, __m128i);
 __m128i __lsx_vmin_du (__m128i, __m128i);
 __m128i __lsx_vmin_h (__m128i, __m128i);
 __m128i __lsx_vmin_hu (__m128i, __m128i);
-__m128i __lsx_vmini_b (__m128i, imm_n16_15)
+__m128i __lsx_vmini_b (__m128i, imm_n16_15);
 __m128i __lsx_vmini_bu (__m128i, imm0_31);
-__m128i __lsx_vmini_d (__m128i, imm_n16_15)
+__m128i __lsx_vmini_d (__m128i, imm_n16_15);
 __m128i __lsx_vmini_du (__m128i, imm0_31);
-__m128i __lsx_vmini_h (__m128i, imm_n16_15)
+__m128i __lsx_vmini_h (__m128i, imm_n16_15);
 __m128i __lsx_vmini_hu (__m128i, imm0_31);
-__m128i __lsx_vmini_w (__m128i, imm_n16_15)
+__m128i __lsx_vmini_w (__m128i, imm_n16_15);
 __m128i __lsx_vmini_wu (__m128i, imm0_31);
 __m128i __lsx_vmin_w (__m128i, __m128i);
 __m128i __lsx_vmin_wu (__m128i, __m128i);
@@ -17997,11 +17997,11 @@  __m128i __lsx_vpickod_d (__m128i, __m128i);
 __m128i __lsx_vpickod_h (__m128i, __m128i);
 __m128i __lsx_vpickod_w (__m128i, __m128i);
 int __lsx_vpickve2gr_b (__m128i, imm0_15);
-unsinged int __lsx_vpickve2gr_bu (__m128i, imm0_15);
+unsigned int __lsx_vpickve2gr_bu (__m128i, imm0_15);
 long int __lsx_vpickve2gr_d (__m128i, imm0_1);
 unsigned long int __lsx_vpickve2gr_du (__m128i, imm0_1);
 int __lsx_vpickve2gr_h (__m128i, imm0_7);
-unsinged int __lsx_vpickve2gr_hu (__m128i, imm0_7);
+unsigned int __lsx_vpickve2gr_hu (__m128i, imm0_7);
 int __lsx_vpickve2gr_w (__m128i, imm0_3);
 unsigned int __lsx_vpickve2gr_wu (__m128i, imm0_3);
 __m128i __lsx_vreplgr2vr_b (int);
@@ -18064,10 +18064,6 @@  __m128i __lsx_vsigncov_b (__m128i, __m128i);
 __m128i __lsx_vsigncov_d (__m128i, __m128i);
 __m128i __lsx_vsigncov_h (__m128i, __m128i);
 __m128i __lsx_vsigncov_w (__m128i, __m128i);
-__m128i __lsx_vsigncov_b (__m128i, __m128i);
-__m128i __lsx_vsigncov_d (__m128i, __m128i);
-__m128i __lsx_vsigncov_h (__m128i, __m128i);
-__m128i __lsx_vsigncov_w (__m128i, __m128i);
 __m128i __lsx_vsle_b (__m128i, __m128i);
 __m128i __lsx_vsle_bu (__m128i, __m128i);
 __m128i __lsx_vsle_d (__m128i, __m128i);
@@ -18124,7 +18120,7 @@  __m128i __lsx_vsrai_w (__m128i, imm0_31);
 __m128i __lsx_vsran_b_h (__m128i, __m128i);
 __m128i __lsx_vsran_h_w (__m128i, __m128i);
 __m128i __lsx_vsrani_b_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vsrani_d_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vsrani_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vsrani_w_d (__m128i, __m128i, imm0_63);
 __m128i __lsx_vsran_w_d (__m128i, __m128i);
@@ -18138,7 +18134,7 @@  __m128i __lsx_vsrari_w (__m128i, imm0_31);
 __m128i __lsx_vsrarn_b_h (__m128i, __m128i);
 __m128i __lsx_vsrarn_h_w (__m128i, __m128i);
 __m128i __lsx_vsrarni_b_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vsrarni_d_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vsrarni_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vsrarni_w_d (__m128i, __m128i, imm0_63);
 __m128i __lsx_vsrarn_w_d (__m128i, __m128i);
@@ -18154,7 +18150,7 @@  __m128i __lsx_vsrli_w (__m128i, imm0_31);
 __m128i __lsx_vsrln_b_h (__m128i, __m128i);
 __m128i __lsx_vsrln_h_w (__m128i, __m128i);
 __m128i __lsx_vsrlni_b_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vsrlni_d_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vsrlni_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vsrlni_w_d (__m128i, __m128i, imm0_63);
 __m128i __lsx_vsrln_w_d (__m128i, __m128i);
@@ -18168,7 +18164,7 @@  __m128i __lsx_vsrlri_w (__m128i, imm0_31);
 __m128i __lsx_vsrlrn_b_h (__m128i, __m128i);
 __m128i __lsx_vsrlrn_h_w (__m128i, __m128i);
 __m128i __lsx_vsrlrni_b_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vsrlrni_d_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vsrlrni_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vsrlrni_w_d (__m128i, __m128i, imm0_63);
 __m128i __lsx_vsrlrn_w_d (__m128i, __m128i);
@@ -18180,8 +18176,8 @@  __m128i __lsx_vssran_hu_w (__m128i, __m128i);
 __m128i __lsx_vssran_h_w (__m128i, __m128i);
 __m128i __lsx_vssrani_b_h (__m128i, __m128i, imm0_15);
 __m128i __lsx_vssrani_bu_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127)
-__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vssrani_d_q (__m128i, __m128i, imm0_127);
+__m128i __lsx_vssrani_du_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vssrani_hu_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrani_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrani_w_d (__m128i, __m128i, imm0_63);
@@ -18194,8 +18190,8 @@  __m128i __lsx_vssrarn_hu_w (__m128i, __m128i);
 __m128i __lsx_vssrarn_h_w (__m128i, __m128i);
 __m128i __lsx_vssrarni_b_h (__m128i, __m128i, imm0_15);
 __m128i __lsx_vssrarni_bu_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127)
-__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vssrarni_d_q (__m128i, __m128i, imm0_127);
+__m128i __lsx_vssrarni_du_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vssrarni_hu_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrarni_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrarni_w_d (__m128i, __m128i, imm0_63);
@@ -18208,8 +18204,8 @@  __m128i __lsx_vssrln_hu_w (__m128i, __m128i);
 __m128i __lsx_vssrln_h_w (__m128i, __m128i);
 __m128i __lsx_vssrlni_b_h (__m128i, __m128i, imm0_15);
 __m128i __lsx_vssrlni_bu_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127)
-__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vssrlni_d_q (__m128i, __m128i, imm0_127);
+__m128i __lsx_vssrlni_du_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vssrlni_hu_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrlni_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrlni_w_d (__m128i, __m128i, imm0_63);
@@ -18222,8 +18218,8 @@  __m128i __lsx_vssrlrn_hu_w (__m128i, __m128i);
 __m128i __lsx_vssrlrn_h_w (__m128i, __m128i);
 __m128i __lsx_vssrlrni_b_h (__m128i, __m128i, imm0_15);
 __m128i __lsx_vssrlrni_bu_h (__m128i, __m128i, imm0_15);
-__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127)
-__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127)
+__m128i __lsx_vssrlrni_d_q (__m128i, __m128i, imm0_127);
+__m128i __lsx_vssrlrni_du_q (__m128i, __m128i, imm0_127);
 __m128i __lsx_vssrlrni_hu_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrlrni_h_w (__m128i, __m128i, imm0_31);
 __m128i __lsx_vssrlrni_w_d (__m128i, __m128i, imm0_63);
@@ -18238,12 +18234,12 @@  __m128i __lsx_vssub_h (__m128i, __m128i);
 __m128i __lsx_vssub_hu (__m128i, __m128i);
 __m128i __lsx_vssub_w (__m128i, __m128i);
 __m128i __lsx_vssub_wu (__m128i, __m128i);
-void __lsx_vst (__m128i, void *, imm_n2048_2047)
-void __lsx_vstelm_b (__m128i, void *, imm_n128_127, idx);
-void __lsx_vstelm_d (__m128i, void *, imm_n128_127, idx);
-void __lsx_vstelm_h (__m128i, void *, imm_n128_127, idx);
-void __lsx_vstelm_w (__m128i, void *, imm_n128_127, idx);
-void __lsx_vstx (__m128i, void *, long int)
+void __lsx_vst (__m128i, void *, imm_n2048_2047);
+void __lsx_vstelm_b (__m128i, void *, imm_n128_127, imm0_15);
+void __lsx_vstelm_d (__m128i, void *, imm_n128_127, imm0_1);
+void __lsx_vstelm_h (__m128i, void *, imm_n128_127, imm0_7);
+void __lsx_vstelm_w (__m128i, void *, imm_n128_127, imm0_3);
+void __lsx_vstx (__m128i, void *, long int);
 __m128i __lsx_vsub_b (__m128i, __m128i);
 __m128i __lsx_vsub_d (__m128i, __m128i);
 __m128i __lsx_vsub_h (__m128i, __m128i);