/external/v8/src/mips/ |
D | disasm-mips.cc | 347 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 …]
|
D | assembler-mips.cc | 1852 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()
|
D | simulator-mips.cc | 4287 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/ |
D | disasm-mips64.cc | 350 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 …]
|
D | assembler-mips64.cc | 2121 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 …]
|
D | simulator-mips64.cc | 4526 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/ |
D | instructions-a64.cc | 339 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()
|
D | assembler-a64.h | 1301 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()
|
D | assembler-a64.cc | 871 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/ |
D | assembler-arm64-inl.h | 999 Instr Assembler::ImmPCRelAddress(int imm21) { 1000 CHECK(is_int21(imm21)); 1001 Instr imm = static_cast<Instr>(truncate_to_int21(imm21));
|
D | assembler-arm64.h | 1007 void adr(const Register& rd, int imm21); 1705 inline static Instr ImmPCRelAddress(int imm21);
|
D | assembler-arm64.cc | 1080 void Assembler::adr(const Register& rd, int imm21) { in adr() argument 1082 Emit(ADR | ImmPCRelAddress(imm21) | Rd(rd)); in adr()
|
/external/vixl/doc/ |
D | supported-instructions.md | 52 void adr(const Register& rd, int imm21) 66 void adrp(const Register& rd, int imm21)
|
/external/vixl/test/ |
D | test-assembler-a64.cc | 1911 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()
|