public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 1/2] LoongArch: Fix wrong return value type of __iocsrrd_h.
@ 2024-02-06  2:10 Lulu Cheng
  2024-02-06  2:10 ` [PATCH 2/2] LoongArch: Remove redundant symbol type conversions in larchintrin.h Lulu Cheng
  2024-02-18  1:32 ` Re:[pushed] [PATCH 1/2] LoongArch: Fix wrong return value type of __iocsrrd_h chenglulu
  0 siblings, 2 replies; 4+ messages in thread
From: Lulu Cheng @ 2024-02-06  2:10 UTC (permalink / raw)
  To: gcc-patches; +Cc: xry111, i, xuchenghua, chenglulu

gcc/ChangeLog:

	* config/loongarch/larchintrin.h (__iocsrrd_h): Modify the
	function return value type to unsigned short.
---
 gcc/config/loongarch/larchintrin.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/loongarch/larchintrin.h b/gcc/config/loongarch/larchintrin.h
index ff2c9f460ac..04672e71728 100644
--- a/gcc/config/loongarch/larchintrin.h
+++ b/gcc/config/loongarch/larchintrin.h
@@ -268,7 +268,7 @@ __iocsrrd_b (unsigned int _1)
 
 /* Assembly instruction format:	rd, rj.  */
 /* Data types in instruction templates:  UHI, USI.  */
-extern __inline unsigned char
+extern __inline unsigned short
 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__))
 __iocsrrd_h (unsigned int _1)
 {
-- 
2.39.3


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

end of thread, other threads:[~2024-02-18  1:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-06  2:10 [PATCH 1/2] LoongArch: Fix wrong return value type of __iocsrrd_h Lulu Cheng
2024-02-06  2:10 ` [PATCH 2/2] LoongArch: Remove redundant symbol type conversions in larchintrin.h Lulu Cheng
2024-02-18  1:33   ` chenglulu
2024-02-18  1:32 ` Re:[pushed] [PATCH 1/2] LoongArch: Fix wrong return value type of __iocsrrd_h 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).