Lines Matching refs:operand2
1472 operand2 = SInt(R[m]); // operand2 = UInt(R[m]) produces the same final results in EmulateMUL()
1473 result = operand1 * operand2; in EmulateMUL()
1550 uint64_t operand2 = in EmulateMUL() local
1556 uint64_t result = operand1 * operand2; in EmulateMUL()
12663 operand2 = if register_form then Shift(R[m], shift_t, shift_n, APSR.C) else imm32; in EmulateSUBSPcLrEtc()
12665 when '0000' result = R[n] AND operand2; // AND in EmulateSUBSPcLrEtc()
12666 when '0001' result = R[n] EOR operand2; // EOR in EmulateSUBSPcLrEtc()
12667 when '0010' (result, -, -) = AddWithCarry(R[n], NOT(operand2), '1'); // SUB in EmulateSUBSPcLrEtc()
12668 when '0011' (result, -, -) = AddWithCarry(NOT(R[n]), operand2, '1'); // RSB in EmulateSUBSPcLrEtc()
12669 when '0100' (result, -, -) = AddWithCarry(R[n], operand2, '0'); // ADD in EmulateSUBSPcLrEtc()
12670 when '0101' (result, -, -) = AddWithCarry(R[n], operand2, APSR.c); // ADC in EmulateSUBSPcLrEtc()
12671 when '0110' (result, -, -) = AddWithCarry(R[n], NOT(operand2), APSR.C); // SBC in EmulateSUBSPcLrEtc()
12672 when '0111' (result, -, -) = AddWithCarry(NOT(R[n]), operand2, APSR.C); // RSC in EmulateSUBSPcLrEtc()
12673 when '1100' result = R[n] OR operand2; // ORR in EmulateSUBSPcLrEtc()
12674 when '1101' result = operand2; // MOV in EmulateSUBSPcLrEtc()
12675 when '1110' result = R[n] AND NOT(operand2); // BIC in EmulateSUBSPcLrEtc()
12676 when '1111' result = NOT(operand2); // MVN in EmulateSUBSPcLrEtc()
12734 uint32_t operand2; in EmulateSUBSPcLrEtc() local
12740 operand2 = Shift(Rm, shift_t, shift_n, APSR_C, &success); in EmulateSUBSPcLrEtc()
12744 operand2 = imm32; in EmulateSUBSPcLrEtc()
12757 result.result = Rn & operand2; in EmulateSUBSPcLrEtc()
12762 result.result = Rn ^ operand2; in EmulateSUBSPcLrEtc()
12767 result = AddWithCarry(Rn, ~(operand2), 1); in EmulateSUBSPcLrEtc()
12772 result = AddWithCarry(~(Rn), operand2, 1); in EmulateSUBSPcLrEtc()
12777 result = AddWithCarry(Rn, operand2, 0); in EmulateSUBSPcLrEtc()
12782 result = AddWithCarry(Rn, operand2, APSR_C); in EmulateSUBSPcLrEtc()
12787 result = AddWithCarry(Rn, ~(operand2), APSR_C); in EmulateSUBSPcLrEtc()
12792 result = AddWithCarry(~(Rn), operand2, APSR_C); in EmulateSUBSPcLrEtc()
12797 result.result = Rn | operand2; in EmulateSUBSPcLrEtc()
12802 result.result = operand2; in EmulateSUBSPcLrEtc()
12807 result.result = Rn & ~(operand2); in EmulateSUBSPcLrEtc()
12812 result.result = ~(operand2); in EmulateSUBSPcLrEtc()