Home
last modified time | relevance | path

Searched refs:imm26 (Results 1 – 13 of 13) sorted by relevance

/external/v8/src/mips/
Ddisasm-mips.cc381 int32_t imm26 = instr->Imm26Value(); in PrintSImm26() local
383 imm26 <<= (32 - kImm26Bits); in PrintSImm26()
384 imm26 >>= (32 - kImm26Bits); in PrintSImm26()
385 out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%d", imm26); in PrintSImm26()
393 int32_t imm26 = instr->Imm26Value(); in PrintPCImm26() local
395 imm26 <<= (32 - kImm26Bits); in PrintPCImm26()
396 imm26 >>= (32 - kImm26Bits); in PrintPCImm26()
400 delta_pc + (imm26 << n_bits))); in PrintPCImm26()
408 int32_t imm26 = instr->Imm26Value(); in PrintPCImm26() local
410 uint32_t pc = ((uint32_t)(instr + 1) & pc_mask) | (imm26 << 2); in PrintPCImm26()
/external/v8/src/mips64/
Ddisasm-mips64.cc384 int32_t imm26 = instr->Imm26Value(); in PrintSImm26() local
386 imm26 <<= (32 - kImm26Bits); in PrintSImm26()
387 imm26 >>= (32 - kImm26Bits); in PrintSImm26()
388 out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%d", imm26); in PrintSImm26()
396 int32_t imm26 = instr->Imm26Value(); in PrintPCImm26() local
398 imm26 <<= (32 - kImm26Bits); in PrintPCImm26()
399 imm26 >>= (32 - kImm26Bits); in PrintPCImm26()
403 delta_pc + (imm26 << n_bits))); in PrintPCImm26()
411 int32_t imm26 = instr->Imm26Value(); in PrintPCImm26() local
413 uint64_t pc = ((uint64_t)(instr + 1) & pc_mask) | (imm26 << 2); in PrintPCImm26()
Dassembler-mips64-inl.h172 uint64_t imm26 = imm28 >> 2; in set_target_internal_reference_encoded_at() local
173 DCHECK(is_uint26(imm26)); in set_target_internal_reference_encoded_at()
175 instr_at_put(pc, instr | (imm26 & kImm26Mask)); in set_target_internal_reference_encoded_at()
Dassembler-mips64.cc801 uint32_t imm26 = static_cast<uint32_t>(imm28 >> 2); in target_at_put() local
802 DCHECK(is_uint26(imm26)); in target_at_put()
806 instr_at_put(pos, mark | (imm26 & kImm26Mask)); in target_at_put()
811 uint32_t imm26 = static_cast<uint32_t>(imm28 >> 2); in target_at_put() local
812 DCHECK(is_uint26(imm26)); in target_at_put()
816 instr_at_put(pos, instr | (imm26 & kImm26Mask)); in target_at_put()
3106 uint32_t imm26 = static_cast<uint32_t>(imm28 >> 2); in RelocateInternalReference() local
3107 instr_at_put(pc, instr | (imm26 & kImm26Mask)); in RelocateInternalReference()
3120 uint32_t imm26 = static_cast<uint32_t>(target >> 2); in RelocateInternalReference() local
3123 instr_at_put(pc, unbox | (imm26 & kImm26Mask)); in RelocateInternalReference()
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td414 bits<26> imm26;
421 let Inst{25-21} = imm26{20-16};
422 let Inst{20-16} = imm26{25-21};
423 let Inst{15-0} = imm26{15-0};
/external/v8/src/ppc/
Dassembler-ppc.cc426 int imm26 = target_pos - pos; in target_at_put() local
427 CHECK(is_int26(imm26) && (imm26 & (kAAMask | kLKMask)) == 0); in target_at_put()
428 if (imm26 == kInstrSize && !(instr & kLKMask)) { in target_at_put()
433 instr |= (imm26 & kImm26Mask); in target_at_put()
714 int imm26 = branch_offset; in b() local
715 CHECK(is_int26(imm26) && (imm26 & (kAAMask | kLKMask)) == 0); in b()
716 emit(BX | (imm26 & kImm26Mask) | lk); in b()
/external/v8/src/arm64/
Dassembler-arm64-inl.h1008 Instr Assembler::ImmUncondBranch(int imm26) {
1009 CHECK(is_int26(imm26));
1010 return truncate_to_int26(imm26) << ImmUncondBranch_offset;
Dassembler-arm64.h978 void b(int imm26);
985 void bl(int imm26);
1708 inline static Instr ImmUncondBranch(int imm26);
Dassembler-arm64.cc984 void Assembler::b(int imm26) { in b() argument
985 Emit(B | ImmUncondBranch(imm26)); in b()
1006 void Assembler::bl(int imm26) { in bl() argument
1008 Emit(BL | ImmUncondBranch(imm26)); in bl()
/external/v8/src/arm/
Dassembler-arm.cc810 int imm26 = ((instr & kImm24Mask) << 8) >> 6; in target_at() local
814 imm26 += 2; in target_at()
816 return pos + kPcLoadDelta + imm26; in target_at()
885 int imm26 = target_pos - (pos + kPcLoadDelta); in target_at_put() local
889 DCHECK_EQ(0, imm26 & 1); in target_at_put()
890 instr = (instr & ~(B24 | kImm24Mask)) | ((imm26 & 2) >> 1) * B24; in target_at_put()
892 DCHECK_EQ(0, imm26 & 3); in target_at_put()
895 int imm24 = imm26 >> 2; in target_at_put()
/external/vixl/src/vixl/a64/
Dassembler-a64.h1206 void b(int imm26);
1215 void bl(int imm26);
3843 static Instr ImmUncondBranch(int imm26) { in ImmUncondBranch() argument
3844 VIXL_ASSERT(is_int26(imm26)); in ImmUncondBranch()
3845 return truncate_to_int26(imm26) << ImmUncondBranch_offset; in ImmUncondBranch()
Dassembler-a64.cc664 void Assembler::b(int imm26) { in b() argument
665 Emit(B | ImmUncondBranch(imm26)); in b()
688 void Assembler::bl(int imm26) { in bl() argument
689 Emit(BL | ImmUncondBranch(imm26)); in bl()
/external/vixl/doc/
Dsupported-instructions.md126 void b(int imm26)
188 void bl(int imm26)