Searched refs:kRdShift (Results 1 – 4 of 4) sorted by relevance
217 const int kRdShift = 11; variable263 const int kRdFieldMask = ((1 << kRdBits) - 1) << kRdShift;805 return Bits(kRdShift + kRdBits - 1, kRdShift); in RdValue()
351 rd.code_ = (instr & kRdFieldMask) >> kRdShift; in GetRdReg()377 return (instr & kRdFieldMask) >> kRdShift; in GetRd()858 | (rd.code() << kRdShift) | (sa << kSaShift) | func; in GenInstrRegister()871 | (msb << kRdShift) | (lsb << kSaShift) | func; in GenInstrRegister()1704 | (rd.code() << kRdShift) | (sa << kSaShift) | SRL; in rotr()1714 | (rd.code() << kRdShift) | (1 << kSaShift) | SRLV; in rotrv()1742 | (rd.code() << kRdShift) | (sa << kSaShift) | DSRL; in drotr()1750 | (rd.code() << kRdShift) | (1 << kSaShift) | DSRLV; in drotrv()2899 uint32_t rd_field = ra.code() << kRdShift; // Return-address (ra) reg. in JumpLabelToJumpRegister()
255 const int kRdShift = 11; variable301 const int kRdFieldMask = ((1 << kRdBits) - 1) << kRdShift;791 return Bits(kRdShift + kRdBits - 1, kRdShift); in RdValue()
373 rd.code_ = (instr & kRdFieldMask) >> kRdShift; in GetRdReg()399 return (instr & kRdFieldMask) >> kRdShift; in GetRd()874 | (rd.code() << kRdShift) | (sa << kSaShift) | func; in GenInstrRegister()887 | (msb << kRdShift) | (lsb << kSaShift) | func; in GenInstrRegister()1640 | (rd.code() << kRdShift) | (sa << kSaShift) | SRL; in rotr()1650 | (rd.code() << kRdShift) | (1 << kSaShift) | SRLV; in rotrv()2667 uint32_t rd_field = ra.code() << kRdShift; // Return-address (ra) reg. in set_target_address_at()2680 *(p + 2) = SPECIAL | rs_field | (zero_reg.code() << kRdShift) | JALR; in set_target_address_at()2710 uint32_t rd_field = ra.code() << kRdShift; // Return-address (ra) reg. in JumpLabelToJumpRegister()2719 *(p + 2) = SPECIAL | rs_field | (zero_reg.code() << kRdShift) | JALR; in JumpLabelToJumpRegister()