Lines Matching full:srcw
579 sljit_si src, sljit_sw srcw);
653 sljit_si src, sljit_sw srcw)
660 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw);
675 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw);
678 if (NOT_HALFWORD(srcw))
679 return emit_load_imm64(compiler, dst, srcw);
682 return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, MOV_r_i32 + reg_lmap[dst], srcw);
686 if (!compiler->mode32 && NOT_HALFWORD(srcw)) {
687 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, srcw));
694 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw);
700 inst = emit_x86_instruction(compiler, 1, dst, 0, src, srcw);
707 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw);
716 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \
717 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
864 sljit_si src, sljit_sw srcw)
882 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw);
884 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0);
890 inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw);
945 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw);
1009 sljit_si src, sljit_sw srcw)
1024 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw);
1026 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0);
1032 inst = emit_x86_instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw);
1043 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw);
1060 sljit_si src, sljit_sw srcw)
1065 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1072 if (dst == src && dstw == srcw) {
1081 EMIT_MOV(compiler, dst, 0, src, srcw);
1088 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1099 sljit_si src, sljit_sw srcw)
1104 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1115 EMIT_MOV(compiler, dst, 0, src, srcw);
1125 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1139 sljit_si src, sljit_sw srcw)
1147 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
1163 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);
1165 srcw = 0;
1168 inst = emit_x86_instruction(compiler, 2, TMP_REG1, 0, src, srcw);
1248 sljit_si src, sljit_sw srcw)
1261 check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw);
1263 ADJUST_LOCAL_OFFSET(src, srcw);
1266 CHECK_EXTRA_REGS(src, srcw, src_is_ereg = 1);
1303 srcw = (sljit_ub)srcw;
1306 srcw = (sljit_sb)srcw;
1309 srcw = (sljit_uh)srcw;
1312 srcw = (sljit_sh)srcw;
1316 srcw = (sljit_ui)srcw;
1319 srcw = (sljit_si)srcw;
1325 return emit_mov(compiler, dst, dstw, src, srcw);
1329 if (SLJIT_UNLIKELY(update) && (src & SLJIT_MEM) && !src_is_ereg && (src & REG_MASK) && (srcw != 0 || (src & OFFS_REG_MASK) != 0)) {
1330 inst = emit_x86_instruction(compiler, 1, src & REG_MASK, 0, src, srcw);
1334 srcw = 0;
1351 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
1354 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw));
1357 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw));
1360 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw));
1363 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw));
1367 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw));
1370 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw));
1394 return emit_not_with_flags(compiler, dst, dstw, src, srcw);
1395 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw);
1400 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw);
1405 return emit_clz(compiler, op_flags, dst, dstw, src, srcw);
2301 sljit_si single, sljit_si dst, sljit_si src, sljit_sw srcw)
2303 return emit_sse2(compiler, MOVSD_x_xm, single, dst, src, srcw);
2314 sljit_si src, sljit_sw srcw)
2324 inst = emit_x86_instruction(compiler, 2 | ((op & SLJIT_SINGLE_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2336 sljit_si src, sljit_sw srcw)
2349 srcw = (sljit_si)srcw;
2351 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
2353 srcw = 0;
2356 inst = emit_x86_instruction(compiler, 2 | ((op & SLJIT_SINGLE_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2383 sljit_si src, sljit_sw srcw)
2392 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2396 return emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst, src, srcw);
2399 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, TMP_FREG, src, srcw));
2412 FAIL_IF(emit_sse2_load(compiler, !(op & SLJIT_SINGLE_OP), TMP_FREG, src, srcw));
2425 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src, srcw));
2429 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_SINGLE_OP, dst_r, src, srcw));
2578 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, sljit_si src, sljit_sw srcw)
2584 check_sljit_emit_ijump(compiler, type, src, srcw);
2585 ADJUST_LOCAL_OFFSET(src, srcw);
2587 CHECK_EXTRA_REGS(src, srcw, (void)0);
2603 srcw += sizeof(sljit_sw);
2619 jump->u.target = srcw;
2639 inst = emit_x86_instruction(compiler, 1, 0, 0, src, srcw);
2649 sljit_si src, sljit_sw srcw,
2663 check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type);