diff options
Diffstat (limited to 'OpenAL32/Include/alMain.h')
-rw-r--r-- | OpenAL32/Include/alMain.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/Include/alMain.h b/OpenAL32/Include/alMain.h index 59f96ab1..147ce08e 100644 --- a/OpenAL32/Include/alMain.h +++ b/OpenAL32/Include/alMain.h @@ -249,7 +249,7 @@ inline ALint fastf2i(ALfloat f) #ifdef __SSE_MATH__ __asm__("cvtss2si %1, %0" : "=r"(i) : "x"(f)); #else - __asm__("flds %1\n fistps %0" : "=m"(i) : "m"(f)); + __asm__ __volatile__("fistpl %0" : "=m"(i) : "t"(f) : "st"); #endif return i; |