|
@@ -149,11 +149,6 @@ function gen_instruction_body(encodings, size)
|
|
|
if((e.opcode >>> 16) === 0xF3) has_F3 = true;
|
|
|
}
|
|
|
|
|
|
- console.assert(
|
|
|
- !encodings.some(e => e.nonfaulting && e.block_boundary),
|
|
|
- "Unsupported: instruction cannot be both a jump and nonfaulting. Opcode: 0x" + hex(encoding.opcode)
|
|
|
- );
|
|
|
-
|
|
|
if(has_66 || has_F2 || has_F3)
|
|
|
{
|
|
|
console.assert((encoding.opcode & 0xFF00) === 0x0F00);
|
|
@@ -416,6 +411,7 @@ function gen_instruction_body(encodings, size)
|
|
|
|
|
|
if(encoding.conditional_jump)
|
|
|
{
|
|
|
+ console.assert((encoding.opcode & ~0xF) === 0x70 || (encoding.opcode & ~0xF) === 0x0F80);
|
|
|
instruction_postfix.push("analysis.condition_index = " + (encoding.opcode & 0xF) + ";");
|
|
|
}
|
|
|
|