Searched refs:insn32 (Results 1 – 2 of 2) sorted by relevance
94 static int32_t Decode32Imm12(uint32_t insn32) { in Decode32Imm12() argument95 uint32_t sign = (insn32 >> 31); in Decode32Imm12()96 uint32_t imm12 = (insn32 >> 20); in Decode32Imm12()100 static uint32_t Decode32UImm7(uint32_t insn32) { return (insn32 >> 25) & 0x7Fu; } in Decode32UImm7() argument102 static uint32_t Decode32UImm12(uint32_t insn32) { return (insn32 >> 20) & 0xFFFu; } in Decode32UImm12() argument104 static int32_t Decode32StoreOffset(uint32_t insn32) { in Decode32StoreOffset() argument105 uint32_t bit11 = insn32 >> 31; in Decode32StoreOffset()106 uint32_t bits5_11 = insn32 >> 25; in Decode32StoreOffset()107 uint32_t bits0_4 = (insn32 >> 7) & 0x1fu; in Decode32StoreOffset()182 static uint32_t GetRd(uint32_t insn32) { return (insn32 >> 7) & 0x1fu; } in GetRd() argument[all …]
53 static void PushBackInsn32(std::vector<uint8_t>* code, uint32_t insn32) { in PushBackInsn32() argument55 static_cast<uint8_t>(insn32), in PushBackInsn32()56 static_cast<uint8_t>(insn32 >> 8), in PushBackInsn32()57 static_cast<uint8_t>(insn32 >> 16), in PushBackInsn32()58 static_cast<uint8_t>(insn32 >> 24), in PushBackInsn32()