Lines Matching refs:src1

1034 #define EMIT_FPU_OPERATION(opcode, mode, dst, src1, src2) \  argument
1035 ((sljit_uw)(opcode) | (sljit_uw)(mode) | VD(dst) | VM(src1) | VN(src2))
1056 sljit_s32 src1, sljit_sw src1w,
1430 sljit_uw dst, sljit_uw src1, sljit_uw src2) in emit_single_op() argument
1437 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1448 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1467 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1495 SLJIT_ASSERT(src1 == TMP_REG1 && !(flags & ARGS_SWAPPED)); in emit_single_op()
1511 return push_inst(compiler, CMN | SET_FLAGS | RN(src1) | ((src2 & SRC2_IMM) ? src2 : RM(src2))); in emit_single_op()
1512 …return push_inst(compiler, ADD | (flags & SET_FLAGS) | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? s… in emit_single_op()
1516 …return push_inst(compiler, ADC | (flags & SET_FLAGS) | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? s… in emit_single_op()
1522 return push_inst(compiler, CMP | SET_FLAGS | RN(src1) | ((src2 & SRC2_IMM) ? src2 : RM(src2))); in emit_single_op()
1525 | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? src2 : RM(src2))); in emit_single_op()
1530 | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? src2 : RM(src2))); in emit_single_op()
1538 return push_inst(compiler, MUL | RN(dst) | RM8(src2) | RM(src1)); in emit_single_op()
1540 FAIL_IF(push_inst(compiler, SMULL | RN(TMP_REG1) | RD(dst) | RM8(src2) | RM(src1))); in emit_single_op()
1547 return push_inst(compiler, TST | SET_FLAGS | RN(src1) | ((src2 & SRC2_IMM) ? src2 : RM(src2))); in emit_single_op()
1549 | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? src2 : RM(src2))); in emit_single_op()
1553 …return push_inst(compiler, ORR | (flags & SET_FLAGS) | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? s… in emit_single_op()
1557 …return push_inst(compiler, EOR | (flags & SET_FLAGS) | RD(dst) | RN(src1) | ((src2 & SRC2_IMM) ? s… in emit_single_op()
1598 SLJIT_ASSERT(src1 == TMP_REG1); in emit_single_op()
1606 SLJIT_ASSERT(src1 != TMP_REG2); in emit_single_op()
1614 | RM8(src2) | (sljit_uw)(shift_type << 5) | 0x10 | RM(src1)); in emit_single_op()
1896 sljit_s32 src1, sljit_sw src1w, in emit_op() argument
1960 if (src1 & SLJIT_IMM) { in emit_op()
1964 src1 = src2; in emit_op()
1972 src1 = src2; in emit_op()
1981 src1 = src2; in emit_op()
1991 if (FAST_IS_REG(src1)) in emit_op()
1992 src1_reg = src1; in emit_op()
1993 else if (src1 & SLJIT_MEM) { in emit_op()
1994 FAIL_IF(emit_op_mem(compiler, inp_flags | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in emit_op()
2171 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2() argument
2175 CHECK(check_sljit_emit_op2(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_op2()
2177 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_op2()
2185 return emit_op(compiler, op, ALLOW_IMM | ALLOW_NEG_IMM, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2189 return emit_op(compiler, op, ALLOW_IMM, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2192 return emit_op(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2195 return emit_op(compiler, op, ALLOW_ANY_IMM, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2207 return emit_op(compiler, op, 0, dst, dstw, TMP_REG1, 0, src1, src1w); in sljit_emit_op2()
2210 return emit_op(compiler, op, 0, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2218 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2u() argument
2222 CHECK(check_sljit_emit_op2(compiler, op, 1, 0, 0, src1, src1w, src2, src2w)); in sljit_emit_op2u()
2225 return sljit_emit_op2(compiler, op, TMP_REG2, 0, src1, src1w, src2, src2w); in sljit_emit_op2u()
2230 sljit_s32 src1, sljit_sw src1w, in sljit_emit_shift_into() argument
2236 CHECK(check_sljit_emit_shift_into(compiler, op, src_dst, src1, src1w, src2, src2w)); in sljit_emit_shift_into()
2241 if (src_dst == src1) { in sljit_emit_shift_into()
2246 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_shift_into()
2260 if (src1 & SLJIT_MEM) { in sljit_emit_shift_into()
2261 FAIL_IF(emit_op_mem(compiler, WORD_SIZE | LOAD_DATA, TMP_REG1, src1, src1w, TMP_REG1)); in sljit_emit_shift_into()
2262 src1 = TMP_REG1; in sljit_emit_shift_into()
2263 } else if (src1 & SLJIT_IMM) { in sljit_emit_shift_into()
2265 src1 = TMP_REG1; in sljit_emit_shift_into()
2271 …return push_inst(compiler, ORR | RD(src_dst) | RN(src_dst) | RM(src1) | ((sljit_uw)(is_left ? 1 : … in sljit_emit_shift_into()
2280 …FAIL_IF(push_inst(compiler, MOV | RD(TMP_REG1) | RM(src1) | ((sljit_uw)(is_left ? 1 : 0) << 5) | (… in sljit_emit_shift_into()
2440 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop1_cmp() argument
2445 if (src1 & SLJIT_MEM) { in sljit_emit_fop1_cmp()
2446 FAIL_IF(emit_fop_mem(compiler, (op & SLJIT_32) | FPU_LOAD, TMP_FREG1, src1, src1w)); in sljit_emit_fop1_cmp()
2447 src1 = TMP_FREG1; in sljit_emit_fop1_cmp()
2455 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VCMP_F32, op & SLJIT_32, src1, src2, 0))); in sljit_emit_fop1_cmp()
2508 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2() argument
2514 CHECK(check_sljit_emit_fop2(compiler, op, dst, dstw, src1, src1w, src2, src2w)); in sljit_emit_fop2()
2516 ADJUST_LOCAL_OFFSET(src1, src1w); in sljit_emit_fop2()
2528 if (src1 & SLJIT_MEM) { in sljit_emit_fop2()
2529 FAIL_IF(emit_fop_mem(compiler, (op & SLJIT_32) | FPU_LOAD, TMP_FREG1, src1, src1w)); in sljit_emit_fop2()
2530 src1 = TMP_FREG1; in sljit_emit_fop2()
2535 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VADD_F32, op & SLJIT_32, dst_r, src2, src1))); in sljit_emit_fop2()
2539 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VSUB_F32, op & SLJIT_32, dst_r, src2, src1))); in sljit_emit_fop2()
2543 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VMUL_F32, op & SLJIT_32, dst_r, src2, src1))); in sljit_emit_fop2()
2547 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(VDIV_F32, op & SLJIT_32, dst_r, src2, src1))); in sljit_emit_fop2()