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.
__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__
__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
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__
__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__
__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
__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__
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaveopt64 (void *__P, long long __M)
{
- return __builtin_ia32_xsaveopt64 (__P, __M);
+ __builtin_ia32_xsaveopt64 (__P, __M);
}
#endif