Lines Matching refs:sljit_si
272 static sljit_si cpu_has_sse2 = -1;
274 static sljit_si cpu_has_cmov = -1;
331 static sljit_ub get_jump_code(sljit_si type) in get_jump_code()
387 static sljit_ub* generate_far_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_si type);
390 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type);
393 …generate_near_jump_code(struct sljit_jump *jump, sljit_ub *code_ptr, sljit_ub *code, sljit_si type) in generate_near_jump_code()
395 sljit_si short_jump; in generate_near_jump_code()
439 code_ptr += sizeof(sljit_si); in generate_near_jump_code()
534 …->addr - (jump->addr + sizeof(sljit_si))) >= HALFWORD_MIN && (sljit_sw)(jump->u.label->addr - (jum… in sljit_generate_code()
535 *(sljit_si*)jump->addr = (sljit_si)(jump->u.label->addr - (jump->addr + sizeof(sljit_si))); in sljit_generate_code()
542 …u.target - (jump->addr + sizeof(sljit_si))) >= HALFWORD_MIN && (sljit_sw)(jump->u.target - (jump->… in sljit_generate_code()
543 *(sljit_si*)jump->addr = (sljit_si)(jump->u.target - (jump->addr + sizeof(sljit_si))); in sljit_generate_code()
566 static sljit_si emit_cum_binary(struct sljit_compiler *compiler,
568 sljit_si dst, sljit_sw dstw,
569 sljit_si src1, sljit_sw src1w,
570 sljit_si src2, sljit_sw src2w);
572 static sljit_si emit_non_cum_binary(struct sljit_compiler *compiler,
574 sljit_si dst, sljit_sw dstw,
575 sljit_si src1, sljit_sw src1w,
576 sljit_si src2, sljit_sw src2w);
578 static sljit_si emit_mov(struct sljit_compiler *compiler,
579 sljit_si dst, sljit_sw dstw,
580 sljit_si src, sljit_sw srcw);
582 static SLJIT_INLINE sljit_si emit_save_flags(struct sljit_compiler *compiler) in emit_save_flags()
605 static SLJIT_INLINE sljit_si emit_restore_flags(struct sljit_compiler *compiler, sljit_si keep_flag… in emit_restore_flags()
641 *(volatile sljit_si*)alloca(local_size) = 0; in sljit_grow_stack()
652 static sljit_si emit_mov(struct sljit_compiler *compiler, in emit_mov()
653 sljit_si dst, sljit_sw dstw, in emit_mov()
654 sljit_si src, sljit_sw srcw) in emit_mov()
720 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) in sljit_emit_op0()
724 sljit_si size; in sljit_emit_op0()
863 static sljit_si emit_mov_byte(struct sljit_compiler *compiler, sljit_si sign, in emit_mov_byte()
864 sljit_si dst, sljit_sw dstw, in emit_mov_byte()
865 sljit_si src, sljit_sw srcw) in emit_mov_byte()
868 sljit_si dst_r; in emit_mov_byte()
870 sljit_si work_r; in emit_mov_byte()
1008 static sljit_si emit_mov_half(struct sljit_compiler *compiler, sljit_si sign, in emit_mov_half()
1009 sljit_si dst, sljit_sw dstw, in emit_mov_half()
1010 sljit_si src, sljit_sw srcw) in emit_mov_half()
1013 sljit_si dst_r; in emit_mov_half()
1059 static sljit_si emit_unary(struct sljit_compiler *compiler, sljit_ub opcode, in emit_unary()
1060 sljit_si dst, sljit_sw dstw, in emit_unary()
1061 sljit_si src, sljit_sw srcw) in emit_unary()
1098 static sljit_si emit_not_with_flags(struct sljit_compiler *compiler, in emit_not_with_flags()
1099 sljit_si dst, sljit_sw dstw, in emit_not_with_flags()
1100 sljit_si src, sljit_sw srcw) in emit_not_with_flags()
1138 static sljit_si emit_clz(struct sljit_compiler *compiler, sljit_si op_flags, in emit_clz()
1139 sljit_si dst, sljit_sw dstw, in emit_clz()
1140 sljit_si src, sljit_sw srcw) in emit_clz()
1143 sljit_si dst_r; in emit_clz()
1247 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, in sljit_emit_op1()
1248 sljit_si dst, sljit_sw dstw, in sljit_emit_op1()
1249 sljit_si src, sljit_sw srcw) in sljit_emit_op1()
1252 sljit_si update = 0; in sljit_emit_op1()
1253 sljit_si op_flags = GET_ALL_FLAGS(op); in sljit_emit_op1()
1255 sljit_si dst_is_ereg = 0; in sljit_emit_op1()
1256 sljit_si src_is_ereg = 0; in sljit_emit_op1()
1320 srcw = (sljit_si)srcw; in sljit_emit_op1()
1446 static sljit_si emit_cum_binary(struct sljit_compiler *compiler,
1448 sljit_si dst, sljit_sw dstw,
1449 sljit_si src1, sljit_sw src1w,
1450 sljit_si src2, sljit_sw src2w)
1562 static sljit_si emit_non_cum_binary(struct sljit_compiler *compiler,
1564 sljit_si dst, sljit_sw dstw,
1565 sljit_si src1, sljit_sw src1w,
1566 sljit_si src2, sljit_sw src2w)
1644 static sljit_si emit_mul(struct sljit_compiler *compiler,
1645 sljit_si dst, sljit_sw dstw,
1646 sljit_si src1, sljit_sw src1w,
1647 sljit_si src2, sljit_sw src2w)
1650 sljit_si dst_r;
1701 *(sljit_si*)inst = (sljit_si)src1w;
1744 *(sljit_si*)inst = (sljit_si)src2w;
1774 static sljit_si emit_lea_binary(struct sljit_compiler *compiler, sljit_si keep_flags,
1775 sljit_si dst, sljit_sw dstw,
1776 sljit_si src1, sljit_sw src1w,
1777 sljit_si src2, sljit_sw src2w)
1780 sljit_si dst_r, done = 0;
1801 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src1), (sljit_si)src2w);
1814 inst = emit_x86_instruction(compiler, 1, dst_r, 0, SLJIT_MEM1(src2), (sljit_si)src1w);
1833 static sljit_si emit_cmp_binary(struct sljit_compiler *compiler,
1834 sljit_si src1, sljit_sw src1w,
1835 sljit_si src2, sljit_sw src2w)
1884 static sljit_si emit_test_binary(struct sljit_compiler *compiler,
1885 sljit_si src1, sljit_sw src1w,
1886 sljit_si src2, sljit_sw src2w)
1992 static sljit_si emit_shift(struct sljit_compiler *compiler,
1994 sljit_si dst, sljit_sw dstw,
1995 sljit_si src1, sljit_sw src1w,
1996 sljit_si src2, sljit_sw src2w)
2081 static sljit_si emit_shift_with_flags(struct sljit_compiler *compiler,
2082 sljit_ub mode, sljit_si set_flags,
2083 sljit_si dst, sljit_sw dstw,
2084 sljit_si src1, sljit_sw src1w,
2085 sljit_si src2, sljit_sw src2w)
2116 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op,
2117 sljit_si dst, sljit_sw dstw,
2118 sljit_si src1, sljit_sw src1w,
2119 sljit_si src2, sljit_sw src2w)
2211 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_get_register_index(sljit_si reg)
2221 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_get_float_register_index(sljit_si reg)
2227 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op_custom(struct sljit_compiler *compiler,
2228 void *instruction, sljit_si size)
2247 static sljit_si sse2_data[3 + (4 + 4) * 2];
2248 static sljit_si *sse2_buffer;
2252 sse2_buffer = (sljit_si*)(((sljit_uw)sse2_data + 15) & ~0xf);
2263 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_is_fpu_available(void)
2276 static sljit_si emit_sse2(struct sljit_compiler *compiler, sljit_ub opcode,
2277 sljit_si single, sljit_si xmm1, sljit_si xmm2, sljit_sw xmm2w)
2288 static sljit_si emit_sse2_logic(struct sljit_compiler *compiler, sljit_ub opcode,
2289 sljit_si pref66, sljit_si xmm1, sljit_si xmm2, sljit_sw xmm2w)
2300 static SLJIT_INLINE sljit_si emit_sse2_load(struct sljit_compiler *compiler,
2301 sljit_si single, sljit_si dst, sljit_si src, sljit_sw srcw)
2306 static SLJIT_INLINE sljit_si emit_sse2_store(struct sljit_compiler *compiler,
2307 sljit_si single, sljit_si dst, sljit_sw dstw, sljit_si src)
2312 static SLJIT_INLINE sljit_si sljit_emit_fop1_convw_fromd(struct sljit_compiler *compiler, sljit_si …
2313 sljit_si dst, sljit_sw dstw,
2314 sljit_si src, sljit_sw srcw)
2316 sljit_si dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
2334 static SLJIT_INLINE sljit_si sljit_emit_fop1_convd_fromw(struct sljit_compiler *compiler, sljit_si …
2335 sljit_si dst, sljit_sw dstw,
2336 sljit_si src, sljit_sw srcw)
2338 sljit_si dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG;
2349 srcw = (sljit_si)srcw;
2369 static SLJIT_INLINE sljit_si sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_si op,
2370 sljit_si src1, sljit_sw src1w,
2371 sljit_si src2, sljit_sw src2w)
2381 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op,
2382 sljit_si dst, sljit_sw dstw,
2383 sljit_si src, sljit_sw srcw)
2385 sljit_si dst_r;
2447 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op,
2448 sljit_si dst, sljit_sw dstw,
2449 sljit_si src1, sljit_sw src1w,
2450 sljit_si src2, sljit_sw src2w)
2452 sljit_si dst_r;
2541 …I_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_si type)
2578 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, …
2647 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op,
2648 sljit_si dst, sljit_sw dstw,
2649 sljit_si src, sljit_sw srcw,
2650 sljit_si type)
2655 sljit_si reg;
2658 sljit_si dst_save = dst;
2835 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_get_local_base(struct sljit_compiler *compiler, sljit_si ds…
2866 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_si dst, sljit_sw dst…
2871 sljit_si reg;