Lines Matching refs:sljit_s32

321 static SLJIT_INLINE void sljit_unaligned_store_s32(void *addr, sljit_s32 value)  in sljit_unaligned_store_s32()
535 sljit_s32 short_jump; in generate_near_jump_code()
577 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
688 jump_addr -= sizeof(sljit_s32); in sljit_generate_code()
693 sljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)jump_addr); in sljit_generate_code()
718 …sljit_unaligned_store_s32((void*)(put_label->addr - sizeof(sljit_s32)), (sljit_s32)put_label->labe… in sljit_generate_code()
735 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
789 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_cmp_info(sljit_s32 type) in sljit_cmp_info()
844 static sljit_s32 emit_mov(struct sljit_compiler *compiler,
845 sljit_s32 dst, sljit_sw dstw,
846 sljit_s32 src, sljit_sw srcw);
851 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
852 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src);
854 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
855 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw);
857 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
858 sljit_s32 src1, sljit_sw src1w,
859 sljit_s32 src2, sljit_sw src2w);
861 static SLJIT_INLINE sljit_s32 emit_endbranch(struct sljit_compiler *compiler) in emit_endbranch()
885 static SLJIT_INLINE sljit_s32 emit_rdssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_rdssp()
888 sljit_s32 size; in emit_rdssp()
909 static SLJIT_INLINE sljit_s32 emit_incssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_incssp()
912 sljit_s32 size; in emit_incssp()
935 static SLJIT_INLINE sljit_s32 cpu_has_shadow_stack(void) in cpu_has_shadow_stack()
944 static SLJIT_INLINE sljit_s32 adjust_shadow_stack(struct sljit_compiler *compiler, in adjust_shadow_stack()
945 sljit_s32 src, sljit_sw srcw) in adjust_shadow_stack()
1015 static sljit_s32 emit_mov(struct sljit_compiler *compiler, in emit_mov()
1016 sljit_s32 dst, sljit_sw dstw, in emit_mov()
1017 sljit_s32 src, sljit_sw srcw) in emit_mov()
1074 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
1227 static sljit_s32 emit_mov_byte(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_byte()
1228 sljit_s32 dst, sljit_sw dstw, in emit_mov_byte()
1229 sljit_s32 src, sljit_sw srcw) in emit_mov_byte()
1232 sljit_s32 dst_r; in emit_mov_byte()
1234 sljit_s32 work_r; in emit_mov_byte()
1369 static sljit_s32 emit_prefetch(struct sljit_compiler *compiler, sljit_s32 op, in emit_prefetch()
1370 sljit_s32 src, sljit_sw srcw) in emit_prefetch()
1393 static sljit_s32 emit_mov_half(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_half()
1394 sljit_s32 dst, sljit_sw dstw, in emit_mov_half()
1395 sljit_s32 src, sljit_sw srcw) in emit_mov_half()
1398 sljit_s32 dst_r; in emit_mov_half()
1441 static sljit_s32 emit_unary(struct sljit_compiler *compiler, sljit_u8 opcode, in emit_unary()
1442 sljit_s32 dst, sljit_sw dstw, in emit_unary()
1443 sljit_s32 src, sljit_sw srcw) in emit_unary()
1474 static sljit_s32 emit_not_with_flags(struct sljit_compiler *compiler, in emit_not_with_flags()
1475 sljit_s32 dst, sljit_sw dstw, in emit_not_with_flags()
1476 sljit_s32 src, sljit_sw srcw) in emit_not_with_flags()
1509 static sljit_s32 emit_clz_ctz(struct sljit_compiler *compiler, sljit_s32 is_clz, in emit_clz_ctz()
1510 sljit_s32 dst, sljit_sw dstw, in emit_clz_ctz()
1511 sljit_s32 src, sljit_sw srcw) in emit_clz_ctz()
1514 sljit_s32 dst_r; in emit_clz_ctz()
1596 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1597 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1598 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1600 sljit_s32 op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1602 sljit_s32 dst_is_ereg = 0; in sljit_emit_op1()
1660 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1735 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
1737 sljit_s32 dst, sljit_sw dstw,
1738 sljit_s32 src1, sljit_sw src1w,
1739 sljit_s32 src2, sljit_sw src2w)
1842 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
1844 sljit_s32 dst, sljit_sw dstw,
1845 sljit_s32 src1, sljit_sw src1w,
1846 sljit_s32 src2, sljit_sw src2w)
1915 static sljit_s32 emit_mul(struct sljit_compiler *compiler,
1916 sljit_s32 dst, sljit_sw dstw,
1917 sljit_s32 src1, sljit_sw src1w,
1918 sljit_s32 src2, sljit_sw src2w)
1921 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
1970 sljit_unaligned_store_s32(inst, (sljit_s32)src1w);
2013 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
2043 static sljit_s32 emit_lea_binary(struct sljit_compiler *compiler,
2044 sljit_s32 dst, sljit_sw dstw,
2045 sljit_s32 src1, sljit_sw src1w,
2046 sljit_s32 src2, sljit_sw src2w)
2049 sljit_s32 dst_r, done = 0;
2068 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
2081 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
2100 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
2101 sljit_s32 src1, sljit_sw src1w,
2102 sljit_s32 src2, sljit_sw src2w)
2151 static sljit_s32 emit_test_binary(struct sljit_compiler *compiler,
2152 sljit_s32 src1, sljit_sw src1w,
2153 sljit_s32 src2, sljit_sw src2w)
2261 static sljit_s32 emit_shift(struct sljit_compiler *compiler,
2263 sljit_s32 dst, sljit_sw dstw,
2264 sljit_s32 src1, sljit_sw src1w,
2265 sljit_s32 src2, sljit_sw src2w)
2268 sljit_s32 mode32;
2368 static sljit_s32 emit_shift_with_flags(struct sljit_compiler *compiler,
2369 sljit_u8 mode, sljit_s32 set_flags,
2370 sljit_s32 dst, sljit_sw dstw,
2371 sljit_s32 src1, sljit_sw src1w,
2372 sljit_s32 src2, sljit_sw src2w)
2404 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
2405 sljit_s32 dst, sljit_sw dstw,
2406 sljit_s32 src1, sljit_sw src1w,
2407 sljit_s32 src2, sljit_sw src2w)
2487 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2u(struct sljit_compiler *compiler, sljit_s32 op,
2488 sljit_s32 src1, sljit_sw src1w,
2489 sljit_s32 src2, sljit_sw src2w)
2491 sljit_s32 opcode = GET_OPCODE(op);
2516 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_shift_into(struct sljit_compiler *compiler, sljit_s32
2517 sljit_s32 src_dst,
2518 sljit_s32 src1, sljit_sw src1w,
2519 sljit_s32 src2, sljit_sw src2w)
2521 sljit_s32 restore_ecx = 0;
2522 sljit_s32 is_rotate, is_left;
2526 sljit_s32 tmp2 = SLJIT_MEM1(SLJIT_SP);
2528 sljit_s32 tmp2 = TMP_REG2;
2632 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op,
2633 sljit_s32 src, sljit_sw srcw)
2659 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
2669 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
2679 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
2717 static sljit_s32 emit_sse2(struct sljit_compiler *compiler, sljit_u8 opcode,
2718 sljit_s32 single, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2729 static sljit_s32 emit_sse2_logic(struct sljit_compiler *compiler, sljit_u8 opcode,
2730 sljit_s32 pref66, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2741 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
2742 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw)
2747 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
2748 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src)
2753 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, slj…
2754 sljit_s32 dst, sljit_sw dstw,
2755 sljit_s32 src, sljit_sw srcw)
2757 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2775 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, slj…
2776 sljit_s32 dst, sljit_sw dstw,
2777 sljit_s32 src, sljit_sw srcw)
2779 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2790 srcw = (sljit_s32)srcw;
2810 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
2811 sljit_s32 src1, sljit_sw src1w,
2812 sljit_s32 src2, sljit_sw src2w)
2835 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
2836 sljit_s32 dst, sljit_sw dstw,
2837 sljit_s32 src, sljit_sw srcw)
2839 sljit_s32 dst_r;
2901 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
2902 sljit_s32 dst, sljit_sw dstw,
2903 sljit_s32 src1, sljit_sw src1w,
2904 sljit_s32 src2, sljit_sw src2w)
2906 sljit_s32 dst_r;
2990 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
3018 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type…
3061 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o…
3062 sljit_s32 dst, sljit_sw dstw,
3063 sljit_s32 type)
3068 sljit_s32 reg;
3071 sljit_s32 dst_save = dst;
3239 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compiler, sljit_s32 type,
3240 sljit_s32 dst_reg,
3241 sljit_s32 src, sljit_sw srcw)
3279 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_local_base(struct sljit_compiler *compiler, sljit_s32
3310 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
3315 sljit_s32 reg;
3354 … sljit_put_label* sljit_emit_put_label(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
3359 sljit_s32 reg;