Lines Matching refs:srcw
605 sljit_s32 src, sljit_sw srcw);
679 sljit_s32 src, sljit_sw srcw)
686 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw);
701 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw);
704 if (NOT_HALFWORD(srcw))
705 return emit_load_imm64(compiler, dst, srcw);
708 return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, MOV_r_i32 + reg_lmap[dst], srcw);
712 if (!compiler->mode32 && NOT_HALFWORD(srcw)) {
713 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, srcw));
720 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw);
726 inst = emit_x86_instruction(compiler, 1, dst, 0, src, srcw);
733 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw);
742 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \
743 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
899 sljit_s32 src, sljit_sw srcw)
917 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw);
919 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0);
925 inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw);
980 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw);
1044 sljit_s32 src, sljit_sw srcw)
1059 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw);
1061 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0);
1067 inst = emit_x86_instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw);
1078 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw);
1095 sljit_s32 src, sljit_sw srcw)
1100 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1107 if (dst == src && dstw == srcw) {
1116 EMIT_MOV(compiler, dst, 0, src, srcw);
1123 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1134 sljit_s32 src, sljit_sw srcw)
1139 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1150 EMIT_MOV(compiler, dst, 0, src, srcw);
1160 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1174 sljit_s32 src, sljit_sw srcw)
1182 srcw);
1198 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);
1200 srcw = 0;
1203 inst = emit_x86_instruction(compiler, 2, TMP_REG1, 0, src, srcw);
1283 sljit_s32 src, sljit_sw srcw)
1296 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw));
1298 ADJUST_LOCAL_OFFSET(src, srcw);
1301 CHECK_EXTRA_REGS(src, srcw, src_is_ereg = 1);
1338 srcw = (sljit_u8)srcw;
1341 srcw = (sljit_s8)srcw;
1344 srcw = (sljit_u16)srcw;
1347 srcw = (sljit_s16)srcw;
1351 srcw = (sljit_u32)srcw;
1354 srcw = (sljit_s32)srcw;
1360 return emit_mov(compiler, dst, dstw, src, srcw);
1364 if (SLJIT_UNLIKELY(update) && (src & SLJIT_MEM) && !src_is_ereg && (src & REG_MASK) && (srcw != 0 || (src & OFFS_REG_MASK) != 0)) {
1365 inst = emit_x86_instruction(compiler, 1, src & REG_MASK, 0, src, srcw);
1369 srcw = 0;
1386 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
1389 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw));
1392 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw));
1395 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw));
1398 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw));
1402 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw));
1405 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw));
1429 return emit_not_with_flags(compiler, dst, dstw, src, srcw);
1430 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw);
1435 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw);
1440 return emit_clz(compiler, op_flags, dst, dstw, src, srcw);
2337 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw)
2339 return emit_sse2(compiler, MOVSD_x_xm, single, dst, src, srcw);
2350 sljit_s32 src, sljit_sw srcw)
2360 inst = emit_x86_instruction(compiler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2372 sljit_s32 src, sljit_sw srcw)
2385 srcw = (sljit_s32)srcw;
2387 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
2389 srcw = 0;
2392 inst = emit_x86_instruction(compiler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2419 sljit_s32 src, sljit_sw srcw)
2428 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2432 return emit_sse2_load(compiler, op & SLJIT_F32_OP, dst, src, srcw);
2435 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, TMP_FREG, src, srcw));
2448 FAIL_IF(emit_sse2_load(compiler, !(op & SLJIT_F32_OP), TMP_FREG, src, srcw));
2461 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2465 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2614 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw)
2620 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw));
2621 ADJUST_LOCAL_OFFSET(src, srcw);
2623 CHECK_EXTRA_REGS(src, srcw, (void)0);
2639 srcw += sizeof(sljit_sw);
2655 jump->u.target = srcw;
2675 inst = emit_x86_instruction(compiler, 1, 0, 0, src, srcw);
2685 sljit_s32 src, sljit_sw srcw,
2699 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type));
2700 SLJIT_UNUSED_ARG(srcw);
2984 sljit_s32 src, sljit_sw srcw)
2994 FUNCTION_CHECK_SRC(src, srcw);
3003 sljit_verbose_param(compiler, src, srcw);
3008 ADJUST_LOCAL_OFFSET(src, srcw);
3009 CHECK_EXTRA_REGS(src, srcw, (void)0);
3017 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);
3019 srcw = 0;
3022 inst = emit_x86_instruction(compiler, 2, dst_reg, 0, src, srcw);