Fixing cr5+ checks.

This commit is contained in:
Ben Vanik 2013-05-24 20:48:04 -07:00
parent 346a27ddf8
commit c6ed7ff9cf
1 changed files with 1 additions and 1 deletions

View File

@ -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));