Lines Matching refs:opcode

54     emi.opcode.type = BadOpcode;
55 emi.opcode.op = 0;
176 //state machine on to get the opcode(s).
269 emi.opcode.type = TwoByteOpcode;
280 emi.opcode.type = OneByteOpcode;
281 emi.opcode.op = 0xC4;
295 emi.opcode.type = TwoByteOpcode;
298 emi.opcode.type = ThreeByte0F38Opcode;
301 emi.opcode.type = ThreeByte0F3AOpcode;
307 emi.opcode.type = TwoByteOpcode;
308 emi.opcode.op = 0x0B;
321 emi.opcode.type = OneByteOpcode;
322 emi.opcode.op = 0xC5;
355 DPRINTF(Decoder, "Found VEX opcode %#x.\n", nextByte);
357 emi.opcode.op = nextByte;
360 switch (emi.opcode.type) {
370 panic("Unrecognized opcode type %d.\n", emi.opcode.type);
374 // Load the first opcode byte. Determine if there are more opcode bytes, and
383 DPRINTF(Decoder, "Found opcode escape byte %#x.\n", nextByte);
386 DPRINTF(Decoder, "Found one byte opcode %#x.\n", nextByte);
387 emi.opcode.type = OneByteOpcode;
388 emi.opcode.op = nextByte;
396 // Load the second opcode byte. Determine if there are more opcode bytes, and
405 DPRINTF(Decoder, "Found opcode escape byte %#x.\n", nextByte);
408 DPRINTF(Decoder, "Found opcode escape byte %#x.\n", nextByte);
410 DPRINTF(Decoder, "Found two byte opcode %#x.\n", nextByte);
411 emi.opcode.type = TwoByteOpcode;
412 emi.opcode.op = nextByte;
419 // Load the third opcode byte and determine what immediate and/or ModRM is
426 DPRINTF(Decoder, "Found three byte 0F38 opcode %#x.\n", nextByte);
427 emi.opcode.type = ThreeByte0F38Opcode;
428 emi.opcode.op = nextByte;
433 // Load the third opcode byte and determine what immediate and/or ModRM is
440 DPRINTF(Decoder, "Found three byte 0F3A opcode %#x.\n", nextByte);
441 emi.opcode.type = ThreeByte0F3AOpcode;
442 emi.opcode.op = nextByte;
447 // Generic opcode processing which determines the immediate size, and whether
454 const uint8_t opcode = emi.opcode.op;
485 //on the opcode.
486 int immType = immTable[opcode];
493 if (modrmTable[opcode]) {
534 // the other instructions with the same actual opcode don't.
535 if (emi.opcode.type == OneByteOpcode && (modRM.reg & 0x6) == 0) {
536 if (emi.opcode.op == 0xF6)
538 else if (emi.opcode.op == 0xF7)