Searched refs:uimm2 (Results 1 – 1 of 1) sorted by relevance
145 static uint32_t Uimm2ToOffset10(uint32_t uimm2) { in Uimm2ToOffset10() argument146 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() argument153 DCHECK(IsUint<2>(uimm2)); in Uimm2ToOffset1()154 return (uimm2 & 0x1u) << 1; in Uimm2ToOffset1()