Jit64: fixed some signed to unsigned integer warnings
This commit is contained in:
parent
6a609e6e3c
commit
caf721fb3f
|
@ -493,7 +493,8 @@ void Jit64::FloatCompare(UGeckoInstruction inst, bool upper)
|
||||||
UGeckoInstruction next = js.op[1].inst;
|
UGeckoInstruction next = js.op[1].inst;
|
||||||
if (analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_CROR_MERGE) &&
|
if (analyzer.HasOption(PPCAnalyst::PPCAnalyzer::OPTION_CROR_MERGE) &&
|
||||||
CanMergeNextInstructions(1) && next.OPCD == 19 && next.SUBOP10 == 449 &&
|
CanMergeNextInstructions(1) && next.OPCD == 19 && next.SUBOP10 == 449 &&
|
||||||
(next.CRBA >> 2) == crf && (next.CRBB >> 2) == crf && (next.CRBD >> 2) == crf)
|
static_cast<u32>(next.CRBA >> 2) == crf && static_cast<u32>(next.CRBB >> 2) == crf &&
|
||||||
|
static_cast<u32>(next.CRBD >> 2) == crf)
|
||||||
{
|
{
|
||||||
js.skipInstructions = 1;
|
js.skipInstructions = 1;
|
||||||
js.downcountAmount++;
|
js.downcountAmount++;
|
||||||
|
|
|
@ -352,7 +352,7 @@ bool Jit64::CheckMergedBranch(u32 crf)
|
||||||
((next.OPCD == 19) && (next.SUBOP10 == 528) /* bcctrx */) ||
|
((next.OPCD == 19) && (next.SUBOP10 == 528) /* bcctrx */) ||
|
||||||
((next.OPCD == 19) && (next.SUBOP10 == 16) /* bclrx */)) &&
|
((next.OPCD == 19) && (next.SUBOP10 == 16) /* bclrx */)) &&
|
||||||
(next.BO & BO_DONT_DECREMENT_FLAG) && !(next.BO & BO_DONT_CHECK_CONDITION) &&
|
(next.BO & BO_DONT_DECREMENT_FLAG) && !(next.BO & BO_DONT_CHECK_CONDITION) &&
|
||||||
(next.BI >> 2) == crf);
|
static_cast<u32>(next.BI >> 2) == crf);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Jit64::DoMergedBranch()
|
void Jit64::DoMergedBranch()
|
||||||
|
|
Loading…
Reference in New Issue