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,22 +11,16 @@
#define __DISABLE_RDSEED__
#endif /* __RDSEED__ */
extern __inline int
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_rdseed16_step(unsigned short *__p) {
__funline int _rdseed16_step(unsigned short *__p) {
return __builtin_ia32_rdseed_hi_step(__p);
}
extern __inline int
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_rdseed32_step(unsigned int *__p) {
__funline int _rdseed32_step(unsigned int *__p) {
return __builtin_ia32_rdseed_si_step(__p);
}
#ifdef __x86_64__
extern __inline int
__attribute__((__gnu_inline__, __always_inline__, __artificial__))
_rdseed64_step(unsigned long long *__p) {
__funline int _rdseed64_step(unsigned long long *__p) {
return __builtin_ia32_rdseed_di_step(__p);
}
#endif