Lines Matching defs:shift
187 // These shift names are defined in a way to match the native disassembler
192 // Print the register shift operands for the instruction. Generally used for
195 ShiftOp shift = instr->ShiftField();
202 if ((instr->RegShiftValue() == 0) && (shift == LSL) && (shift_amount == 0)) {
208 if ((shift == ROR) && (shift_amount == 0)) {
211 } else if (((shift == LSR) || (shift == ASR)) && (shift_amount == 0)) {
234 // Print the optional shift and immediate used by saturating instructions.
236 int shift = instr->Bits(11, 7);
237 if (shift > 0) {
2144 // Advanced SIMD two registers and shift amount.
2154 // vshr.s<size> Qd, Qm, shift
2157 int shift = 2 * size - imm7;
2163 u ? "u" : "s", size, Vd, Vm, shift);
2169 u ? "u" : "s", size, Vd, Vm, shift);
2172 // vsra.<type><size> Qd, Qm, shift
2173 // vsra.<type><size> Dd, Dm, shift
2176 int shift = 2 * size - imm7;
2182 u ? "u" : "s", size, Vd, Vm, shift);
2188 u ? "u" : "s", size, Vd, Vm, shift);
2200 // vshl.i<size> Qd, Qm, shift
2203 int shift = imm7 - size;
2208 "vshl.i%d q%d, q%d, #%d", size, Vd, Vm, shift);
2210 // vsli.<size> Dd, Dm, shift
2211 // vsri.<size> Dd, Dm, shift
2214 int shift;
2217 shift = imm7 - size;
2220 shift = 2 * size - imm7;
2227 size, Vd, Vm, shift);