diff --git a/src/m_fixed.h b/src/m_fixed.h index bb6f2481..7859e3e2 100644 --- a/src/m_fixed.h +++ b/src/m_fixed.h @@ -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; }