Home
last modified time | relevance | path

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

/art/disassembler/
Ddisassembler_riscv64.cc145 static uint32_t Uimm2ToOffset10(uint32_t uimm2) { in Uimm2ToOffset10() argument
146 DCHECK(IsUint<2>(uimm2)); in Uimm2ToOffset10()
147 return (uimm2 >> 1) | (uimm2 & 0x1u) << 1; in Uimm2ToOffset10()
152 static uint32_t Uimm2ToOffset1(uint32_t uimm2) { in Uimm2ToOffset1() argument
153 DCHECK(IsUint<2>(uimm2)); in Uimm2ToOffset1()
154 return (uimm2 & 0x1u) << 1; in Uimm2ToOffset1()