Lines Matching refs:kOpcodeShift
316 const int kOpcodeShift = 26; variable
389 const int kOpcodeMask = ((1 << kOpcodeBits) - 1) << kOpcodeShift;
427 SPECIAL = 0U << kOpcodeShift,
428 REGIMM = 1U << kOpcodeShift,
430 J = ((0U << 3) + 2) << kOpcodeShift,
431 JAL = ((0U << 3) + 3) << kOpcodeShift,
432 BEQ = ((0U << 3) + 4) << kOpcodeShift,
433 BNE = ((0U << 3) + 5) << kOpcodeShift,
434 BLEZ = ((0U << 3) + 6) << kOpcodeShift,
435 BGTZ = ((0U << 3) + 7) << kOpcodeShift,
437 ADDI = ((1U << 3) + 0) << kOpcodeShift,
438 ADDIU = ((1U << 3) + 1) << kOpcodeShift,
439 SLTI = ((1U << 3) + 2) << kOpcodeShift,
440 SLTIU = ((1U << 3) + 3) << kOpcodeShift,
441 ANDI = ((1U << 3) + 4) << kOpcodeShift,
442 ORI = ((1U << 3) + 5) << kOpcodeShift,
443 XORI = ((1U << 3) + 6) << kOpcodeShift,
444 LUI = ((1U << 3) + 7) << kOpcodeShift, // LUI/AUI family.
446 BEQC = ((2U << 3) + 0) << kOpcodeShift,
447 COP1 = ((2U << 3) + 1) << kOpcodeShift, // Coprocessor 1 class.
448 BEQL = ((2U << 3) + 4) << kOpcodeShift,
449 BNEL = ((2U << 3) + 5) << kOpcodeShift,
450 BLEZL = ((2U << 3) + 6) << kOpcodeShift,
451 BGTZL = ((2U << 3) + 7) << kOpcodeShift,
453 DADDI = ((3U << 3) + 0) << kOpcodeShift, // This is also BNEC.
454 SPECIAL2 = ((3U << 3) + 4) << kOpcodeShift,
455 MSA = ((3U << 3) + 6) << kOpcodeShift,
456 SPECIAL3 = ((3U << 3) + 7) << kOpcodeShift,
458 LB = ((4U << 3) + 0) << kOpcodeShift,
459 LH = ((4U << 3) + 1) << kOpcodeShift,
460 LWL = ((4U << 3) + 2) << kOpcodeShift,
461 LW = ((4U << 3) + 3) << kOpcodeShift,
462 LBU = ((4U << 3) + 4) << kOpcodeShift,
463 LHU = ((4U << 3) + 5) << kOpcodeShift,
464 LWR = ((4U << 3) + 6) << kOpcodeShift,
465 SB = ((5U << 3) + 0) << kOpcodeShift,
466 SH = ((5U << 3) + 1) << kOpcodeShift,
467 SWL = ((5U << 3) + 2) << kOpcodeShift,
468 SW = ((5U << 3) + 3) << kOpcodeShift,
469 SWR = ((5U << 3) + 6) << kOpcodeShift,
471 LL = ((6U << 3) + 0) << kOpcodeShift,
472 LWC1 = ((6U << 3) + 1) << kOpcodeShift,
473 BC = ((6U << 3) + 2) << kOpcodeShift,
474 LDC1 = ((6U << 3) + 5) << kOpcodeShift,
475 POP66 = ((6U << 3) + 6) << kOpcodeShift, // beqzc, jic
477 PREF = ((6U << 3) + 3) << kOpcodeShift,
479 SC = ((7U << 3) + 0) << kOpcodeShift,
480 SWC1 = ((7U << 3) + 1) << kOpcodeShift,
481 BALC = ((7U << 3) + 2) << kOpcodeShift,
482 PCREL = ((7U << 3) + 3) << kOpcodeShift,
483 SDC1 = ((7U << 3) + 5) << kOpcodeShift,
484 POP76 = ((7U << 3) + 6) << kOpcodeShift, // bnezc, jialc
486 COP1X = ((1U << 4) + 3) << kOpcodeShift,
1220 return 1ULL << (static_cast<uint32_t>(opcode) >> kOpcodeShift); in OpcodeToBitNumber()
1304 Bits(kOpcodeShift + kOpcodeBits - 1, kOpcodeShift)); in OpcodeValue()