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

@ -20,22 +20,16 @@
#define _XABORT_NESTED (1 << 5)
#define _XABORT_CODE(x) (((x) >> 24) & 0xFF)
extern __inline unsigned int
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xbegin(void) {
__funline unsigned int _xbegin(void) {
return __builtin_ia32_xbegin();
}
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xend(void) {
__funline void _xend(void) {
__builtin_ia32_xend();
}
#ifdef __OPTIMIZE__
extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_xabort(const unsigned int __imm) {
__funline void _xabort(const unsigned int __imm) {
__builtin_ia32_xabort(__imm);
}
#else