Home | History | Annotate | Download | only in sljit

Lines Matching refs:sljit_s32

127 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins)
136 static SLJIT_INLINE sljit_s32 emit_imm64_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_uw imm)
146 sljit_s32 dst = inst[0] & 0x1f;
154 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
215 sljit_s32 dst;
349 static sljit_ins logical_imm(sljit_sw imm, sljit_s32 len)
351 sljit_s32 negated, ones, right;
359 if (len == 16 && ((sljit_s32)imm == 0 || (sljit_s32)imm == -1))
364 || (len == 16 && (sljit_s32)imm != 0 && (sljit_s32)imm != -1));
413 static sljit_s32 load_immediate(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw simm)
416 sljit_s32 i, zeros, ones, first;
515 static sljit_s32 emit_op_imm(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 dst, sljit_sw arg1, sljit_sw arg2)
522 sljit_s32 op = (flags & 0xffff);
523 sljit_s32 reg;
809 static sljit_s32 emit_set_delta(struct sljit_compiler *compiler, sljit_s32 dst, sljit_s32 reg, sljit_sw value)
828 static sljit_s32 getput_arg_fast(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
885 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw)
909 static sljit_s32 getput_arg(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg,
910 sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw)
913 sljit_s32 tmp_r, other_r;
1043 static SLJIT_INLINE sljit_s32 emit_op_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
1052 static SLJIT_INLINE sljit_s32 emit_op_mem2(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg1, sljit_sw arg1w, sljit_s32 arg2, sljit_sw arg2w)
1063 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
1064 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds,
1065 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
1067 sljit_s32 i, tmp, offs, prev, saved_regs_size;
1151 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
1152 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds,
1153 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
1165 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw)
1167 sljit_s32 local_size;
1168 sljit_s32 i, tmp, offs, prev, saved_regs_size;
1246 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op)
1278 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op,
1279 sljit_s32 dst, sljit_sw dstw,
1280 sljit_s32 src, sljit_sw srcw)
1282 sljit_s32 dst_r, flags, mem_flags;
1283 sljit_s32 op_flags = GET_ALL_FLAGS(op);
1330 srcw = (sljit_s32)srcw;
1364 srcw = (sljit_s32)srcw;
1415 srcw = (sljit_s32)srcw;
1430 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
1431 sljit_s32 dst, sljit_sw dstw,
1432 sljit_s32 src1, sljit_sw src1w,
1433 sljit_s32 src2, sljit_sw src2w)
1435 sljit_s32 dst_r, flags, mem_flags;
1515 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
1521 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
1527 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
1528 void *instruction, sljit_s32 size)
1540 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_is_fpu_available(void)
1550 static sljit_s32 emit_fop_mem(struct sljit_compiler *compiler, sljit_s32 flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
1554 sljit_s32 other_r;
1603 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, sljit_s32 op,
1604 sljit_s32 dst, sljit_sw dstw,
1605 sljit_s32 src, sljit_sw srcw)
1607 sljit_s32 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
1625 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, sljit_s32 op,
1626 sljit_s32 dst, sljit_sw dstw,
1627 sljit_s32 src, sljit_sw srcw)
1629 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
1641 srcw = (sljit_s32)srcw;
1654 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
1655 sljit_s32 src1, sljit_sw src1w,
1656 sljit_s32 src2, sljit_sw src2w)
1658 sljit_s32 mem_flags = (op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE;
1674 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
1675 sljit_s32 dst, sljit_sw dstw,
1676 sljit_s32 src, sljit_sw srcw)
1678 sljit_s32 dst_r, mem_flags = (op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE;
1721 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
1722 sljit_s32 dst, sljit_sw dstw,
1723 sljit_s32 src1, sljit_sw src1w,
1724 sljit_s32 src2, sljit_sw src2w)
1726 sljit_s32 dst_r, mem_flags = (op & SLJIT_F32_OP) ? INT_SIZE : WORD_SIZE;
1772 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw)
1789 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw)
1809 static sljit_uw get_cc(sljit_s32 type)
1880 SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
1906 static SLJIT_INLINE struct sljit_jump* emit_cmp_to0(struct sljit_compiler *compiler, sljit_s32 type,
1907 sljit_s32 src, sljit_sw srcw)
1940 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw)
1967 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 op,
1968 sljit_s32 dst, sljit_sw dstw,
1969 sljit_s32 src, sljit_sw srcw,
1970 sljit_s32 type)
1972 sljit_s32 dst_r, flags, mem_flags;
2017 SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)
2020 sljit_s32 dst_r;