Lines Matching refs:sljit_s32

275 static sljit_s32 cpu_has_sse2 = -1;
277 static sljit_s32 cpu_has_cmov = -1;
294 static SLJIT_INLINE void sljit_unaligned_store_s32(void *addr, sljit_s32 value) in sljit_unaligned_store_s32()
359 static sljit_u8 get_jump_code(sljit_s32 type) in get_jump_code()
416 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type…
418 static sljit_u8* generate_far_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_s32 type…
421 …_jump_code(struct sljit_jump *jump, sljit_u8 *code_ptr, sljit_u8 *code, sljit_s32 type, sljit_sw e… in generate_near_jump_code()
423 sljit_s32 short_jump; in generate_near_jump_code()
468 code_ptr += sizeof(sljit_s32); in generate_near_jump_code()
562 …->addr - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
563 …ljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.label->addr - (jump_addr + sizeof( in sljit_generate_code()
570 …>u.target - (jump_addr + sizeof(sljit_s32))) >= HALFWORD_MIN && (sljit_sw)(jump->u.target - (jump_… in sljit_generate_code()
571 …sljit_unaligned_store_s32((void*)jump->addr, (sljit_s32)(jump->u.target - (jump_addr + sizeof(slji… in sljit_generate_code()
591 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
637 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
639 sljit_s32 dst, sljit_sw dstw,
640 sljit_s32 src1, sljit_sw src1w,
641 sljit_s32 src2, sljit_sw src2w);
643 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
645 sljit_s32 dst, sljit_sw dstw,
646 sljit_s32 src1, sljit_sw src1w,
647 sljit_s32 src2, sljit_sw src2w);
649 static sljit_s32 emit_mov(struct sljit_compiler *compiler,
650 sljit_s32 dst, sljit_sw dstw,
651 sljit_s32 src, sljit_sw srcw);
668 *(volatile sljit_s32*)alloca(local_size) = 0; in sljit_grow_stack()
679 static sljit_s32 emit_mov(struct sljit_compiler *compiler, in emit_mov()
680 sljit_s32 dst, sljit_sw dstw, in emit_mov()
681 sljit_s32 src, sljit_sw srcw) in emit_mov()
740 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
744 sljit_s32 size; in sljit_emit_op0()
889 static sljit_s32 emit_mov_byte(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_byte()
890 sljit_s32 dst, sljit_sw dstw, in emit_mov_byte()
891 sljit_s32 src, sljit_sw srcw) in emit_mov_byte()
894 sljit_s32 dst_r; in emit_mov_byte()
896 sljit_s32 work_r; in emit_mov_byte()
1031 static sljit_s32 emit_prefetch(struct sljit_compiler *compiler, sljit_s32 op, in emit_prefetch()
1032 sljit_s32 src, sljit_sw srcw) in emit_prefetch()
1055 static sljit_s32 emit_mov_half(struct sljit_compiler *compiler, sljit_s32 sign, in emit_mov_half()
1056 sljit_s32 dst, sljit_sw dstw, in emit_mov_half()
1057 sljit_s32 src, sljit_sw srcw) in emit_mov_half()
1060 sljit_s32 dst_r; in emit_mov_half()
1103 static sljit_s32 emit_unary(struct sljit_compiler *compiler, sljit_u8 opcode, in emit_unary()
1104 sljit_s32 dst, sljit_sw dstw, in emit_unary()
1105 sljit_s32 src, sljit_sw srcw) in emit_unary()
1139 static sljit_s32 emit_not_with_flags(struct sljit_compiler *compiler, in emit_not_with_flags()
1140 sljit_s32 dst, sljit_sw dstw, in emit_not_with_flags()
1141 sljit_s32 src, sljit_sw srcw) in emit_not_with_flags()
1176 static sljit_s32 emit_clz(struct sljit_compiler *compiler, sljit_s32 op_flags, in emit_clz()
1177 sljit_s32 dst, sljit_sw dstw, in emit_clz()
1178 sljit_s32 src, sljit_sw srcw) in emit_clz()
1181 sljit_s32 dst_r; in emit_clz()
1241 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1242 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1243 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1245 sljit_s32 update = 0; in sljit_emit_op1()
1246 sljit_s32 op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1248 sljit_s32 dst_is_ereg = 0; in sljit_emit_op1()
1249 sljit_s32 src_is_ereg = 0; in sljit_emit_op1()
1320 srcw = (sljit_s32)srcw; in sljit_emit_op1()
1447 static sljit_s32 emit_cum_binary(struct sljit_compiler *compiler,
1449 sljit_s32 dst, sljit_sw dstw,
1450 sljit_s32 src1, sljit_sw src1w,
1451 sljit_s32 src2, sljit_sw src2w)
1563 static sljit_s32 emit_non_cum_binary(struct sljit_compiler *compiler,
1565 sljit_s32 dst, sljit_sw dstw,
1566 sljit_s32 src1, sljit_sw src1w,
1567 sljit_s32 src2, sljit_sw src2w)
1645 static sljit_s32 emit_mul(struct sljit_compiler *compiler,
1646 sljit_s32 dst, sljit_sw dstw,
1647 sljit_s32 src1, sljit_sw src1w,
1648 sljit_s32 src2, sljit_sw src2w)
1651 sljit_s32 dst_r;
1702 sljit_unaligned_store_s32(inst, (sljit_s32)src1w);
1745 sljit_unaligned_store_s32(inst, (sljit_s32)src2w);
1775 static sljit_s32 emit_lea_binary(struct sljit_compiler *compiler,
1776 sljit_s32 dst, sljit_sw dstw,
1777 sljit_s32 src1, sljit_sw src1w,
1778 sljit_s32 src2, sljit_sw src2w)
1781 sljit_s32 dst_r, done = 0;
1800 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_s32)src2w);
1813 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_s32)src1w);
1832 static sljit_s32 emit_cmp_binary(struct sljit_compiler *compiler,
1833 sljit_s32 src1, sljit_sw src1w,
1834 sljit_s32 src2, sljit_sw src2w)
1883 static sljit_s32 emit_test_binary(struct sljit_compiler *compiler,
1884 sljit_s32 src1, sljit_sw src1w,
1885 sljit_s32 src2, sljit_sw src2w)
1993 static sljit_s32 emit_shift(struct sljit_compiler *compiler,
1995 sljit_s32 dst, sljit_sw dstw,
1996 sljit_s32 src1, sljit_sw src1w,
1997 sljit_s32 src2, sljit_sw src2w)
2086 static sljit_s32 emit_shift_with_flags(struct sljit_compiler *compiler,
2087 sljit_u8 mode, sljit_s32 set_flags,
2088 sljit_s32 dst, sljit_sw dstw,
2089 sljit_s32 src1, sljit_sw src1w,
2090 sljit_s32 src2, sljit_sw src2w)
2121 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
2122 sljit_s32 dst, sljit_sw dstw,
2123 sljit_s32 src1, sljit_sw src1w,
2124 sljit_s32 src2, sljit_sw src2w)
2193 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
2203 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
2209 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
2210 void *instruction, sljit_s32 size)
2229 static sljit_s32 sse2_data[3 + (4 * 4)];
2230 static sljit_s32 *sse2_buffer;
2235 sse2_buffer = (sljit_s32*)(((sljit_uw)sse2_data + 15) & ~0xf);
2247 static sljit_s32 emit_sse2(struct sljit_compiler *compiler, sljit_u8 opcode,
2248 sljit_s32 single, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2259 static sljit_s32 emit_sse2_logic(struct sljit_compiler *compiler, sljit_u8 opcode,
2260 sljit_s32 pref66, sljit_s32 xmm1, sljit_s32 xmm2, sljit_sw xmm2w)
2271 static SLJIT_INLINE sljit_s32 emit_sse2_load(struct sljit_compiler *compiler,
2272 sljit_s32 single, sljit_s32 dst, sljit_s32 src, sljit_sw srcw)
2277 static SLJIT_INLINE sljit_s32 emit_sse2_store(struct sljit_compiler *compiler,
2278 sljit_s32 single, sljit_s32 dst, sljit_sw dstw, sljit_s32 src)
2283 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, slj…
2284 sljit_s32 dst, sljit_sw dstw,
2285 sljit_s32 src, sljit_sw srcw)
2287 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG1;
2305 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, slj…
2306 sljit_s32 dst, sljit_sw dstw,
2307 sljit_s32 src, sljit_sw srcw)
2309 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2320 srcw = (sljit_s32)srcw;
2340 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
2341 sljit_s32 src1, sljit_sw src1w,
2342 sljit_s32 src2, sljit_sw src2w)
2351 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
2352 sljit_s32 dst, sljit_sw dstw,
2353 sljit_s32 src, sljit_sw srcw)
2355 sljit_s32 dst_r;
2417 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
2418 sljit_s32 dst, sljit_sw dstw,
2419 sljit_s32 src1, sljit_sw src1w,
2420 sljit_s32 src2, sljit_sw src2w)
2422 sljit_s32 dst_r;
2506 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
2545 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type…
2607 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o…
2608 sljit_s32 dst, sljit_sw dstw,
2609 sljit_s32 type)
2614 sljit_s32 reg;
2617 sljit_s32 dst_save = dst;
2792 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compiler, sljit_s32 type,
2793 sljit_s32 dst_reg,
2794 sljit_s32 src, sljit_sw srcw)
2832 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_local_base(struct sljit_compiler *compiler, sljit_s32
2863 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds…
2868 sljit_s32 reg;