mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Make the intrinsics more readable
This commit is contained in:
parent
210187cf77
commit
80db9de173
75 changed files with 12444 additions and 21493 deletions
12
third_party/intel/rtmintrin.internal.h
vendored
12
third_party/intel/rtmintrin.internal.h
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue