Lines Matching refs:sljit_s32

290 static sljit_s32 cpu_has_sse2 = -1;
292 static sljit_s32 cpu_has_cmov = -1;
309 static SLJIT_INLINE void sljit_unaligned_store_s32(void *addr, sljit_s32 value) in sljit_unaligned_store_s32()
374 static sljit_u8 get_jump_code(sljit_s32 type) in get_jump_code()
437 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_near_jump_code()
438 sljit_s32 short_jump; in generate_near_jump_code()
480 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
588 …->addr - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
589 …ljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.label->addr - (jump_addr + sizeof( in sljit_generate_code()
596 …>u.target - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.target - (jump_… in sljit_generate_code()
597 …sljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.target - (jump_addr + sizeof(slji… in sljit_generate_code()
620 …sljit_unaligned_store_s32((void*)(put_label->addr - sizeof(sljit_s32)), (sljit_s32)put_label->labe… in sljit_generate_code()
637 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
685 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
687 sljit_s32 dst, sljit_sw dstw,
688 sljit_s32 src1, sljit_sw src1w,
689 sljit_s32 src2, sljit_sw src2w);
691 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
693 sljit_s32 dst, sljit_sw dstw,
694 sljit_s32 src1, sljit_sw src1w,
695 sljit_s32 src2, sljit_sw src2w);
697 static sljit_s32 emit_mov(struct sljit_compiler *compiler,
698 sljit_s32 dst, sljit_sw dstw,
699 sljit_s32 src, sljit_sw srcw);
704 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
705 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src);
707 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
708 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw);
710 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
711 sljit_s32 src1, sljit_sw src1w,
712 sljit_s32 src2, sljit_sw src2w);
714 static SLJIT_INLINE sljit_s32 emit_endbranch(struct sljit_compiler *compiler) in emit_endbranch()
738 static SLJIT_INLINE sljit_s32 emit_rdssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_rdssp()
741 sljit_s32 size; in emit_rdssp()
762 static SLJIT_INLINE sljit_s32 emit_incssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_incssp()
765 sljit_s32 size; in emit_incssp()
788 static SLJIT_INLINE sljit_s32 cpu_has_shadow_stack(void) in cpu_has_shadow_stack()
797 static SLJIT_INLINE sljit_s32 adjust_shadow_stack(struct sljit_compiler *compiler, in adjust_shadow_stack()
798 sljit_s32 src, sljit_sw srcw, sljit_s32 base, sljit_sw disp) in adjust_shadow_stack()
876 static sljit_s32 emit_mov(struct sljit_compiler *compiler, in emit_mov()
877 sljit_s32 dst, sljit_sw dstw, in emit_mov()
878 sljit_s32 src, sljit_sw srcw) in emit_mov()
937 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
941 sljit_s32 size; in sljit_emit_op0()
1090 static sljit_s32 emit_mov_byte(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_byte()
1091 sljit_s32 dst, sljit_sw dstw, in emit_mov_byte()
1092 sljit_s32 src, sljit_sw srcw) in emit_mov_byte()
1095 sljit_s32 dst_r; in emit_mov_byte()
1097 sljit_s32 work_r; in emit_mov_byte()
1232 static sljit_s32 emit_prefetch(struct sljit_compiler *compiler, sljit_s32 op, in emit_prefetch()
1233 sljit_s32 src, sljit_sw srcw) in emit_prefetch()
1256 static sljit_s32 emit_mov_half(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_half()
1257 sljit_s32 dst, sljit_sw dstw, in emit_mov_half()
1258 sljit_s32 src, sljit_sw srcw) in emit_mov_half()
1261 sljit_s32 dst_r; in emit_mov_half()
1304 static sljit_s32 emit_unary(struct sljit_compiler *compiler, sljit_u8 opcode, in emit_unary()
1305 sljit_s32 dst, sljit_sw dstw, in emit_unary()
1306 sljit_s32 src, sljit_sw srcw) in emit_unary()
1340 static sljit_s32 emit_not_with_flags(struct sljit_compiler *compiler, in emit_not_with_flags()
1341 sljit_s32 dst, sljit_sw dstw, in emit_not_with_flags()
1342 sljit_s32 src, sljit_sw srcw) in emit_not_with_flags()
1377 static sljit_s32 emit_clz(struct sljit_compiler *compiler, sljit_s32 op_flags, in emit_clz()
1378 sljit_s32 dst, sljit_sw dstw, in emit_clz()
1379 sljit_s32 src, sljit_sw srcw) in emit_clz()
1382 sljit_s32 dst_r; in emit_clz()
1436 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1437 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1438 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1440 sljit_s32 op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1442 sljit_s32 dst_is_ereg = 0; in sljit_emit_op1()
1500 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1601 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
1603 sljit_s32 dst, sljit_sw dstw,
1604 sljit_s32 src1, sljit_sw src1w,
1605 sljit_s32 src2, sljit_sw src2w)
1721 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
1723 sljit_s32 dst, sljit_sw dstw,
1724 sljit_s32 src1, sljit_sw src1w,
1725 sljit_s32 src2, sljit_sw src2w)
1807 static sljit_s32 emit_mul(struct sljit_compiler *compiler,
1808 sljit_s32 dst, sljit_sw dstw,
1809 sljit_s32 src1, sljit_sw src1w,
1810 sljit_s32 src2, sljit_sw src2w)
1813 sljit_s32 dst_r;
1864 sljit_unaligned_store_s32(inst, (sljit_s32)src1w);
1907 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
1937 static sljit_s32 emit_lea_binary(struct sljit_compiler *compiler,
1938 sljit_s32 dst, sljit_sw dstw,
1939 sljit_s32 src1, sljit_sw src1w,
1940 sljit_s32 src2, sljit_sw src2w)
1943 sljit_s32 dst_r, done = 0;
1962 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1975 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
1994 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
1995 sljit_s32 src1, sljit_sw src1w,
1996 sljit_s32 src2, sljit_sw src2w)
2045 static sljit_s32 emit_test_binary(struct sljit_compiler *compiler,
2046 sljit_s32 src1, sljit_sw src1w,
2047 sljit_s32 src2, sljit_sw src2w)
2155 static sljit_s32 emit_shift(struct sljit_compiler *compiler,
2157 sljit_s32 dst, sljit_sw dstw,
2158 sljit_s32 src1, sljit_sw src1w,
2159 sljit_s32 src2, sljit_sw src2w)
2245 static sljit_s32 emit_shift_with_flags(struct sljit_compiler *compiler,
2246 sljit_u8 mode, sljit_s32 set_flags,
2247 sljit_s32 dst, sljit_sw dstw,
2248 sljit_s32 src1, sljit_sw src1w,
2249 sljit_s32 src2, sljit_sw src2w)
2280 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
2281 sljit_s32 dst, sljit_sw dstw,
2282 sljit_s32 src1, sljit_sw src1w,
2283 sljit_s32 src2, sljit_sw src2w)
2356 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op,
2357 sljit_s32 src, sljit_sw srcw)
2383 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
2393 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
2403 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
2404 void *instruction, sljit_s32 size)
2423 static sljit_s32 sse2_data[3 + (4 * 4)];
2424 static sljit_s32 *sse2_buffer;
2429 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf);
2441 static sljit_s32 emit_sse2(struct sljit_compiler *compiler, sljit_u8 opcode,
2442 sljit_s32 single, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2453 static sljit_s32 emit_sse2_logic(struct sljit_compiler *compiler, sljit_u8 opcode,
2454 sljit_s32 pref66, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2465 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
2466 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw)
2471 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
2472 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src)
2477 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, slj…
2478 sljit_s32 dst, sljit_sw dstw,
2479 sljit_s32 src, sljit_sw srcw)
2481 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2499 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, slj…
2500 sljit_s32 dst, sljit_sw dstw,
2501 sljit_s32 src, sljit_sw srcw)
2503 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2514 srcw = (sljit_s32)srcw;
2534 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
2535 sljit_s32 src1, sljit_sw src1w,
2536 sljit_s32 src2, sljit_sw src2w)
2546 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
2547 sljit_s32 dst, sljit_sw dstw,
2548 sljit_s32 src, sljit_sw srcw)
2550 sljit_s32 dst_r;
2612 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
2613 sljit_s32 dst, sljit_sw dstw,
2614 sljit_s32 src1, sljit_sw src1w,
2615 sljit_s32 src2, sljit_sw src2w)
2617 sljit_s32 dst_r;
2701 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
2729 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type…
2772 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o…
2773 sljit_s32 dst, sljit_sw dstw,
2774 sljit_s32 type)
2779 sljit_s32 reg;
2782 sljit_s32 dst_save = dst;
2957 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compiler, sljit_s32 type,
2958 sljit_s32 dst_reg,
2959 sljit_s32 src, sljit_sw srcw)
2997 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_local_base(struct sljit_compiler *compiler, sljit_s32
3028 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
3033 sljit_s32 reg;
3072 … sljit_put_label* sljit_emit_put_label(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
3077 sljit_s32 reg;