Home
last modified time | relevance | path

Searched refs:insn16 (Results 1 – 2 of 2) sorted by relevance

/art/disassembler/
Ddisassembler_riscv64.cc116 static uint32_t Decode16CMOffsetW(uint32_t insn16) { in Decode16CMOffsetW() argument
117 DCHECK(IsUint<16>(insn16)); in Decode16CMOffsetW()
118 return BitFieldExtract(insn16, 5, 1) << 6 | BitFieldExtract(insn16, 10, 3) << 3 | in Decode16CMOffsetW()
119 BitFieldExtract(insn16, 6, 1) << 2; in Decode16CMOffsetW()
124 static uint32_t Decode16CMOffsetD(uint32_t insn16) { in Decode16CMOffsetD() argument
125 DCHECK(IsUint<16>(insn16)); in Decode16CMOffsetD()
126 return BitFieldExtract(insn16, 5, 2) << 6 | BitFieldExtract(insn16, 10, 3) << 3; in Decode16CMOffsetD()
168 static T Decode16Imm6(uint32_t insn16) { in Decode16Imm6() argument
169 DCHECK(IsUint<16>(insn16)); in Decode16Imm6()
172 BitFieldInsert(BitFieldExtract(insn16, 2, 5), BitFieldExtract(insn16, 12, 1), 5, 1); in Decode16Imm6()
[all …]
/art/dex2oat/linker/riscv64/
Drelative_patcher_riscv64_test.cc45 static void PushBackInsn16(std::vector<uint8_t>* code, uint32_t insn16) { in PushBackInsn16() argument
47 static_cast<uint8_t>(insn16), in PushBackInsn16()
48 static_cast<uint8_t>(insn16 >> 8), in PushBackInsn16()