mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 08:03:01 +00:00
[CRT/INTRIN_X86]
* Add suffixes to satisfy Clang assembler. CORE-8516 svn path=/trunk/; revision=64091
This commit is contained in:
parent
12545de76f
commit
8f51422b28
1 changed files with 2 additions and 2 deletions
|
@ -684,9 +684,9 @@ __INTRIN_INLINE long _InterlockedAddLargeStatistic(volatile long long * const Ad
|
||||||
{
|
{
|
||||||
__asm__
|
__asm__
|
||||||
(
|
(
|
||||||
"lock; add %[Value], %[Lo32];"
|
"lock; addl %[Value], %[Lo32];"
|
||||||
"jae LABEL%=;"
|
"jae LABEL%=;"
|
||||||
"lock; adc $0, %[Hi32];"
|
"lock; adcl $0, %[Hi32];"
|
||||||
"LABEL%=:;" :
|
"LABEL%=:;" :
|
||||||
[Lo32] "+m" (*((volatile long *)(Addend) + 0)), [Hi32] "+m" (*((volatile long *)(Addend) + 1)) :
|
[Lo32] "+m" (*((volatile long *)(Addend) + 0)), [Hi32] "+m" (*((volatile long *)(Addend) + 1)) :
|
||||||
[Value] "ir" (Value) :
|
[Value] "ir" (Value) :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue