Searched refs:imm12 (Results 1 – 2 of 2) sorted by relevance
261 uint32_t imm12 = (instruction >> 8) & 0xfff; in DumpArm() local263 args << '#' << ((imm12 << 4) | imm4); in DumpArm()368 int32_t ThumbExpand(int32_t imm12) { in ThumbExpand() argument369 if ((imm12 & 0xC00) == 0) { in ThumbExpand()370 switch ((imm12 >> 8) & 3) { in ThumbExpand()372 return imm12 & 0xFF; in ThumbExpand()374 return ((imm12 & 0xFF) << 16) | (imm12 & 0xFF); in ThumbExpand()376 return ((imm12 & 0xFF) << 24) | ((imm12 & 0xFF) << 8); in ThumbExpand()378 return ((imm12 & 0xFF) << 24) | ((imm12 & 0xFF) << 16) | ((imm12 & 0xFF) << 8) | in ThumbExpand()379 (imm12 & 0xFF); in ThumbExpand()[all …]
241 uint32_t imm12 = (disp & 0xfffu) >> shift; in PatchPcRelativeReference() local242 insn = (insn & ~(0xfffu << 10)) | (imm12 << 10); in PatchPcRelativeReference()