Fixing cr5+ checks.
This commit is contained in:
parent
346a27ddf8
commit
c6ed7ff9cf
|
@ -1066,7 +1066,7 @@ void X64Emitter::FillRegisters() {
|
||||||
}
|
}
|
||||||
// (cr >> 28 - n * 4) & 0xF
|
// (cr >> 28 - n * 4) & 0xF
|
||||||
c.mov(cr_tmp, cr);
|
c.mov(cr_tmp, cr);
|
||||||
if (n < 4) {
|
if (n < 7) {
|
||||||
c.shr(cr_tmp, imm(28 - n * 4));
|
c.shr(cr_tmp, imm(28 - n * 4));
|
||||||
}
|
}
|
||||||
c.and_(cr_tmp, imm(0xF));
|
c.and_(cr_tmp, imm(0xF));
|
||||||
|
|
Loading…
Reference in New Issue