Commit 31c2bc2e by Jakub Jelinek Committed by Jakub Jelinek

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
parent 81457d6b
2016-08-19 Jakub Jelinek <jakub@redhat.com> 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 * config/i386/t-i386 (i386-c.o): Don't depend on
i386-builtin-types.inc. i386-builtin-types.inc.
(i386.o): Depend on i386-builtin-types.inc. (i386.o): Depend on i386-builtin-types.inc.
......
...@@ -38,14 +38,14 @@ extern __inline void ...@@ -38,14 +38,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxsave (void *__P) _fxsave (void *__P)
{ {
return __builtin_ia32_fxsave (__P); __builtin_ia32_fxsave (__P);
} }
extern __inline void extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxrstor (void *__P) _fxrstor (void *__P)
{ {
return __builtin_ia32_fxrstor (__P); __builtin_ia32_fxrstor (__P);
} }
#ifdef __x86_64__ #ifdef __x86_64__
...@@ -53,14 +53,14 @@ extern __inline void ...@@ -53,14 +53,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxsave64 (void *__P) _fxsave64 (void *__P)
{ {
return __builtin_ia32_fxsave64 (__P); __builtin_ia32_fxsave64 (__P);
} }
extern __inline void extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_fxrstor64 (void *__P) _fxrstor64 (void *__P)
{ {
return __builtin_ia32_fxrstor64 (__P); __builtin_ia32_fxrstor64 (__P);
} }
#endif #endif
......
...@@ -36,16 +36,16 @@ ...@@ -36,16 +36,16 @@
extern __inline unsigned int extern __inline unsigned int
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_rdpkru_u32(void) _rdpkru_u32 (void)
{ {
return __builtin_ia32_rdpkru (); return __builtin_ia32_rdpkru ();
} }
extern __inline void extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __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__ #ifdef __DISABLE_PKU__
......
...@@ -38,14 +38,14 @@ extern __inline void ...@@ -38,14 +38,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsave (void *__P, long long __M) _xsave (void *__P, long long __M)
{ {
return __builtin_ia32_xsave (__P, __M); __builtin_ia32_xsave (__P, __M);
} }
extern __inline void extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xrstor (void *__P, long long __M) _xrstor (void *__P, long long __M)
{ {
return __builtin_ia32_xrstor (__P, __M); __builtin_ia32_xrstor (__P, __M);
} }
#ifdef __x86_64__ #ifdef __x86_64__
...@@ -53,14 +53,14 @@ extern __inline void ...@@ -53,14 +53,14 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsave64 (void *__P, long long __M) _xsave64 (void *__P, long long __M)
{ {
return __builtin_ia32_xsave64 (__P, __M); __builtin_ia32_xsave64 (__P, __M);
} }
extern __inline void extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xrstor64 (void *__P, long long __M) _xrstor64 (void *__P, long long __M)
{ {
return __builtin_ia32_xrstor64 (__P, __M); __builtin_ia32_xrstor64 (__P, __M);
} }
#endif #endif
......
...@@ -38,7 +38,7 @@ extern __inline void ...@@ -38,7 +38,7 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaveopt (void *__P, long long __M) _xsaveopt (void *__P, long long __M)
{ {
return __builtin_ia32_xsaveopt (__P, __M); __builtin_ia32_xsaveopt (__P, __M);
} }
#ifdef __x86_64__ #ifdef __x86_64__
...@@ -46,7 +46,7 @@ extern __inline void ...@@ -46,7 +46,7 @@ extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaveopt64 (void *__P, long long __M) _xsaveopt64 (void *__P, long long __M)
{ {
return __builtin_ia32_xsaveopt64 (__P, __M); __builtin_ia32_xsaveopt64 (__P, __M);
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment