gcc/0023-LoongArch-Fix-instruction-name-typo-in-lsx_vreplgr2v.patch
Peng Fan f653243538 LoongArch: Sync to upstream
Signed-off-by: Peng Fan <fanpeng@loongson.cn>
2024-11-12 08:44:01 +08:00

31 lines
877 B
Diff

From bc3ae60454a51b80538b6deba21975d43de23b6a Mon Sep 17 00:00:00 2001
From: Chenghui Pan <panchenghui@loongson.cn>
Date: Fri, 3 Nov 2023 17:01:36 +0800
Subject: [PATCH 023/188] LoongArch: Fix instruction name typo in
lsx_vreplgr2vr_<lsxfmt_f> template
gcc/ChangeLog:
* config/loongarch/lsx.md: Fix instruction name typo in
lsx_vreplgr2vr_<lsxfmt_f> template.
---
gcc/config/loongarch/lsx.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/loongarch/lsx.md b/gcc/config/loongarch/lsx.md
index 4af32c8df..55c7d79a0 100644
--- a/gcc/config/loongarch/lsx.md
+++ b/gcc/config/loongarch/lsx.md
@@ -1523,7 +1523,7 @@
"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 "#";
--
2.43.0