mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[INTRIN]
Add some missing intrinsics for GCC (_InterlockedExchangeAdd8, __incgsqword, _BitScanForward64, _BitScanReverse64, _bittest64, _bittestandset64, _bittestandreset64, _bittestandcomplement64, _rotr64, _lrotl, _lrotr, __lzcnt, __lzcnt16, __popcnt, __popcnt16, __lzcnt64, __popcnt64, __cpuidex, __ud2, __writecr8/__readcr8 (x86)) Remove useless top level const modifiers from parameters (they do only tell the compiler that the variable cannot be modified, they do not tell the compiler whether the parameter is a compiler constant!) svn path=/trunk/; revision=66598
This commit is contained in:
parent
6fa9017029
commit
3eba2a1fe4
2 changed files with 321 additions and 159 deletions
|
@ -581,6 +581,7 @@ unsigned long __readcr0(void);
|
|||
unsigned long __readcr2(void);
|
||||
unsigned long __readcr3(void);
|
||||
unsigned long __readcr4(void);
|
||||
unsigned long __readcr8(void);
|
||||
unsigned int __readdr(unsigned int);
|
||||
unsigned int __readeflags(void);
|
||||
unsigned char __readfsbyte(unsigned long);
|
||||
|
@ -589,6 +590,7 @@ unsigned short __readfsword(unsigned long);
|
|||
void __writecr0(unsigned int);
|
||||
void __writecr3(unsigned int);
|
||||
void __writecr4(unsigned int);
|
||||
void __writecr8(unsigned int);
|
||||
void __writedr(unsigned int, unsigned int);
|
||||
void __writeeflags(unsigned int);
|
||||
void __writefsbyte(unsigned long, unsigned char);
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue