Lines Matching refs:srcw
611 sljit_s32 src, sljit_sw srcw);
613 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \ argument
614 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
641 sljit_s32 src, sljit_sw srcw) in emit_mov() argument
648 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
663 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov()
666 if (NOT_HALFWORD(srcw)) in emit_mov()
667 return emit_load_imm64(compiler, dst, srcw); in emit_mov()
670 … return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, MOV_r_i32 + reg_lmap[dst], srcw); in emit_mov()
674 if (!compiler->mode32 && NOT_HALFWORD(srcw)) { in emit_mov()
675 FAIL_IF(emit_load_imm64(compiler, TMP_REG2, srcw)); in emit_mov()
682 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw); in emit_mov()
688 inst = emit_x86_instruction(compiler, 1, dst, 0, src, srcw); in emit_mov()
695 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
855 sljit_s32 src, sljit_sw srcw) in emit_mov_byte() argument
873 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov_byte()
875 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_byte()
881 …inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw… in emit_mov_byte()
936 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_byte()
1000 sljit_s32 src, sljit_sw srcw) in emit_mov_half() argument
1015 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov_half()
1017 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_half()
1023 …instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw); in emit_mov_half()
1034 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_half()
1051 sljit_s32 src, sljit_sw srcw) in emit_unary() argument
1056 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_unary()
1063 if (dst == src && dstw == srcw) { in emit_unary()
1072 EMIT_MOV(compiler, dst, 0, src, srcw); in emit_unary()
1079 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_unary()
1090 sljit_s32 src, sljit_sw srcw) in emit_not_with_flags() argument
1095 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_not_with_flags()
1106 EMIT_MOV(compiler, dst, 0, src, srcw); in emit_not_with_flags()
1116 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_not_with_flags()
1130 sljit_s32 src, sljit_sw srcw) in emit_clz() argument
1138 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_clz()
1154 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw); in emit_clz()
1156 srcw = 0; in emit_clz()
1159 inst = emit_x86_instruction(compiler, 2, TMP_REG1, 0, src, srcw); in emit_clz()
1239 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1() argument
1251 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1253 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1256 CHECK_EXTRA_REGS(src, srcw, src_is_ereg = 1); in sljit_emit_op1()
1293 srcw = (sljit_u8)srcw; in sljit_emit_op1()
1296 srcw = (sljit_s8)srcw; in sljit_emit_op1()
1299 srcw = (sljit_u16)srcw; in sljit_emit_op1()
1302 srcw = (sljit_s16)srcw; in sljit_emit_op1()
1306 srcw = (sljit_u32)srcw; in sljit_emit_op1()
1309 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1315 return emit_mov(compiler, dst, dstw, src, srcw); in sljit_emit_op1()
1333 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw)); in sljit_emit_op1()
1336 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1339 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1342 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1345 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1349 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1352 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1367 else if (srcw != 0) { in sljit_emit_op1()
1369 (src & REG_MASK), 0, (src & REG_MASK), 0, SLJIT_IMM, srcw)); in sljit_emit_op1()
1389 return emit_not_with_flags(compiler, dst, dstw, src, srcw); in sljit_emit_op1()
1390 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw); in sljit_emit_op1()
1393 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw); in sljit_emit_op1()
1396 return emit_clz(compiler, op_flags, dst, dstw, src, srcw); in sljit_emit_op1()
2264 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw) argument
2266 return emit_sse2(compiler, MOVSD_x_xm, single, dst, src, srcw);
2277 sljit_s32 src, sljit_sw srcw) argument
2287 …ler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2299 sljit_s32 src, sljit_sw srcw) argument
2312 srcw = (sljit_s32)srcw;
2314 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
2316 srcw = 0;
2319 …ler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2345 sljit_s32 src, sljit_sw srcw) argument
2354 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2358 return emit_sse2_load(compiler, op & SLJIT_F32_OP, dst, src, srcw);
2361 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, TMP_FREG, src, srcw));
2374 FAIL_IF(emit_sse2_load(compiler, !(op & SLJIT_F32_OP), TMP_FREG, src, srcw));
2387 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2391 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2529 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) argument
2535 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw));
2536 ADJUST_LOCAL_OFFSET(src, srcw);
2538 CHECK_EXTRA_REGS(src, srcw, (void)0);
2548 srcw += sizeof(sljit_sw);
2564 jump->u.target = srcw;
2584 inst = emit_x86_instruction(compiler, 1, 0, 0, src, srcw);
2594 sljit_s32 src, sljit_sw srcw, argument
2607 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type));
2608 SLJIT_UNUSED_ARG(srcw);
2896 sljit_s32 src, sljit_sw srcw) argument
2906 FUNCTION_CHECK_SRC(src, srcw);
2920 sljit_verbose_param(compiler, src, srcw);
2925 ADJUST_LOCAL_OFFSET(src, srcw);
2926 CHECK_EXTRA_REGS(src, srcw, (void)0);
2934 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);
2936 srcw = 0;
2939 inst = emit_x86_instruction(compiler, 2, dst_reg, 0, src, srcw);