summaryrefslogtreecommitdiff
path: root/src/asm/ftola.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/asm/ftola.c')
-rw-r--r--src/asm/ftola.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asm/ftola.c b/src/asm/ftola.c
index 7bfc6078..e0298e8e 100644
--- a/src/asm/ftola.c
+++ b/src/asm/ftola.c
@@ -33,7 +33,7 @@ long qftolsse(float f)
__asm__ volatile
(
"cvttss2si %1, %0\n"
- : "=a" (retval)
+ : "=r" (retval)
: "x" (f)
);
@@ -61,7 +61,7 @@ long qftolx87(float f)
"flds %1\n"
"fistpl %1\n"
"mov %1, %0\n"
- : "=a" (retval)
+ : "=r" (retval)
: "m" (f)
);