public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v1] LoongArch: Fix instruction name typo in lsx_vreplgr2vr_<lsxfmt_f> template
@ 2023-11-03  9:01 Chenghui Pan
  2023-11-10  8:46 ` [pushed][PATCH " chenglulu
  0 siblings, 1 reply; 2+ messages in thread
From: Chenghui Pan @ 2023-11-03  9:01 UTC (permalink / raw)
  To: gcc-patches; +Cc: xry111, i, chenglulu, xuchenghua, Chenghui Pan

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 4af32c8dfe1..55c7d79a030 100644
--- a/gcc/config/loongarch/lsx.md
+++ b/gcc/config/loongarch/lsx.md
@@ -1523,7 +1523,7 @@ (define_insn "lsx_vreplgr2vr_<lsxfmt_f>"
   "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.36.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-10  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03  9:01 [PATCH v1] LoongArch: Fix instruction name typo in lsx_vreplgr2vr_<lsxfmt_f> template Chenghui Pan
2023-11-10  8:46 ` [pushed][PATCH " chenglulu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).