Lines Matching refs:imm12
261 uint32_t imm12 = (instruction >> 8) & 0xfff; in DumpArm() local
263 args << '#' << ((imm12 << 4) | imm4); in DumpArm()
368 int32_t ThumbExpand(int32_t imm12) { in ThumbExpand() argument
369 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()
382 uint32_t val = 0x80 | (imm12 & 0x7F); in ThumbExpand()
383 int32_t rotate = (imm12 >> 7) & 0x1F; in ThumbExpand()
1149 uint32_t imm12 = (i << 11) | (imm3 << 8) | imm8; in DumpThumb32() local
1152 args << Rd << ", " << Rn << ", #" << imm12; in DumpThumb32()
1156 DumpBranchTarget(args, instr_ptr + 4, (op3 == 0) ? imm12 : -imm12); in DumpThumb32()
1379 uint32_t imm12 = instr & 0xFFF; in DumpThumb32() local
1391 args << "[" << Rn << ", #" << (U != 0u ? "" : "-") << imm12 << "]"; in DumpThumb32()
1417 args << Rt << ", [" << Rn << ", #" << (U != 0u ? "" : "-") << imm12 << "]"; in DumpThumb32()
1420 Thread::DumpThreadOffset<4>(args, imm12); in DumpThumb32()
1430 DumpThumb2Literal(args, instr_ptr, lo_adr, hi_adr, U, imm12, lit_type[op2 >> 1]); in DumpThumb32()