- 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

+4 -4
View File
@@ -70,13 +70,13 @@ void qsnapvectorx87(vec3_t vec)
"sub $2, " ESP "\n"
"fnstcw (" ESP ")\n"
"fldcw %0\n"
QROUNDX87("(" EAX ")")
QROUNDX87("4(" EAX ")")
QROUNDX87("8(" EAX ")")
QROUNDX87("(%1)")
QROUNDX87("4(%1)")
QROUNDX87("8(%1)")
"fldcw (" ESP ")\n"
"add $2, " ESP "\n"
:
: "m" (fpucw), "a" (vec)
: "m" (fpucw), "r" (vec)
: "memory"
);
}