• Home
  • Raw
  • Download

Lines Matching refs:imm5

1593                              UInt imm5 )   /* saturation ceiling */  in armUnsignedSatQ()  argument
1595 UInt ceil = (1 << imm5) - 1; // (2^imm5)-1 in armUnsignedSatQ()
1639 UInt imm5, /* saturation ceiling */ in armSignedSatQ() argument
1643 Int ceil = (1 << (imm5-1)) - 1; // (2^(imm5-1))-1 in armSignedSatQ()
1644 Int floor = -(1 << (imm5-1)); // -(2^(imm5-1)) in armSignedSatQ()
2396 UInt sh2, UInt imm5, in mk_EA_reg_plusminus_shifted_reg() argument
2403 vassert(imm5 < 32); in mk_EA_reg_plusminus_shifted_reg()
2409 index = binop(Iop_Shl32, getIRegA(rM), mkU8(imm5)); in mk_EA_reg_plusminus_shifted_reg()
2410 DIS(buf, "[r%u, %c r%u LSL #%u]", rN, opChar, rM, imm5); in mk_EA_reg_plusminus_shifted_reg()
2413 if (imm5 == 0) { in mk_EA_reg_plusminus_shifted_reg()
2417 index = binop(Iop_Shr32, getIRegA(rM), mkU8(imm5)); in mk_EA_reg_plusminus_shifted_reg()
2420 rN, opChar, rM, imm5 == 0 ? 32 : imm5); in mk_EA_reg_plusminus_shifted_reg()
2425 if (imm5 == 0) { in mk_EA_reg_plusminus_shifted_reg()
2429 index = binop(Iop_Sar32, getIRegA(rM), mkU8(imm5)); in mk_EA_reg_plusminus_shifted_reg()
2432 rN, opChar, rM, imm5 == 0 ? 32 : imm5); in mk_EA_reg_plusminus_shifted_reg()
2435 if (imm5 == 0) { in mk_EA_reg_plusminus_shifted_reg()
2447 vassert(imm5 >= 1 && imm5 <= 31); in mk_EA_reg_plusminus_shifted_reg()
2449 binop(Iop_Shl32, mkexpr(rmT), mkU8(32-imm5)), in mk_EA_reg_plusminus_shifted_reg()
2450 binop(Iop_Shr32, mkexpr(rmT), mkU8(imm5))); in mk_EA_reg_plusminus_shifted_reg()
2451 DIS(buf, "[r%u, %cr%u, ROR #%u]", rN, opChar, rM, imm5); in mk_EA_reg_plusminus_shifted_reg()
8501 UInt regD = 99, regN = 99, regM = 99, imm5 = 99, shift_type = 99; in decode_V6MEDIA_instruction() local
8511 imm5 = (INSNT1(14,12) << 2) | INSNT1(7,6); in decode_V6MEDIA_instruction()
8524 imm5 = INSNA(11,7); in decode_V6MEDIA_instruction()
8537 dis_buf, &irt_regM_shift, NULL, irt_regM, shift_type, imm5, regM ); in decode_V6MEDIA_instruction()
8561 UInt regD = 99, regN = 99, shift_type = 99, imm5 = 99, sat_imm = 99; in decode_V6MEDIA_instruction() local
8571 imm5 = (INSNT1(14,12) << 2) | INSNT1(7,6); in decode_V6MEDIA_instruction()
8575 if (shift_type == BITS2(1,0) && imm5 == 0) in decode_V6MEDIA_instruction()
8584 imm5 = INSNA(11,7); in decode_V6MEDIA_instruction()
8600 irt_regN, shift_type, imm5, regN ); in decode_V6MEDIA_instruction()
8611 nCC(conq), regD, imm5, dis_buf); in decode_V6MEDIA_instruction()
8619 UInt regD = 99, regN = 99, shift_type = 99, imm5 = 99, sat_imm = 99; in decode_V6MEDIA_instruction() local
8629 imm5 = (INSNT1(14,12) << 2) | INSNT1(7,6); in decode_V6MEDIA_instruction()
8633 if (shift_type == BITS2(1,0) && imm5 == 0) in decode_V6MEDIA_instruction()
8642 imm5 = INSNA(11,7); in decode_V6MEDIA_instruction()
8658 irt_regN, shift_type, imm5, regN ); in decode_V6MEDIA_instruction()
8669 nCC(conq), regD, imm5, dis_buf); in decode_V6MEDIA_instruction()
12460 UInt imm5 = INSN(11,7); in decode_NV_instruction() local
12465 sh2, imm5, dis_buf); in decode_NV_instruction()
13073 UInt imm5 = (insn >> 7) & 0x1F; /* 11:7 */ in disInstr_ARM_WRK() local
13116 eaE = mk_EA_reg_plusminus_shifted_reg( rN, bU, rM, sh2, imm5, in disInstr_ARM_WRK()
16251 UInt imm5 = INSN0(10,6); in disInstr_THUMB_WRK() local
16258 IRExpr* ea = binop(Iop_Add32, getIRegT(rN), mkU32(imm5 * 4)); in disInstr_THUMB_WRK()
16267 DIP("%s r%u, [r%u, #%u]\n", isLD ? "ldr" : "str", rD, rN, imm5 * 4); in disInstr_THUMB_WRK()
16278 UInt imm5 = INSN0(10,6); in disInstr_THUMB_WRK() local
16285 IRExpr* ea = binop(Iop_Add32, getIRegT(rN), mkU32(imm5 * 2)); in disInstr_THUMB_WRK()
16295 DIP("%sh r%u, [r%u, #%u]\n", isLD ? "ldr" : "str", rD, rN, imm5 * 2); in disInstr_THUMB_WRK()
16306 UInt imm5 = INSN0(10,6); in disInstr_THUMB_WRK() local
16313 IRExpr* ea = binop(Iop_Add32, getIRegT(rN), mkU32(imm5)); in disInstr_THUMB_WRK()
16323 DIP("%sb r%u, [r%u, #%u]\n", isLD ? "ldr" : "str", rD, rN, imm5); in disInstr_THUMB_WRK()
16453 UInt imm5 = INSN0(10,6); in disInstr_THUMB_WRK() local
16466 dis_buf, &res, &resC, rMt, imm5, rM in disInstr_THUMB_WRK()
16472 dis_buf, &res, &resC, rMt, imm5, rM in disInstr_THUMB_WRK()
16478 dis_buf, &res, &resC, rMt, imm5, rM in disInstr_THUMB_WRK()
16490 DIP("%ss r%u, r%u, #%u\n", wot, rD, rM, imm5); in disInstr_THUMB_WRK()
16991 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6); in disInstr_THUMB_WRK() local
16998 && rD != 15 && rN == 13 && imm5 <= 3 && how == 0) { in disInstr_THUMB_WRK()
17004 && rD != 15 && rN == 13 && imm5 == 0 && how == 0) { in disInstr_THUMB_WRK()
17027 dis_buf, &argR, NULL, rMt, how, imm5, rM in disInstr_THUMB_WRK()
17071 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6); in disInstr_THUMB_WRK() local
17085 dis_buf, &argR, NULL, rMt, how, imm5, rM in disInstr_THUMB_WRK()
17153 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6); in disInstr_THUMB_WRK() local
17166 dis_buf, &argR, bS ? &oldC : NULL, rMt, how, imm5, rM in disInstr_THUMB_WRK()
17241 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6); in disInstr_THUMB_WRK() local
17250 dis_buf, &oldRn, bS ? &oldC : NULL, rNt, how, imm5, rN in disInstr_THUMB_WRK()
17282 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6); in disInstr_THUMB_WRK() local
17293 dis_buf, &argR, &oldC, rMt, how, imm5, rM in disInstr_THUMB_WRK()
17322 UInt imm5 = (INSN1(14,12) << 2) | INSN1(7,6); in disInstr_THUMB_WRK() local
17332 dis_buf, &argR, NULL, rMt, how, imm5, rM in disInstr_THUMB_WRK()