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:
parent
c1d1571329
commit
12bcac83ce
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue