• Home
  • Raw
  • Download

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()
439 sljit_s32 type = jump->flags >> TYPE_SHIFT; in generate_near_jump_code()
440 sljit_s32 short_jump; in generate_near_jump_code()
482 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
590 …->addr - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
591 …ljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.label->addr - (jump_addr + sizeof( in sljit_generate_code()
598 …>u.target - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.target - (jump_… in sljit_generate_code()
599 …sljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.target - (jump_addr + sizeof(slji… in sljit_generate_code()
622 …sljit_unaligned_store_s32((void*)(put_label->addr - sizeof(sljit_s32)), (sljit_s32)put_label->labe… in sljit_generate_code()
639 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
687 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
689 sljit_s32 dst, sljit_sw dstw,
690 sljit_s32 src1, sljit_sw src1w,
691 sljit_s32 src2, sljit_sw src2w);
693 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
695 sljit_s32 dst, sljit_sw dstw,
696 sljit_s32 src1, sljit_sw src1w,
697 sljit_s32 src2, sljit_sw src2w);
699 static sljit_s32 emit_mov(struct sljit_compiler *compiler,
700 sljit_s32 dst, sljit_sw dstw,
701 sljit_s32 src, sljit_sw srcw);
706 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
707 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src);
709 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
710 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw);
712 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
713 sljit_s32 src1, sljit_sw src1w,
714 sljit_s32 src2, sljit_sw src2w);
716 static SLJIT_INLINE sljit_s32 emit_endbranch(struct sljit_compiler *compiler) in emit_endbranch()
740 static SLJIT_INLINE sljit_s32 emit_rdssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_rdssp()
743 sljit_s32 size; in emit_rdssp()
764 static SLJIT_INLINE sljit_s32 emit_incssp(struct sljit_compiler *compiler, sljit_s32 reg) in emit_incssp()
767 sljit_s32 size; in emit_incssp()
790 static SLJIT_INLINE sljit_s32 cpu_has_shadow_stack(void) in cpu_has_shadow_stack()
799 static SLJIT_INLINE sljit_s32 adjust_shadow_stack(struct sljit_compiler *compiler, in adjust_shadow_stack()
800 sljit_s32 src, sljit_sw srcw, sljit_s32 base, sljit_sw disp) in adjust_shadow_stack()
878 static sljit_s32 emit_mov(struct sljit_compiler *compiler, in emit_mov()
879 sljit_s32 dst, sljit_sw dstw, in emit_mov()
880 sljit_s32 src, sljit_sw srcw) in emit_mov()
939 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
943 sljit_s32 size; in sljit_emit_op0()
1092 static sljit_s32 emit_mov_byte(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_byte()
1093 sljit_s32 dst, sljit_sw dstw, in emit_mov_byte()
1094 sljit_s32 src, sljit_sw srcw) in emit_mov_byte()
1097 sljit_s32 dst_r; in emit_mov_byte()
1099 sljit_s32 work_r; in emit_mov_byte()
1234 static sljit_s32 emit_prefetch(struct sljit_compiler *compiler, sljit_s32 op, in emit_prefetch()
1235 sljit_s32 src, sljit_sw srcw) in emit_prefetch()
1258 static sljit_s32 emit_mov_half(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_half()
1259 sljit_s32 dst, sljit_sw dstw, in emit_mov_half()
1260 sljit_s32 src, sljit_sw srcw) in emit_mov_half()
1263 sljit_s32 dst_r; in emit_mov_half()
1306 static sljit_s32 emit_unary(struct sljit_compiler *compiler, sljit_u8 opcode, in emit_unary()
1307 sljit_s32 dst, sljit_sw dstw, in emit_unary()
1308 sljit_s32 src, sljit_sw srcw) in emit_unary()
1342 static sljit_s32 emit_not_with_flags(struct sljit_compiler *compiler, in emit_not_with_flags()
1343 sljit_s32 dst, sljit_sw dstw, in emit_not_with_flags()
1344 sljit_s32 src, sljit_sw srcw) in emit_not_with_flags()
1379 static sljit_s32 emit_clz(struct sljit_compiler *compiler, sljit_s32 op_flags, in emit_clz()
1380 sljit_s32 dst, sljit_sw dstw, in emit_clz()
1381 sljit_s32 src, sljit_sw srcw) in emit_clz()
1384 sljit_s32 dst_r; in emit_clz()
1438 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1439 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1440 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1442 sljit_s32 op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1444 sljit_s32 dst_is_ereg = 0; in sljit_emit_op1()
1502 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1603 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
1605 sljit_s32 dst, sljit_sw dstw,
1606 sljit_s32 src1, sljit_sw src1w,
1607 sljit_s32 src2, sljit_sw src2w)
1723 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
1725 sljit_s32 dst, sljit_sw dstw,
1726 sljit_s32 src1, sljit_sw src1w,
1727 sljit_s32 src2, sljit_sw src2w)
1809 static sljit_s32 emit_mul(struct sljit_compiler *compiler,
1810 sljit_s32 dst, sljit_sw dstw,
1811 sljit_s32 src1, sljit_sw src1w,
1812 sljit_s32 src2, sljit_sw src2w)
1815 sljit_s32 dst_r;
1866 sljit_unaligned_store_s32(inst, (sljit_s32)src1w);
1909 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
1939 static sljit_s32 emit_lea_binary(struct sljit_compiler *compiler,
1940 sljit_s32 dst, sljit_sw dstw,
1941 sljit_s32 src1, sljit_sw src1w,
1942 sljit_s32 src2, sljit_sw src2w)
1945 sljit_s32 dst_r, done = 0;
1964 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1977 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
1996 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
1997 sljit_s32 src1, sljit_sw src1w,
1998 sljit_s32 src2, sljit_sw src2w)
2047 static sljit_s32 emit_test_binary(struct sljit_compiler *compiler,
2048 sljit_s32 src1, sljit_sw src1w,
2049 sljit_s32 src2, sljit_sw src2w)
2157 static sljit_s32 emit_shift(struct sljit_compiler *compiler,
2159 sljit_s32 dst, sljit_sw dstw,
2160 sljit_s32 src1, sljit_sw src1w,
2161 sljit_s32 src2, sljit_sw src2w)
2247 static sljit_s32 emit_shift_with_flags(struct sljit_compiler *compiler,
2248 sljit_u8 mode, sljit_s32 set_flags,
2249 sljit_s32 dst, sljit_sw dstw,
2250 sljit_s32 src1, sljit_sw src1w,
2251 sljit_s32 src2, sljit_sw src2w)
2282 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
2283 sljit_s32 dst, sljit_sw dstw,
2284 sljit_s32 src1, sljit_sw src1w,
2285 sljit_s32 src2, sljit_sw src2w)
2358 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op,
2359 sljit_s32 src, sljit_sw srcw)
2385 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
2395 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
2405 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
2406 void *instruction, sljit_s32 size)
2425 static sljit_s32 sse2_data[3 + (4 * 4)];
2426 static sljit_s32 *sse2_buffer;
2431 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf);
2443 static sljit_s32 emit_sse2(struct sljit_compiler *compiler, sljit_u8 opcode,
2444 sljit_s32 single, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2455 static sljit_s32 emit_sse2_logic(struct sljit_compiler *compiler, sljit_u8 opcode,
2456 sljit_s32 pref66, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2467 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
2468 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw)
2473 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
2474 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src)
2479 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, slj…
2480 sljit_s32 dst, sljit_sw dstw,
2481 sljit_s32 src, sljit_sw srcw)
2483 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2501 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, slj…
2502 sljit_s32 dst, sljit_sw dstw,
2503 sljit_s32 src, sljit_sw srcw)
2505 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2516 srcw = (sljit_s32)srcw;
2536 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
2537 sljit_s32 src1, sljit_sw src1w,
2538 sljit_s32 src2, sljit_sw src2w)
2548 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
2549 sljit_s32 dst, sljit_sw dstw,
2550 sljit_s32 src, sljit_sw srcw)
2552 sljit_s32 dst_r;
2614 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
2615 sljit_s32 dst, sljit_sw dstw,
2616 sljit_s32 src1, sljit_sw src1w,
2617 sljit_s32 src2, sljit_sw src2w)
2619 sljit_s32 dst_r;
2703 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
2731 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type…
2774 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o…
2775 sljit_s32 dst, sljit_sw dstw,
2776 sljit_s32 type)
2781 sljit_s32 reg;
2784 sljit_s32 dst_save = dst;
2959 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compiler, sljit_s32 type,
2960 sljit_s32 dst_reg,
2961 sljit_s32 src, sljit_sw srcw)
2999 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_local_base(struct sljit_compiler *compiler, sljit_s32
3030 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
3035 sljit_s32 reg;
3074 … sljit_put_label* sljit_emit_put_label(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
3079 sljit_s32 reg;