mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-26 22:01:26 +00:00
- made absMaskInt const
This commit is contained in:
parent
d137b3c94e
commit
08c0ac541f
1 changed files with 3 additions and 3 deletions
|
@ -270,7 +270,7 @@ void emitComparisonOpcode(asmjit::X86Compiler& cc, const TArray<asmjit::Label>&
|
||||||
|
|
||||||
JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
||||||
{
|
{
|
||||||
#if 0 // For debugging
|
#if 1 // For debugging
|
||||||
if (strcmp(sfunc->Name.GetChars(), "EmptyFunction") != 0)
|
if (strcmp(sfunc->Name.GetChars(), "EmptyFunction") != 0)
|
||||||
return nullptr;
|
return nullptr;
|
||||||
#else
|
#else
|
||||||
|
@ -1178,7 +1178,7 @@ JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
||||||
else {
|
else {
|
||||||
auto tmp = cc.newXmmSd();
|
auto tmp = cc.newXmmSd();
|
||||||
|
|
||||||
int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
const int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
||||||
auto absMask = cc.newDoubleConst(kConstScopeLocal, reinterpret_cast<const double&>(absMaskInt));
|
auto absMask = cc.newDoubleConst(kConstScopeLocal, reinterpret_cast<const double&>(absMaskInt));
|
||||||
auto absMaskXmm = cc.newXmmPd();
|
auto absMaskXmm = cc.newXmmPd();
|
||||||
|
|
||||||
|
@ -1218,7 +1218,7 @@ JitFuncPtr JitCompile(VMScriptFunction *sfunc)
|
||||||
auto konstTmp = cc.newIntPtr();
|
auto konstTmp = cc.newIntPtr();
|
||||||
auto subTmp = cc.newXmmSd();
|
auto subTmp = cc.newXmmSd();
|
||||||
|
|
||||||
int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
const int64_t absMaskInt = 0x7FFFFFFFFFFFFFFF;
|
||||||
auto absMask = cc.newDoubleConst(kConstScopeLocal, reinterpret_cast<const double&>(absMaskInt));
|
auto absMask = cc.newDoubleConst(kConstScopeLocal, reinterpret_cast<const double&>(absMaskInt));
|
||||||
auto absMaskXmm = cc.newXmmPd();
|
auto absMaskXmm = cc.newXmmPd();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue