mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-21 10:00:30 +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
8
third_party/intel/pkuintrin.internal.h
vendored
8
third_party/intel/pkuintrin.internal.h
vendored
|
@ -11,15 +11,11 @@
|
|||
#define __DISABLE_PKU__
|
||||
#endif /* __PKU__ */
|
||||
|
||||
extern __inline unsigned int
|
||||
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
_rdpkru_u32(void) {
|
||||
__funline unsigned int _rdpkru_u32(void) {
|
||||
return __builtin_ia32_rdpkru();
|
||||
}
|
||||
|
||||
extern __inline void
|
||||
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
|
||||
_wrpkru(unsigned int __key) {
|
||||
__funline void _wrpkru(unsigned int __key) {
|
||||
__builtin_ia32_wrpkru(__key);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue