- Still forgot qasm-inline.h

- Leave GCC more freedom in choice of registers
This commit is contained in:
Thilo Schulz 2011-06-13 11:07:13 +00:00
parent 04821a529d
commit 206edd3419
3 changed files with 45 additions and 6 deletions

View file

@ -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)
);