summaryrefslogtreecommitdiff
path: root/src/asm/ftola.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-06-13 11:07:13 +0000
committerTim Angus <tim@ngus.net>2013-01-09 23:15:56 +0000
commit53c88ffd28eefc63817e4d177a775df7b076ebae (patch)
treef27b6f4355759aa4da100a3cd5bc556aef9279ea /src/asm/ftola.c
parentd4c0287699091dc0b6e1e19a83210bcb3f093064 (diff)
- Still forgot qasm-inline.h - Leave GCC more freedom in choice of registers
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)
);