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.
This commit is contained in:
Lulu Cheng 2024-02-05 16:23:20 +08:00
parent c1d1571329
commit 12bcac83ce

View file

@ -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)
{