Lines Matching refs:sljit_s32

121 static SLJIT_INLINE sljit_gpr gpr(sljit_s32 r)  in gpr()
123 SLJIT_ASSERT(r >= 0 && r < (sljit_s32)(sizeof(reg_map) / sizeof(reg_map[0]))); in gpr()
145 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
154 static sljit_s32 encode_inst(void **ptr, sljit_ins ins) in encode_inst()
178 static SLJIT_INLINE sljit_u8 get_cc(struct sljit_compiler *compiler, sljit_s32 type) { in get_cc()
187 sljit_s32 type = GET_FLAG_TYPE(compiler->status_flags_state); in get_cc()
200 sljit_s32 type = GET_FLAG_TYPE(compiler->status_flags_state); in get_cc()
395 #define is_s32(d) ((d) == (sljit_s32)(d)) in HAVE_FACILITY()
397 static SLJIT_INLINE sljit_ins disp_s20(sljit_s32 d) in HAVE_FACILITY()
541 SLJIT_S390X_RILA(agfi, 0xc20800000000, sljit_s32)
544 SLJIT_S390X_RILA(aih, 0xcc0800000000, sljit_s32) /* TODO(mundaym): high-word facility? */
557 SLJIT_S390X_RILA(lgfi, 0xc00100000000, sljit_s32)
608 SLJIT_S390X_INSTRUCTION(name, sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b) \
837 static sljit_s32 update_zero_overflow(struct sljit_compiler *compiler, sljit_s32 op, sljit_gpr dst_… in update_zero_overflow()
855 static sljit_s32 push_load_imm_inst(struct sljit_compiler *compiler, sljit_gpr target, sljit_sw v) in push_load_imm_inst()
876 return push_inst(compiler, lgfi(target, (sljit_s32)v)); in push_load_imm_inst()
898 static sljit_s32 make_addr_bxy(struct sljit_compiler *compiler, in make_addr_bxy()
899 struct addr *addr, sljit_s32 mem, sljit_sw off, in make_addr_bxy()
931 static sljit_s32 make_addr_bx(struct sljit_compiler *compiler, in make_addr_bx()
932 struct addr *addr, sljit_s32 mem, sljit_sw off, in make_addr_bx()
968 static sljit_s32 load_word(struct sljit_compiler *compiler, sljit_gpr dst, in load_word()
969 sljit_s32 src, sljit_sw srcw, in load_word()
970 sljit_s32 is_32bit) in load_word()
990 static sljit_s32 store_word(struct sljit_compiler *compiler, sljit_gpr src, in store_word()
991 sljit_s32 dst, sljit_sw dstw, in store_word()
992 sljit_s32 is_32bit) in store_word()
1013 static sljit_s32 emit_move(struct sljit_compiler *compiler, in emit_move()
1015 sljit_s32 src, sljit_sw srcw) in emit_move()
1029 static sljit_s32 emit_rr(struct sljit_compiler *compiler, sljit_ins ins, in emit_rr()
1030 sljit_s32 dst, in emit_rr()
1031 sljit_s32 src1, sljit_sw src1w, in emit_rr()
1032 sljit_s32 src2, sljit_sw src2w) in emit_rr()
1036 sljit_s32 needs_move = 1; in emit_rr()
1066 static sljit_s32 emit_rrf(struct sljit_compiler *compiler, sljit_ins ins, in emit_rrf()
1067 sljit_s32 dst, in emit_rrf()
1068 sljit_s32 src1, sljit_sw src1w, in emit_rrf()
1069 sljit_s32 src2, sljit_sw src2w) in emit_rrf()
1093 static sljit_s32 emit_ri(struct sljit_compiler *compiler, sljit_ins ins, in emit_ri()
1094 sljit_s32 dst, in emit_ri()
1095 sljit_s32 src1, sljit_sw src1w, in emit_ri()
1100 sljit_s32 needs_move = 1; in emit_ri()
1117 static sljit_s32 emit_rie_d(struct sljit_compiler *compiler, sljit_ins ins, in emit_rie_d()
1118 sljit_s32 dst, in emit_rie_d()
1119 sljit_s32 src1, sljit_sw src1w, in emit_rie_d()
1138 static sljit_s32 emit_rx(struct sljit_compiler *compiler, sljit_ins ins, in emit_rx()
1139 sljit_s32 dst, in emit_rx()
1140 sljit_s32 src1, sljit_sw src1w, in emit_rx()
1141 sljit_s32 src2, sljit_sw src2w, in emit_rx()
1145 sljit_s32 needs_move = 1; in emit_rx()
1199 static sljit_s32 emit_siy(struct sljit_compiler *compiler, sljit_ins ins, in emit_siy()
1200 sljit_s32 dst, sljit_sw dstw, in emit_siy()
1242 static sljit_s32 emit_commutative(struct sljit_compiler *compiler, const struct ins_forms *forms, in emit_commutative()
1243 sljit_s32 dst, sljit_sw dstw, in emit_commutative()
1244 sljit_s32 src1, sljit_sw src1w, in emit_commutative()
1245 sljit_s32 src2, sljit_sw src2w) in emit_commutative()
1247 sljit_s32 mode = compiler->mode; in emit_commutative()
1325 static sljit_s32 emit_non_commutative(struct sljit_compiler *compiler, const struct ins_forms *form… in emit_non_commutative()
1326 sljit_s32 dst, sljit_sw dstw, in emit_non_commutative()
1327 sljit_s32 src1, sljit_sw src1w, in emit_non_commutative()
1328 sljit_s32 src2, sljit_sw src2w) in emit_non_commutative()
1330 sljit_s32 mode = compiler->mode; in emit_non_commutative()
1588 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_has_cpu_feature(sljit_s32 feature_type) in sljit_has_cpu_feature()
1606 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_enter(struct sljit_compiler *compiler, in sljit_emit_enter()
1607 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_emit_enter()
1608 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_emit_enter()
1610 sljit_s32 args = get_arg_count(arg_types); in sljit_emit_enter()
1626 FAIL_IF(push_inst(compiler, agfi(r15, -((sljit_s32)frame_size)))); in sljit_emit_enter()
1644 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_set_context(struct sljit_compiler *compiler, in sljit_set_context()
1645 sljit_s32 options, sljit_s32 arg_types, sljit_s32 scratches, sljit_s32 saveds, in sljit_set_context()
1646 sljit_s32 fscratches, sljit_s32 fsaveds, sljit_s32 local_size) in sljit_set_context()
1657 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return()
1687 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in sljit_emit_op0()
1774 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op1()
1775 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op1()
1776 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1()
1782 sljit_s32 opcode = GET_OPCODE(op); in sljit_emit_op1()
1865 srcw = (sljit_sw)((sljit_s32)(srcw)); in sljit_emit_op1()
2068 static SLJIT_INLINE int is_commutative(sljit_s32 op) in is_commutative()
2082 static SLJIT_INLINE int is_shift(sljit_s32 op) { in is_shift()
2083 sljit_s32 v = GET_OPCODE(op); in is_shift()
2087 static SLJIT_INLINE int sets_signed_flag(sljit_s32 op) in sets_signed_flag()
2121 static sljit_s32 sljit_emit_add(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_add()
2122 sljit_s32 dst, sljit_sw dstw, in sljit_emit_add()
2123 sljit_s32 src1, sljit_sw src1w, in sljit_emit_add()
2124 sljit_s32 src2, sljit_sw src2w) in sljit_emit_add()
2200 static sljit_s32 sljit_emit_sub(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_sub()
2201 sljit_s32 dst, sljit_sw dstw, in sljit_emit_sub()
2202 sljit_s32 src1, sljit_sw src1w, in sljit_emit_sub()
2203 sljit_s32 src2, sljit_sw src2w) in sljit_emit_sub()
2338 static sljit_s32 sljit_emit_multiply(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_multiply()
2339 sljit_s32 dst, sljit_sw dstw, in sljit_emit_multiply()
2340 sljit_s32 src1, sljit_sw src1w, in sljit_emit_multiply()
2341 sljit_s32 src2, sljit_sw src2w) in sljit_emit_multiply()
2375 static sljit_s32 sljit_emit_bitwise_imm(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_bitwise_imm()
2376 sljit_s32 dst, sljit_sw dstw, in sljit_emit_bitwise_imm()
2377 sljit_s32 src1, sljit_sw src1w, in sljit_emit_bitwise_imm()
2378 sljit_uw imm, sljit_s32 count16) in sljit_emit_bitwise_imm()
2380 sljit_s32 mode = compiler->mode; in sljit_emit_bitwise_imm()
2382 sljit_s32 needs_move = 1; in sljit_emit_bitwise_imm()
2459 static sljit_s32 sljit_emit_bitwise(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_bitwise()
2460 sljit_s32 dst, sljit_sw dstw, in sljit_emit_bitwise()
2461 sljit_s32 src1, sljit_sw src1w, in sljit_emit_bitwise()
2462 sljit_s32 src2, sljit_sw src2w) in sljit_emit_bitwise()
2464 sljit_s32 type = GET_OPCODE(op); in sljit_emit_bitwise()
2468 sljit_s32 count16 = 0; in sljit_emit_bitwise()
2514 static sljit_s32 sljit_emit_shift(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_shift()
2515 sljit_s32 dst, sljit_sw dstw, in sljit_emit_shift()
2516 sljit_s32 src1, sljit_sw src1w, in sljit_emit_shift()
2517 sljit_s32 src2, sljit_sw src2w) in sljit_emit_shift()
2519 sljit_s32 type = GET_OPCODE(op); in sljit_emit_shift()
2587 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_op2()
2588 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op2()
2589 sljit_s32 src1, sljit_sw src1w, in sljit_emit_op2()
2590 sljit_s32 src2, sljit_sw src2w) in sljit_emit_op2()
2652 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_src( in sljit_emit_op_src()
2654 sljit_s32 op, sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src()
2686 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_register_index(sljit_s32 reg) in sljit_get_register_index()
2692 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_get_float_register_index(sljit_s32 reg) in sljit_get_float_register_index()
2698 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_custom(struct sljit_compiler *compiler, in sljit_emit_op_custom()
2699 void *instruction, sljit_s32 size) in sljit_emit_op_custom()
2714 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop1()
2715 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop1()
2716 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1()
2722 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop2()
2723 sljit_s32 dst, sljit_sw dstw, in sljit_emit_fop2()
2724 sljit_s32 src1, sljit_sw src1w, in sljit_emit_fop2()
2725 sljit_s32 src2, sljit_sw src2w) in sljit_emit_fop2()
2735 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fast_enter(struct sljit_compiler *compiler, sljit_s32 in sljit_emit_fast_enter()
2768 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_jump(struct sljit_compiler *compiler, sljit_s32 type) in sljit_emit_jump()
2792 …_FUNC_ATTRIBUTE struct sljit_jump* sljit_emit_call(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_call()
2793 sljit_s32 arg_types) in sljit_emit_call()
2806 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type… in sljit_emit_ijump()
2828 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_icall(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_icall()
2829 sljit_s32 arg_types, in sljit_emit_icall()
2830 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall()
2843 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 o… in sljit_emit_op_flags()
2844 sljit_s32 dst, sljit_sw dstw, in sljit_emit_op_flags()
2845 sljit_s32 type) in sljit_emit_op_flags()
2911 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_cmov(struct sljit_compiler *compiler, sljit_s32 type, in sljit_emit_cmov()
2912 sljit_s32 dst_reg, in sljit_emit_cmov()
2913 sljit_s32 src, sljit_sw srcw) in sljit_emit_cmov()
2952 …E struct sljit_const* sljit_emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw ds… in sljit_emit_const()
2999 sljit_s32 dst, sljit_sw dstw) in sljit_emit_put_label()