public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-9053] LoongArch: Fix wrong return value type of __iocsrrd_h.
@ 2024-02-18  1:32 LuluCheng
  0 siblings, 0 replies; only message in thread
From: LuluCheng @ 2024-02-18  1:32 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:12bcac83cee08dde89feaee1c66cd143f6c7d7b3

commit r14-9053-g12bcac83cee08dde89feaee1c66cd143f6c7d7b3
Author: Lulu Cheng <chenglulu@loongson.cn>
Date:   Mon Feb 5 16:23:20 2024 +0800

    LoongArch: Fix wrong return value type of __iocsrrd_h.
    
    gcc/ChangeLog:
    
            * config/loongarch/larchintrin.h (__iocsrrd_h): Modify the
            function return value type to unsigned short.

Diff:
---
 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 ff2c9f460ac3..04672e717280 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)
 {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-18  1:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-18  1:32 [gcc r14-9053] LoongArch: Fix wrong return value type of __iocsrrd_h LuluCheng

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).