]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
LoongArch: Fix instruction name typo in lsx_vreplgr2vr_<lsxfmt_f> template
authorChenghui Pan <panchenghui@loongson.cn>
Fri, 3 Nov 2023 09:01:36 +0000 (17:01 +0800)
committerLulu Cheng <chenglulu@loongson.cn>
Fri, 10 Nov 2023 08:43:08 +0000 (16:43 +0800)
gcc/ChangeLog:

* config/loongarch/lsx.md: Fix instruction name typo in
lsx_vreplgr2vr_<lsxfmt_f> template.

gcc/config/loongarch/lsx.md

index 4af32c8dfe172d25ea2eed4f0f1ae5e0aa983f59..55c7d79a030c03ab5d3a61343cf90f3d57ebc750 100644 (file)
   "ISA_HAS_LSX"
 {
   if (which_alternative == 1)
-    return "ldi.<lsxfmt>\t%w0,0";
+    return "vldi.<lsxfmt>\t%w0,0";
 
   if (!TARGET_64BIT && (<MODE>mode == V2DImode || <MODE>mode == V2DFmode))
     return "#";