Merge pull request #258 from light2yellow/master

m_fixed: asm: cc is not a register
This commit is contained in:
Alam Arias 2018-11-23 14:47:36 -05:00 committed by GitHub
commit 3d0fd7ff2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ typedef INT32 fixed_t;
:"=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
, "I" (FRACBITS) // %3 holds FRACBITS (normally 16)
:"%cc", "%edx" // edx and condition codes clobbered
:"cc", "%edx" // edx and condition codes clobbered
);
return ret;
}