Lines Matching refs:sljit_s32
243 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins)
252 static SLJIT_INLINE sljit_s32 detect_jump_type(struct sljit_jump *jump, sljit_ins *code_ptr, sljit_ins *code)
578 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler,
579 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds,
580 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
582 sljit_s32 i, tmp, offs;
589 offs = -(sljit_s32)(sizeof(sljit_sw));
594 offs -= (sljit_s32)(sizeof(sljit_sw));
599 offs -= (sljit_s32)(sizeof(sljit_sw));
603 SLJIT_ASSERT(offs == -(sljit_s32)GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1));
642 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler,
643 sljit_s32 options, sljit_s32 args, sljit_s32 scratches, sljit_s32 saveds,
644 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size)
655 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw)
657 sljit_s32 i, tmp, offs;
677 offs = -(sljit_s32)GET_SAVED_REGISTERS_SIZE(compiler->scratches, compiler->saveds, 1);
682 offs += (sljit_s32)(sizeof(sljit_sw));
688 offs += (sljit_s32)(sizeof(sljit_sw));
848 static sljit_s32 getput_arg_fast(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw)
898 static sljit_s32 can_cache(sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw)
947 static sljit_s32 getput_arg(struct sljit_compiler *compiler, sljit_s32 inp_flags, sljit_s32 reg, sljit_s32 arg, sljit_sw argw, sljit_s32 next_arg, sljit_sw next_argw)
949 sljit_s32 tmp_r;
999 high_short = (sljit_s32)(argw + ((argw & 0x8000) << 1)) & ~0xffff;
1017 next_high_short = (sljit_s32)(next_argw + ((next_argw & 0x8000) << 1)) & ~0xffff;
1114 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)
1121 static sljit_s32 emit_op(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 input_flags,
1122 sljit_s32 dst, sljit_sw dstw,
1123 sljit_s32 src1, sljit_sw src1w,
1124 sljit_s32 src2, sljit_sw src2w)
1130 sljit_s32 dst_r;
1131 sljit_s32 src1_r;
1132 sljit_s32 src2_r;
1133 sljit_s32 sugg_src2_r = TMP_REG2;
1134 sljit_s32 flags = input_flags & (ALT_FORM1 | ALT_FORM2 | ALT_FORM3 | ALT_FORM4 | ALT_FORM5 | ALT_FORM6 | ALT_SIGN_EXT | ALT_SET_FLAGS);
1250 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op)
1253 sljit_s32 int_op = op & SLJIT_I32_OP;
1300 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op,
1301 sljit_s32 dst, sljit_sw dstw,
1302 sljit_s32 src, sljit_sw srcw)
1304 sljit_s32 flags = GET_FLAGS(op) ? ALT_SET_FLAGS : 0;
1305 sljit_s32 op_flags = GET_ALL_FLAGS(op);
1341 srcw = (sljit_s32)srcw;
1360 return EMIT_MOV(SLJIT_MOV_S32, INT_DATA | SIGNED_DATA, (sljit_s32));
1388 return EMIT_MOV(SLJIT_MOV_S32, INT_DATA | SIGNED_DATA | WRITE_BACK, (sljit_s32));
1455 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op,
1456 sljit_s32 dst, sljit_sw dstw,
1457 sljit_s32 src1, sljit_sw src1w,
1458 sljit_s32 src2, sljit_sw src2w)
1460 sljit_s32 flags = GET_FLAGS(op) ? ALT_SET_FLAGS : 0;
1478 src1w = (sljit_s32)(src1w);
1480 src2w = (sljit_s32)(src2w);
1663 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg)
1669 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg)
1675 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler,
1676 void *instruction, sljit_s32 size)
1688 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_is_fpu_available(void)
1716 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, sljit_s32 op,
1717 sljit_s32 dst, sljit_sw dstw,
1718 sljit_s32 src, sljit_sw srcw)
1784 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_conv_f64_from_sw(struct sljit_compiler *compiler, sljit_s32 op,
1785 sljit_s32 dst, sljit_sw dstw,
1786 sljit_s32 src, sljit_sw srcw)
1790 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
1794 srcw = (sljit_s32)srcw;
1823 sljit_s32 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
1824 sljit_s32 invert_sign = 1;
1862 static SLJIT_INLINE sljit_s32 sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op,
1863 sljit_s32 src1, sljit_sw src1w,
1864 sljit_s32 src2, sljit_sw src2w)
1879 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op,
1880 sljit_s32 dst, sljit_sw dstw,
1881 sljit_s32 src, sljit_sw srcw)
1883 sljit_s32 dst_r;
1931 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op,
1932 sljit_s32 dst, sljit_sw dstw,
1933 sljit_s32 src1, sljit_sw src1w,
1934 sljit_s32 src2, sljit_sw src2w)
1936 sljit_s32 dst_r, flags = 0;
2016 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw)
2034 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_s32 src, sljit_sw srcw)
2072 static sljit_ins get_bo_bi_flags(sljit_s32 type)
2135 SLJIT_API_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type)
2167 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw)
2170 sljit_s32 src_r;
2218 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 op,
2219 sljit_s32 dst, sljit_sw dstw,
2220 sljit_s32 src, sljit_sw srcw,
2221 sljit_s32 type)
2223 sljit_s32 reg, input_flags;
2224 sljit_s32 flags = GET_ALL_FLAGS(op);
2359 SLJIT_API_FUNC_ATTRIBUTE struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw dstw, sljit_sw init_value)
2362 sljit_s32 reg;