Lines Matching refs:src

582 	sljit_si src, sljit_sw srcw);
656 sljit_si src, sljit_sw srcw) in emit_mov() argument
662 if (src & SLJIT_MEM) { in emit_mov()
663 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
669 if (FAST_IS_REG(src)) { in emit_mov()
670 inst = emit_x86_instruction(compiler, 1, src, 0, dst, dstw); in emit_mov()
675 if (src & SLJIT_IMM) { in emit_mov()
703 inst = emit_x86_instruction(compiler, 1, dst, 0, src, srcw); in emit_mov()
710 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
719 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \ argument
720 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
876 sljit_si src, sljit_sw srcw) in emit_mov_byte() argument
888 if (dst == SLJIT_UNUSED && !(src & SLJIT_MEM)) in emit_mov_byte()
891 if (src & SLJIT_IMM) { in emit_mov_byte()
910 if ((dst & SLJIT_MEM) && FAST_IS_REG(src)) { in emit_mov_byte()
912 if (reg_map[src] >= 4) { in emit_mov_byte()
914 EMIT_MOV(compiler, TMP_REG1, 0, src, 0); in emit_mov_byte()
916 dst_r = src; in emit_mov_byte()
918 dst_r = src; in emit_mov_byte()
922 else if (FAST_IS_REG(src) && reg_map[src] >= 4) { in emit_mov_byte()
926 if (dst != src) in emit_mov_byte()
927 EMIT_MOV(compiler, dst, 0, src, 0); in emit_mov_byte()
934 if (dst != src) in emit_mov_byte()
935 EMIT_MOV(compiler, dst, 0, src, 0); in emit_mov_byte()
957 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_byte()
1021 sljit_si src, sljit_sw srcw) in emit_mov_half() argument
1030 if (dst == SLJIT_UNUSED && !(src & SLJIT_MEM)) in emit_mov_half()
1033 if (src & SLJIT_IMM) { in emit_mov_half()
1052 if ((dst & SLJIT_MEM) && FAST_IS_REG(src)) in emit_mov_half()
1053 dst_r = src; in emit_mov_half()
1055 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_half()
1072 sljit_si src, sljit_sw srcw) in emit_unary() argument
1077 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_unary()
1084 if (dst == src && dstw == srcw) { in emit_unary()
1093 EMIT_MOV(compiler, dst, 0, src, srcw); in emit_unary()
1100 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_unary()
1111 sljit_si src, sljit_sw srcw) in emit_not_with_flags() argument
1116 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_not_with_flags()
1127 EMIT_MOV(compiler, dst, 0, src, srcw); in emit_not_with_flags()
1137 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_not_with_flags()
1151 sljit_si src, sljit_sw srcw) in emit_clz() argument
1159 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_clz()
1174 if (SLJIT_UNLIKELY(src & SLJIT_IMM)) { in emit_clz()
1176 src = TMP_REG1; in emit_clz()
1180 inst = emit_x86_instruction(compiler, 2, TMP_REG1, 0, src, srcw); in emit_clz()
1260 sljit_si src, sljit_sw srcw) in sljit_emit_op1() argument
1273 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1275 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1278 CHECK_EXTRA_REGS(src, srcw, src_is_ereg = 1); in sljit_emit_op1()
1290 if (FAST_IS_REG(src) && src == dst) { in sljit_emit_op1()
1295 if (op == SLJIT_MOV_SI && (src & SLJIT_MEM)) in sljit_emit_op1()
1297 if (op == SLJIT_MOVU_SI && (src & SLJIT_MEM)) in sljit_emit_op1()
1299 if (op == SLJIT_MOV_UI && (src & SLJIT_IMM)) in sljit_emit_op1()
1301 if (op == SLJIT_MOVU_UI && (src & SLJIT_IMM)) in sljit_emit_op1()
1312 if (src & SLJIT_IMM) { in sljit_emit_op1()
1337 return emit_mov(compiler, dst, dstw, src, srcw); in sljit_emit_op1()
1341 …if (SLJIT_UNLIKELY(update) && (src & SLJIT_MEM) && !src_is_ereg && (src & REG_MASK) && (srcw != 0 … in sljit_emit_op1()
1342 inst = emit_x86_instruction(compiler, 1, src & REG_MASK, 0, src, srcw); in sljit_emit_op1()
1345 src &= SLJIT_MEM | 0xf; in sljit_emit_op1()
1350 …LJIT_MOV || op == SLJIT_MOV_UI || op == SLJIT_MOV_SI || op == SLJIT_MOV_P) || (src & SLJIT_MEM))) { in sljit_emit_op1()
1363 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw)); in sljit_emit_op1()
1366 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1369 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1372 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1375 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1379 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1382 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1406 return emit_not_with_flags(compiler, dst, dstw, src, srcw); in sljit_emit_op1()
1407 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw); in sljit_emit_op1()
1412 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw); in sljit_emit_op1()
1417 return emit_clz(compiler, op_flags, dst, dstw, src, srcw); in sljit_emit_op1()
2314 sljit_si single, sljit_si dst, sljit_si src, sljit_sw srcw) argument
2316 return emit_sse2(compiler, MOVSD_x_xm, single, dst, src, srcw);
2320 sljit_si single, sljit_si dst, sljit_sw dstw, sljit_si src) argument
2322 return emit_sse2(compiler, MOVSD_xm_x, single, src, dst, dstw);
2327 sljit_si src, sljit_sw srcw) argument
2337 …, 2 | ((op & SLJIT_SINGLE_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2349 sljit_si src, sljit_sw srcw) argument
2359 if (src & SLJIT_IMM) {
2364 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
2365 src = TMP_REG1;
2369 …, 2 | ((op & SLJIT_SINGLE_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2396 sljit_si src, sljit_sw srcw) argument
2405 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2409 return emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst, src, srcw);
2410 if (FAST_IS_REG(src))
2411 return emit_sse2_store(compiler, op & SLJIT_SINGLE_OP, dst, dstw, src);
2412 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, TMP_FREG, src, srcw));
2418 if (FAST_IS_REG(src)) {
2422 FAIL_IF(emit_sse2_logic(compiler, UNPCKLPD_x_xm, op & SLJIT_SINGLE_OP, src, src, 0));
2425 FAIL_IF(emit_sse2_load(compiler, !(op & SLJIT_SINGLE_OP), TMP_FREG, src, srcw));
2426 src = TMP_FREG;
2429 FAIL_IF(emit_sse2_logic(compiler, CVTPD2PS_x_xm, op & SLJIT_SINGLE_OP, dst_r, src, 0));
2437 if (dst != src)
2438 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src, srcw));
2442 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src, srcw));
2591 …it_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, sljit_si src, sljit_sw srcw) argument
2597 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw));
2598 ADJUST_LOCAL_OFFSET(src, srcw);
2600 CHECK_EXTRA_REGS(src, srcw, (void)0);
2611 if (src == SLJIT_R2) {
2612 EMIT_MOV(compiler, TMP_REG1, 0, src, 0);
2613 src = TMP_REG1;
2615 if (src == SLJIT_MEM1(SLJIT_SP) && type >= SLJIT_CALL3)
2620 if (src == SLJIT_R2) {
2621 EMIT_MOV(compiler, TMP_REG1, 0, src, 0);
2622 src = TMP_REG1;
2628 if (src == SLJIT_IMM) {
2652 inst = emit_x86_instruction(compiler, 1, 0, 0, src, srcw);
2662 sljit_si src, sljit_sw srcw, argument
2676 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type));
2692 if (GET_OPCODE(op) == SLJIT_OR && !GET_ALL_FLAGS(op) && FAST_IS_REG(dst) && dst == src) {
2788 …if (GET_OPCODE(op) == SLJIT_OR && !GET_ALL_FLAGS(op) && FAST_IS_REG(dst) && dst == src && reg_map[…
2961 sljit_si src, sljit_sw srcw) argument
2971 FUNCTION_CHECK_SRC(src, srcw);
2980 sljit_verbose_param(compiler, src, srcw);
2985 ADJUST_LOCAL_OFFSET(src, srcw);
2986 CHECK_EXTRA_REGS(src, srcw, (void)0);
2993 if (SLJIT_UNLIKELY(src & SLJIT_IMM)) {
2995 src = TMP_REG1;
2999 inst = emit_x86_instruction(compiler, 2, dst_reg, 0, src, srcw);