Lines Matching refs:srcw

697 	sljit_s32 src, sljit_sw srcw);
699 #define EMIT_MOV(compiler, dst, dstw, src, srcw) \ argument
700 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw));
706 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw);
802 sljit_s32 src, sljit_sw srcw, sljit_s32 base, sljit_sw disp) in adjust_shadow_stack() argument
830 srcw = disp; in adjust_shadow_stack()
834 FAIL_IF(emit_cmp_binary (compiler, TMP_REG1, 0, src, srcw)); in adjust_shadow_stack()
866 SLJIT_UNUSED_ARG(srcw); in adjust_shadow_stack()
881 sljit_s32 src, sljit_sw srcw) in emit_mov() argument
896 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov()
899 if (NOT_HALFWORD(srcw)) in emit_mov()
900 return emit_load_imm64(compiler, dst, srcw); in emit_mov()
903 … return emit_do_imm32(compiler, (reg_map[dst] >= 8) ? REX_B : 0, MOV_r_i32 + reg_lmap[dst], srcw); in emit_mov()
907 if (!compiler->mode32 && NOT_HALFWORD(srcw)) { in emit_mov()
910 FAIL_IF(emit_load_imm64(compiler, TMP_REG1, srcw)); in emit_mov()
917 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, dstw); in emit_mov()
923 inst = emit_x86_instruction(compiler, 1, dst, 0, src, srcw); in emit_mov()
931 inst = emit_x86_instruction(compiler, 1, TMP_REG1, 0, src, srcw); in emit_mov()
1095 sljit_s32 src, sljit_sw srcw) in emit_mov_byte() argument
1110 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov_byte()
1112 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_byte()
1118 …inst = emit_x86_instruction(compiler, 1 | EX86_BYTE_ARG | EX86_NO_REXW, SLJIT_IMM, srcw, dst, dstw… in emit_mov_byte()
1173 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_byte()
1236 sljit_s32 src, sljit_sw srcw) in emit_prefetch() argument
1244 inst = emit_x86_instruction(compiler, 2, 0, 0, src, srcw); in emit_prefetch()
1261 sljit_s32 src, sljit_sw srcw) in emit_mov_half() argument
1273 return emit_do_imm(compiler, MOV_r_i32 + reg_map[dst], srcw); in emit_mov_half()
1275 inst = emit_x86_instruction(compiler, 1, SLJIT_IMM, srcw, dst, 0); in emit_mov_half()
1281 …instruction(compiler, 1 | EX86_HALF_ARG | EX86_NO_REXW | EX86_PREF_66, SLJIT_IMM, srcw, dst, dstw); in emit_mov_half()
1292 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_mov_half()
1309 sljit_s32 src, sljit_sw srcw) in emit_unary() argument
1313 if (dst == src && dstw == srcw) { in emit_unary()
1326 EMIT_MOV(compiler, dst, 0, src, srcw); in emit_unary()
1334 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_unary()
1345 sljit_s32 src, sljit_sw srcw) in emit_not_with_flags() argument
1353 EMIT_MOV(compiler, dst, 0, src, srcw); in emit_not_with_flags()
1364 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw); in emit_not_with_flags()
1382 sljit_s32 src, sljit_sw srcw) in emit_clz() argument
1394 inst = emit_x86_instruction(compiler, 2, dst_r, 0, src, srcw); in emit_clz()
1441 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1() argument
1449 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1451 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1454 CHECK_EXTRA_REGS(src, srcw, (void)0); in sljit_emit_op1()
1487 srcw = (sljit_u8)srcw; in sljit_emit_op1()
1490 srcw = (sljit_s8)srcw; in sljit_emit_op1()
1493 srcw = (sljit_u16)srcw; in sljit_emit_op1()
1496 srcw = (sljit_s16)srcw; in sljit_emit_op1()
1500 srcw = (sljit_u32)srcw; in sljit_emit_op1()
1503 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1509 return emit_mov(compiler, dst, dstw, src, srcw); in sljit_emit_op1()
1527 FAIL_IF(emit_mov(compiler, dst, dstw, src, srcw)); in sljit_emit_op1()
1530 FAIL_IF(emit_mov_byte(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1533 FAIL_IF(emit_mov_byte(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1536 FAIL_IF(emit_mov_half(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1539 FAIL_IF(emit_mov_half(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1543 FAIL_IF(emit_mov_int(compiler, 0, dst, dstw, src, srcw)); in sljit_emit_op1()
1546 FAIL_IF(emit_mov_int(compiler, 1, dst, dstw, src, srcw)); in sljit_emit_op1()
1561 return emit_not_with_flags(compiler, dst, dstw, src, srcw); in sljit_emit_op1()
1562 return emit_unary(compiler, NOT_rm, dst, dstw, src, srcw); in sljit_emit_op1()
1565 return emit_unary(compiler, NEG_rm, dst, dstw, src, srcw); in sljit_emit_op1()
1568 return emit_clz(compiler, op_flags, dst, dstw, src, srcw); in sljit_emit_op1()
2360 sljit_s32 src, sljit_sw srcw) argument
2363 CHECK(check_sljit_emit_op_src(compiler, op, src, srcw));
2364 ADJUST_LOCAL_OFFSET(src, srcw);
2366 CHECK_EXTRA_REGS(src, srcw, (void)0);
2370 return emit_fast_return(compiler, src, srcw);
2375 return adjust_shadow_stack(compiler, src, srcw, SLJIT_UNUSED, 0);
2380 return emit_prefetch(compiler, op, src, srcw);
2469 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw) argument
2471 return emit_sse2(compiler, MOVSD_x_xm, single, dst, src, srcw);
2482 sljit_s32 src, sljit_sw srcw) argument
2492 …ler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP2, dst_r, 0, src, srcw);
2504 sljit_s32 src, sljit_sw srcw) argument
2517 srcw = (sljit_s32)srcw;
2519 EMIT_MOV(compiler, TMP_REG1, 0, src, srcw);
2521 srcw = 0;
2524 …ler, 2 | ((op & SLJIT_F32_OP) ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2_OP1, dst_r, 0, src, srcw);
2551 sljit_s32 src, sljit_sw srcw) argument
2560 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw);
2564 return emit_sse2_load(compiler, op & SLJIT_F32_OP, dst, src, srcw);
2567 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, TMP_FREG, src, srcw));
2580 FAIL_IF(emit_sse2_load(compiler, !(op & SLJIT_F32_OP), TMP_FREG, src, srcw));
2593 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2597 FAIL_IF(emit_sse2_load(compiler, op & SLJIT_F32_OP, dst_r, src, srcw));
2732 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) argument
2738 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw));
2739 ADJUST_LOCAL_OFFSET(src, srcw);
2741 CHECK_EXTRA_REGS(src, srcw, (void)0);
2747 jump->u.target = srcw;
2767 inst = emit_x86_instruction(compiler, 1, 0, 0, src, srcw);
2962 sljit_s32 src, sljit_sw srcw) argument
2967 CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw));
2973 return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw);
2976 return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw);
2980 CHECK_EXTRA_REGS(src, srcw, (void)0);
2988 EMIT_MOV(compiler, TMP_REG1, 0, SLJIT_IMM, srcw);
2990 srcw = 0;
2993 inst = emit_x86_instruction(compiler, 2, dst_reg, 0, src, srcw);