Home
last modified time | relevance | path

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

/external/v8/src/mips/
Ddisasm-mips.cc347 int32_t imm21 = instr->Imm21Value(); in PrintSImm21() local
349 imm21 <<= (32 - kImm21Bits); in PrintSImm21()
350 imm21 >>= (32 - kImm21Bits); in PrintSImm21()
351 out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%d", imm21); in PrintSImm21()
359 int32_t imm21 = instr->Imm21Value(); in PrintPCImm21() local
361 imm21 <<= (32 - kImm21Bits); in PrintPCImm21()
362 imm21 >>= (32 - kImm21Bits); in PrintPCImm21()
366 delta_pc + (imm21 << n_bits))); in PrintPCImm21()
1609 int32_t imm21 = instr->Imm21Value(); in DecodeTypeImmediate() local
1611 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
[all …]
Dassembler-mips.cc1852 uint32_t imm21 = ADDIUPC << kImm19Bits | (imm19 & kImm19Mask); in addiupc() local
1853 GenInstrImmediate(PCREL, rs, imm21); in addiupc()
1860 uint32_t imm21 = LWPC << kImm19Bits | (offset19 & kImm19Mask); in lwpc() local
1861 GenInstrImmediate(PCREL, rs, imm21); in lwpc()
1868 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask); in auipc() local
1869 GenInstrImmediate(PCREL, rs, imm21); in auipc()
1876 uint32_t imm21 = ALUIPC << kImm16Bits | (imm16 & kImm16Mask); in aluipc() local
1877 GenInstrImmediate(PCREL, rs, imm21); in aluipc()
Dsimulator-mips.cc4287 int32_t imm21 = instr->Imm21Value(); in DecodeTypeImmediate() local
4289 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
4301 rt = (imm21 >> kImm19Bits); in DecodeTypeImmediate()
/external/v8/src/mips64/
Ddisasm-mips64.cc350 int32_t imm21 = instr->Imm21Value(); in PrintSImm21() local
352 imm21 <<= (32 - kImm21Bits); in PrintSImm21()
353 imm21 >>= (32 - kImm21Bits); in PrintSImm21()
354 out_buffer_pos_ += SNPrintF(out_buffer_ + out_buffer_pos_, "%d", imm21); in PrintSImm21()
362 int32_t imm21 = instr->Imm21Value(); in PrintPCImm21() local
364 imm21 <<= (32 - kImm21Bits); in PrintPCImm21()
365 imm21 >>= (32 - kImm21Bits); in PrintPCImm21()
369 delta_pc + (imm21 << n_bits))); in PrintPCImm21()
1847 int32_t imm21 = instr->Imm21Value(); in DecodeTypeImmediate() local
1849 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
[all …]
Dassembler-mips64.cc2121 uint32_t imm21 = ADDIUPC << kImm19Bits | (imm19 & kImm19Mask); in addiupc() local
2122 GenInstrImmediate(PCREL, rs, imm21); in addiupc()
2129 uint32_t imm21 = LWPC << kImm19Bits | (offset19 & kImm19Mask); in lwpc() local
2130 GenInstrImmediate(PCREL, rs, imm21); in lwpc()
2137 uint32_t imm21 = LWUPC << kImm19Bits | (offset19 & kImm19Mask); in lwupc() local
2138 GenInstrImmediate(PCREL, rs, imm21); in lwupc()
2145 uint32_t imm21 = LDPC << kImm18Bits | (offset18 & kImm18Mask); in ldpc() local
2146 GenInstrImmediate(PCREL, rs, imm21); in ldpc()
2153 uint32_t imm21 = AUIPC << kImm16Bits | (imm16 & kImm16Mask); in auipc() local
2154 GenInstrImmediate(PCREL, rs, imm21); in auipc()
[all …]
Dsimulator-mips64.cc4526 int32_t imm21 = instr->Imm21Value(); in DecodeTypeImmediate() local
4528 uint8_t rt = (imm21 >> kImm16Bits); in DecodeTypeImmediate()
4540 rt = (imm21 >> kImm18Bits); in DecodeTypeImmediate()
4549 rt = (imm21 >> kImm19Bits); in DecodeTypeImmediate()
/external/vixl/src/vixl/a64/
Dinstructions-a64.cc339 ptrdiff_t imm21; in SetPCRelImmTarget() local
341 imm21 = target - this; in SetPCRelImmTarget()
346 imm21 = target_page - this_page; in SetPCRelImmTarget()
348 Instr imm = Assembler::ImmPCRelAddress(static_cast<int32_t>(imm21)); in SetPCRelImmTarget()
Dassembler-a64.h1301 void adr(const Register& rd, int imm21);
1307 void adrp(const Register& rd, int imm21);
3834 static Instr ImmPCRelAddress(int imm21) { in ImmPCRelAddress() argument
3835 VIXL_ASSERT(is_int21(imm21)); in ImmPCRelAddress()
3836 Instr imm = static_cast<Instr>(truncate_to_int21(imm21)); in ImmPCRelAddress()
Dassembler-a64.cc871 void Assembler::adr(const Register& rd, int imm21) { in adr() argument
873 Emit(ADR | ImmPCRelAddress(imm21) | Rd(rd)); in adr()
882 void Assembler::adrp(const Register& rd, int imm21) { in adrp() argument
884 Emit(ADRP | ImmPCRelAddress(imm21) | Rd(rd)); in adrp()
/external/v8/src/arm64/
Dassembler-arm64-inl.h999 Instr Assembler::ImmPCRelAddress(int imm21) {
1000 CHECK(is_int21(imm21));
1001 Instr imm = static_cast<Instr>(truncate_to_int21(imm21));
Dassembler-arm64.h1007 void adr(const Register& rd, int imm21);
1705 inline static Instr ImmPCRelAddress(int imm21);
Dassembler-arm64.cc1080 void Assembler::adr(const Register& rd, int imm21) { in adr() argument
1082 Emit(ADR | ImmPCRelAddress(imm21) | Rd(rd)); in adr()
/external/vixl/doc/
Dsupported-instructions.md52 void adr(const Register& rd, int imm21)
66 void adrp(const Register& rd, int imm21)
/external/vixl/test/
Dtest-assembler-a64.cc1911 int imm21 = static_cast<int>(offset); in AdrpOffsetHelper() local
1914 __ adrp(x0, imm21); in AdrpOffsetHelper()
1915 __ adrp(x1, imm21); in AdrpOffsetHelper()
1918 __ adrp(x1, imm21); in AdrpOffsetHelper()