mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
ntdll: Specify div to be divl.
Avoids a clang bug.
This commit is contained in:
parent
836308ff17
commit
a73a6e0cde
@ -264,7 +264,7 @@ UINT WINAPI RtlEnlargedUnsignedDivide( ULONGLONG a, UINT b, UINT *remptr )
|
||||
p1 = a >> 32;
|
||||
p2 = a & 0xffffffffLL;
|
||||
|
||||
__asm__("div %4,%%eax"
|
||||
__asm__("divl %4,%%eax"
|
||||
: "=a" (ret), "=d" (rem)
|
||||
: "0" (p2), "1" (p1), "g" (b) );
|
||||
if (remptr) *remptr = rem;
|
||||
|
Loading…
Reference in New Issue
Block a user