- Still forgot qasm-inline.h

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

No files matched your search

+2 -2
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)
);