mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 05:11:34 +00:00
Merge pull request #258 from light2yellow/master
m_fixed: asm: cc is not a register
This commit is contained in:
commit
3d0fd7ff2e
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ typedef INT32 fixed_t;
|
||||||
:"=a" (ret) // eax is always the result and the first operand (%0,%1)
|
:"=a" (ret) // eax is always the result and the first operand (%0,%1)
|
||||||
:"0" (a), "r" (b) // and %2 is what we use imull on with what in %1
|
:"0" (a), "r" (b) // and %2 is what we use imull on with what in %1
|
||||||
, "I" (FRACBITS) // %3 holds FRACBITS (normally 16)
|
, "I" (FRACBITS) // %3 holds FRACBITS (normally 16)
|
||||||
:"%cc", "%edx" // edx and condition codes clobbered
|
:"cc", "%edx" // edx and condition codes clobbered
|
||||||
);
|
);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue