aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-05-12 00:58:27 -0700
committerChris Robinson <[email protected]>2018-05-12 00:58:27 -0700
commitf240952bcc6edc9a36a40bc82b97e19a551b4ddf (patch)
treed169912f046cd254f3df7b0134d9dbf249e0550a /OpenAL32
parente787a241c0e96b890f2173ec71aa02b5b9411ec6 (diff)
Fix non-SEE (32-bit) GCC builds
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/alMain.h2
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;