Home
last modified time | relevance | path

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

/external/vixl/src/aarch64/
Dinstructions-aarch64.cc341 ptrdiff_t imm21; in SetPCRelImmTarget() local
343 imm21 = target - this; in SetPCRelImmTarget()
348 imm21 = target_page - this_page; in SetPCRelImmTarget()
350 Instr imm = Assembler::ImmPCRelAddress(static_cast<int32_t>(imm21)); in SetPCRelImmTarget()
Dassembler-aarch64.h632 void adr(const Register& xd, int64_t imm21);
638 void adrp(const Register& xd, int64_t imm21);
3601 static Instr ImmPCRelAddress(int64_t imm21) { in ImmPCRelAddress() argument
3602 VIXL_ASSERT(IsInt21(imm21)); in ImmPCRelAddress()
3603 Instr imm = static_cast<Instr>(TruncateToUint21(imm21)); in ImmPCRelAddress()
Dassembler-aarch64.cc446 void Assembler::adr(const Register& xd, int64_t imm21) { in adr() argument
448 Emit(ADR | ImmPCRelAddress(imm21) | Rd(xd)); in adr()
457 void Assembler::adrp(const Register& xd, int64_t imm21) { in adrp() argument
459 Emit(ADRP | ImmPCRelAddress(imm21) | Rd(xd)); in adrp()
/external/v8/src/mips64/
Ddisasm-mips64.cc425 int32_t imm21 = instr->Imm21Value(); in PrintSImm21() local
427 imm21 <<= (32 - kImm21Bits); in PrintSImm21()
428 imm21 >>= (32 - kImm21Bits); in PrintSImm21()
429 out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%d", imm21); in PrintSImm21()
437 int32_t imm21 = instr->Imm21Value(); in PrintPCImm21() local
439 imm21 <<= (32 - kImm21Bits); in PrintPCImm21()
440 imm21 >>= (32 - kImm21Bits); in PrintPCImm21()
444 delta_pc + (imm21 << n_bits))); in PrintPCImm21()
2274 int32_t imm21 = instr->Imm21Value(); in DecodeTypeImmediate() local
2276 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
[all …]
Dassembler-mips64.cc2572 uint32_t imm21 = ADDIUPC << kImm19Bits | (imm19 & kImm19Mask); in addiupc() local
2573 GenInstrImmediate(PCREL, rs, imm21); in addiupc()
2580 uint32_t imm21 = LWPC << kImm19Bits | (offset19 & kImm19Mask); in lwpc() local
2581 GenInstrImmediate(PCREL, rs, imm21); in lwpc()
2588 uint32_t imm21 = LWUPC << kImm19Bits | (offset19 & kImm19Mask); in lwupc() local
2589 GenInstrImmediate(PCREL, rs, imm21); in lwupc()
2596 uint32_t imm21 = LDPC << kImm18Bits | (offset18 & kImm18Mask); in ldpc() local
2597 GenInstrImmediate(PCREL, rs, imm21); in ldpc()
2604 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask); in auipc() local
2605 GenInstrImmediate(PCREL, rs, imm21); in auipc()
[all …]
Dsimulator-mips64.cc7075 int32_t imm21 = instr_.Imm21Value(); in DecodeTypeImmediate() local
7077 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
7089 rt = (imm21 >> kImm18Bits); in DecodeTypeImmediate()
7098 rt = (imm21 >> kImm19Bits); in DecodeTypeImmediate()
/external/v8/src/mips/
Ddisasm-mips.cc397 int32_t imm21 = instr->Imm21Value(); in PrintSImm21() local
399 imm21 <<= (32 - kImm21Bits); in PrintSImm21()
400 imm21 >>= (32 - kImm21Bits); in PrintSImm21()
401 out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%d", imm21); in PrintSImm21()
409 int32_t imm21 = instr->Imm21Value(); in PrintPCImm21() local
411 imm21 <<= (32 - kImm21Bits); in PrintPCImm21()
412 imm21 >>= (32 - kImm21Bits); in PrintPCImm21()
416 delta_pc + (imm21 << n_bits))); in PrintPCImm21()
1974 int32_t imm21 = instr->Imm21Value(); in DecodeTypeImmediate() local
1976 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
[all …]
Dassembler-mips.cc2344 uint32_t imm21 = ADDIUPC << kImm19Bits | (imm19 & kImm19Mask); in addiupc() local
2345 GenInstrImmediate(PCREL, rs, imm21); in addiupc()
2352 uint32_t imm21 = LWPC << kImm19Bits | (offset19 & kImm19Mask); in lwpc() local
2353 GenInstrImmediate(PCREL, rs, imm21); in lwpc()
2360 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask); in auipc() local
2361 GenInstrImmediate(PCREL, rs, imm21); in auipc()
2368 uint32_t imm21 = ALUIPC << kImm16Bits | (imm16 & kImm16Mask); in aluipc() local
2369 GenInstrImmediate(PCREL, rs, imm21); in aluipc()
Dsimulator-mips.cc6767 int32_t imm21 = instr_.Imm21Value(); in DecodeTypeImmediate() local
6769 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
6781 rt = (imm21 >> kImm19Bits); in DecodeTypeImmediate()
/external/v8/src/arm64/
Dassembler-arm64-inl.h896 Instr Assembler::ImmPCRelAddress(int imm21) {
897 CHECK(is_int21(imm21));
898 Instr imm = static_cast<Instr>(truncate_to_int21(imm21));
Dassembler-arm64.h1157 void adr(const Register& rd, int imm21);
2935 inline static Instr ImmPCRelAddress(int imm21);
Dassembler-arm64.cc1099 void Assembler::adr(const Register& rd, int imm21) { in adr() argument
1101 Emit(ADR | ImmPCRelAddress(imm21) | Rd(rd)); in adr()
/external/vixl/doc/aarch64/
Dsupported-instructions-aarch64.md44 void adr(const Register& xd, int64_t imm21)
58 void adrp(const Register& xd, int64_t imm21)