mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 00:20:59 +00:00
- Still forgot qasm-inline.h
- Leave GCC more freedom in choice of registers
This commit is contained in:
parent
04821a529d
commit
206edd3419
3 changed files with 45 additions and 6 deletions
|
@ -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)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue