Make the intrinsics more readable

This commit is contained in:
Justine Tunney 2023-05-15 23:11:47 -07:00
parent 210187cf77
commit 80db9de173
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
75 changed files with 12444 additions and 21493 deletions

View file

@ -11,28 +11,20 @@
#define __DISABLE_XSAVES__
#endif /* __XSAVES__ */
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaves(void *__P, long long __M) {
__funline void _xsaves(void *__P, long long __M) {
__builtin_ia32_xsaves(__P, __M);
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xrstors(void *__P, long long __M) {
__funline void _xrstors(void *__P, long long __M) {
__builtin_ia32_xrstors(__P, __M);
}
#ifdef __x86_64__
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xrstors64(void *__P, long long __M) {
__funline void _xrstors64(void *__P, long long __M) {
__builtin_ia32_xrstors64(__P, __M);
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xsaves64(void *__P, long long __M) {
__funline void _xsaves64(void *__P, long long __M) {
__builtin_ia32_xsaves64(__P, __M);
}
#endif