Lines Matching refs:kOpcodeShift
278 const int kOpcodeShift = 26; variable
353 const int kOpcodeMask = ((1 << kOpcodeBits) - 1) << kOpcodeShift;
397 SPECIAL = 0U << kOpcodeShift,
398 REGIMM = 1U << kOpcodeShift,
400 J = ((0U << 3) + 2) << kOpcodeShift,
401 JAL = ((0U << 3) + 3) << kOpcodeShift,
402 BEQ = ((0U << 3) + 4) << kOpcodeShift,
403 BNE = ((0U << 3) + 5) << kOpcodeShift,
404 BLEZ = ((0U << 3) + 6) << kOpcodeShift,
405 BGTZ = ((0U << 3) + 7) << kOpcodeShift,
407 ADDI = ((1U << 3) + 0) << kOpcodeShift,
408 ADDIU = ((1U << 3) + 1) << kOpcodeShift,
409 SLTI = ((1U << 3) + 2) << kOpcodeShift,
410 SLTIU = ((1U << 3) + 3) << kOpcodeShift,
411 ANDI = ((1U << 3) + 4) << kOpcodeShift,
412 ORI = ((1U << 3) + 5) << kOpcodeShift,
413 XORI = ((1U << 3) + 6) << kOpcodeShift,
414 LUI = ((1U << 3) + 7) << kOpcodeShift, // LUI/AUI family.
415 DAUI = ((3U << 3) + 5) << kOpcodeShift,
417 BEQC = ((2U << 3) + 0) << kOpcodeShift,
418 COP1 = ((2U << 3) + 1) << kOpcodeShift, // Coprocessor 1 class.
419 BEQL = ((2U << 3) + 4) << kOpcodeShift,
420 BNEL = ((2U << 3) + 5) << kOpcodeShift,
421 BLEZL = ((2U << 3) + 6) << kOpcodeShift,
422 BGTZL = ((2U << 3) + 7) << kOpcodeShift,
424 DADDI = ((3U << 3) + 0) << kOpcodeShift, // This is also BNEC.
425 DADDIU = ((3U << 3) + 1) << kOpcodeShift,
426 LDL = ((3U << 3) + 2) << kOpcodeShift,
427 LDR = ((3U << 3) + 3) << kOpcodeShift,
428 SPECIAL2 = ((3U << 3) + 4) << kOpcodeShift,
429 MSA = ((3U << 3) + 6) << kOpcodeShift,
430 SPECIAL3 = ((3U << 3) + 7) << kOpcodeShift,
432 LB = ((4U << 3) + 0) << kOpcodeShift,
433 LH = ((4U << 3) + 1) << kOpcodeShift,
434 LWL = ((4U << 3) + 2) << kOpcodeShift,
435 LW = ((4U << 3) + 3) << kOpcodeShift,
436 LBU = ((4U << 3) + 4) << kOpcodeShift,
437 LHU = ((4U << 3) + 5) << kOpcodeShift,
438 LWR = ((4U << 3) + 6) << kOpcodeShift,
439 LWU = ((4U << 3) + 7) << kOpcodeShift,
441 SB = ((5U << 3) + 0) << kOpcodeShift,
442 SH = ((5U << 3) + 1) << kOpcodeShift,
443 SWL = ((5U << 3) + 2) << kOpcodeShift,
444 SW = ((5U << 3) + 3) << kOpcodeShift,
445 SDL = ((5U << 3) + 4) << kOpcodeShift,
446 SDR = ((5U << 3) + 5) << kOpcodeShift,
447 SWR = ((5U << 3) + 6) << kOpcodeShift,
449 LL = ((6U << 3) + 0) << kOpcodeShift,
450 LWC1 = ((6U << 3) + 1) << kOpcodeShift,
451 BC = ((6U << 3) + 2) << kOpcodeShift,
452 LLD = ((6U << 3) + 4) << kOpcodeShift,
453 LDC1 = ((6U << 3) + 5) << kOpcodeShift,
454 POP66 = ((6U << 3) + 6) << kOpcodeShift,
455 LD = ((6U << 3) + 7) << kOpcodeShift,
457 PREF = ((6U << 3) + 3) << kOpcodeShift,
459 SC = ((7U << 3) + 0) << kOpcodeShift,
460 SWC1 = ((7U << 3) + 1) << kOpcodeShift,
461 BALC = ((7U << 3) + 2) << kOpcodeShift,
462 PCREL = ((7U << 3) + 3) << kOpcodeShift,
463 SCD = ((7U << 3) + 4) << kOpcodeShift,
464 SDC1 = ((7U << 3) + 5) << kOpcodeShift,
465 POP76 = ((7U << 3) + 6) << kOpcodeShift,
466 SD = ((7U << 3) + 7) << kOpcodeShift,
468 COP1X = ((1U << 4) + 3) << kOpcodeShift,
1254 return 1ULL << (static_cast<uint32_t>(opcode) >> kOpcodeShift); in OpcodeToBitNumber()
1351 Bits(kOpcodeShift + kOpcodeBits - 1, kOpcodeShift)); in OpcodeValue()