mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
parent
21ca1580ef
commit
3034f5d2c4
@ -38,8 +38,8 @@
|
||||
{
|
||||
return a / b;
|
||||
}
|
||||
int32_t lo = a;
|
||||
int32_t hi = a >> 32;
|
||||
volatile int32_t lo = a;
|
||||
volatile int32_t hi = a >> 32;
|
||||
asm("idivl %[divisor]" : "+a" (lo), "+d" (hi) : [divisor] "r" (b));
|
||||
return lo;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user