bochs: backport decoding of CRC32 instr fix

Upstream SVN r10223
Backport was neccessary, because the CRC32 assambly instruction
did not work as expected in bochs.
This commit is contained in:
Robin Thunig
2021-03-24 19:53:21 +01:00
parent 18b3203257
commit 2fd5c20a7c
4 changed files with 38 additions and 33 deletions

View File

@ -2012,7 +2012,7 @@ modrm_done:
OpcodeInfoPtr = &(OpcodeInfoPtr->AnotherArray[b3]);
break;
case BxOSizeGrp:
OpcodeInfoPtr = &(OpcodeInfoPtr->AnotherArray[offset >> 8]);
OpcodeInfoPtr = &(OpcodeInfoPtr->AnotherArray[offset >> 9]);
break;
case BxPrefixSSE:
/* For SSE opcodes look into another table