fxsrintrin.h (_fxsave): Remove return keyword in inlines returning void.

* config/i386/fxsrintrin.h (_fxsave): Remove return keyword in inlines
	returning void.
	(_fxrstor, _fxsave64, _fxrstor64): Likewise.
	* config/i386/xsaveintrin.h (_xsave, _xrstor, _xsave64, _xrstor64):
	Likewise.
	* config/i386/xsaveoptintrin.h (_xsaveopt, _xsaveopt64): Likewise.
	* config/i386/pkuintrin.h (_wrpkru): Likewise.  Add space after
	function name.
	(_rdpkru_u32): Add space after function name.

From-SVN: r239616
This commit is contained in:
Jakub Jelinek 2016-08-19 17:24:22 +02:00 committed by Jakub Jelinek
parent 81457d6bac
commit 31c2bc2e0d
5 changed files with 23 additions and 13 deletions

View File

@ -1,5 +1,15 @@
2016-08-19 Jakub Jelinek <jakub@redhat.com>
* config/i386/fxsrintrin.h (_fxsave): Remove return keyword in inlines
returning void.
(_fxrstor, _fxsave64, _fxrstor64): Likewise.
* config/i386/xsaveintrin.h (_xsave, _xrstor, _xsave64, _xrstor64):
Likewise.
* config/i386/xsaveoptintrin.h (_xsaveopt, _xsaveopt64): Likewise.
* config/i386/pkuintrin.h (_wrpkru): Likewise. Add space after
function name.
(_rdpkru_u32): Add space after function name.
* config/i386/t-i386 (i386-c.o): Don't depend on
i386-builtin-types.inc.
(i386.o): Depend on i386-builtin-types.inc.

View File

@ -38,14 +38,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxsave (void *__P)
{
return __builtin_ia32_fxsave (__P);
__builtin_ia32_fxsave (__P);
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxrstor (void *__P)
{
return __builtin_ia32_fxrstor (__P);
__builtin_ia32_fxrstor (__P);
}
#ifdef __x86_64__
@ -53,14 +53,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxsave64 (void *__P)
{
return __builtin_ia32_fxsave64 (__P);
__builtin_ia32_fxsave64 (__P);
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxrstor64 (void *__P)
{
return __builtin_ia32_fxrstor64 (__P);
__builtin_ia32_fxrstor64 (__P);
}
#endif

View File

@ -36,16 +36,16 @@
extern __inline unsigned int
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_rdpkru_u32(void)
_rdpkru_u32 (void)
{
return __builtin_ia32_rdpkru ();
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_wrpkru(unsigned int key)
_wrpkru (unsigned int key)
{
return __builtin_ia32_wrpkru (key);
__builtin_ia32_wrpkru (key);
}
#ifdef __DISABLE_PKU__

View File

@ -38,14 +38,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsave (void *__P, long long __M)
{
return __builtin_ia32_xsave (__P, __M);
__builtin_ia32_xsave (__P, __M);
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xrstor (void *__P, long long __M)
{
return __builtin_ia32_xrstor (__P, __M);
__builtin_ia32_xrstor (__P, __M);
}
#ifdef __x86_64__
@ -53,14 +53,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsave64 (void *__P, long long __M)
{
return __builtin_ia32_xsave64 (__P, __M);
__builtin_ia32_xsave64 (__P, __M);
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xrstor64 (void *__P, long long __M)
{
return __builtin_ia32_xrstor64 (__P, __M);
__builtin_ia32_xrstor64 (__P, __M);
}
#endif

View File

@ -38,7 +38,7 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaveopt (void *__P, long long __M)
{
return __builtin_ia32_xsaveopt (__P, __M);
__builtin_ia32_xsaveopt (__P, __M);
}
#ifdef __x86_64__
@ -46,7 +46,7 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaveopt64 (void *__P, long long __M)
{
return __builtin_ia32_xsaveopt64 (__P, __M);
__builtin_ia32_xsaveopt64 (__P, __M);
}
#endif