Lines Matching defs:imm21
388 int32_t imm21 = JumpOffset(instr);
389 if (imm21 == kEndOfJumpChain) {
393 return pos + imm21;
739 int32_t imm21 = ((instr & 0x7fe00000) >> 20) | ((instr & 0x100000) >> 9) |
741 imm21 = imm21 << 11 >> 11;
742 return imm21;
998 void Assembler::GenInstrJ(Opcode opcode, Register rd, int32_t imm21) {
999 DCHECK(rd.is_valid() && is_int21(imm21) && ((imm21 & 1) == 0));
1001 (imm21 & 0xff000) | // bits 19-12
1002 ((imm21 & 0x800) << 9) | // bit 11
1003 ((imm21 & 0x7fe) << 20) | // bits 10-1
1004 ((imm21 & 0x100000) << 11); // bit 20
1523 void Assembler::jal(Register rd, int32_t imm21) {
1524 GenInstrJ(JAL, rd, imm21);