From 53c88ffd28eefc63817e4d177a775df7b076ebae Mon Sep 17 00:00:00 2001 From: Thilo Schulz Date: Mon, 13 Jun 2011 11:07:13 +0000 Subject: - Still forgot qasm-inline.h - Leave GCC more freedom in choice of registers --- src/asm/ftola.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/asm/ftola.c') 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) ); -- cgit