Lines Matching refs:sljit_ins

42 typedef sljit_uw sljit_ins;  typedef
118 #define R0(r) ((sljit_ins)reg_map[r])
120 #define F0(r) ((sljit_ins)freg_map[r])
121 #define F4(r) (R4A((sljit_ins)freg_map[r]))
122 #define F12(r) (R12A((sljit_ins)freg_map[r]))
123 #define F20(r) (R20A((sljit_ins)freg_map[r]))
124 #define F28(r) (R28A((sljit_ins)freg_map[r]))
125 #define F32(r) (R32A((sljit_ins)freg_map[r]))
126 #define F36(r) (R36A((sljit_ins)freg_map[r]))
140 static sljit_s32 push_inst(struct sljit_compiler *compiler, sljit_ins ins) in push_inst()
142 sljit_ins *ibuf = (sljit_ins *)ensure_buf(compiler, sizeof(sljit_ins)); in push_inst()
418 static SLJIT_INLINE sljit_ins disp_s20(sljit_s32 d) in HAVE_FACILITY()
431 static SLJIT_INLINE sljit_ins op(__VA_ARGS__)
560 return (pattern) | R36A(reg) | ((sljit_ins)imm & 0xffffffffu); \
597 return (pattern) | R20A(r) | R16A(x) | R12A(b) | (sljit_ins)(d & 0xfff); \
699 sljit_ins i3, i4, i5; \
702 i3 = (sljit_ins)start << 24; \
703 i4 = (sljit_ins)end << 16; \
704 i5 = (sljit_ins)rot << 8; \
734 sljit_ins m3; \
737 m3 = (sljit_ins)(mask & 0xf) << 12; \
752 sljit_ins m3, i2; \
755 m3 = (sljit_ins)(mask & 0xf) << 32; \
756 i2 = (sljit_ins)(imm & 0xffffL) << 16; \
772 return (pattern) | R36A(reg) | (sljit_ins)(ri & 0xffffffff); \
793 sljit_ins m1 = (sljit_ins)(mask & 0xf) << 20; in SLJIT_S390X_INSTRUCTION()
794 sljit_ins ri2 = (sljit_ins)target & 0xffff; in SLJIT_S390X_INSTRUCTION()
800 sljit_ins m1 = (sljit_ins)(mask & 0xf) << 36; in SLJIT_S390X_INSTRUCTION()
801 sljit_ins ri2 = (sljit_ins)target & 0xffffffff; in SLJIT_S390X_INSTRUCTION()
959 sljit_s32 is_32bit, const sljit_ins* forms) in load_store_op()
967 …return push_inst(compiler, forms[0] | R20A(reg) | R16A(addr.index) | R12A(addr.base) | (sljit_ins)… in load_store_op()
974 static const sljit_ins load_forms[3] = {
980 static const sljit_ins store_forms[3] = {
986 static const sljit_ins load_halfword_forms[3] = {
1006 sljit_ins ins; in load_unsigned_word()
1044 static sljit_s32 emit_rr(struct sljit_compiler *compiler, sljit_ins ins, in emit_rr()
1081 static sljit_s32 emit_rr1(struct sljit_compiler *compiler, sljit_ins ins, in emit_rr1()
1096 static sljit_s32 emit_rrf(struct sljit_compiler *compiler, sljit_ins ins, in emit_rrf()
1123 static sljit_s32 emit_ri(struct sljit_compiler *compiler, sljit_ins ins, in emit_ri()
1147 static sljit_s32 emit_rie_d(struct sljit_compiler *compiler, sljit_ins ins, in emit_rie_d()
1160 return push_inst(compiler, ins | R36A(dst_r) | R32A(src_r) | (sljit_ins)(src2w & 0xffff) << 16); in emit_rie_d()
1168 static sljit_s32 emit_rx(struct sljit_compiler *compiler, sljit_ins ins, in emit_rx()
1216 ins |= R20A(dst_r) | R16A(index) | R12A(base) | (sljit_ins)src2w; in emit_rx()
1229 static sljit_s32 emit_siy(struct sljit_compiler *compiler, sljit_ins ins, in emit_siy()
1259 …return push_inst(compiler, ins | ((sljit_ins)(srcw & 0xff) << 32) | R28A(dst_r) | disp_s20((sljit_… in emit_siy()
1263 sljit_ins op_r;
1264 sljit_ins op_gr;
1265 sljit_ins op_rk;
1266 sljit_ins op_grk;
1267 sljit_ins op;
1268 sljit_ins op_y;
1269 sljit_ins op_g;
1278 sljit_ins ins, ins_k; in emit_commutative()
1281 sljit_ins ins12, ins20; in emit_commutative()
1361 sljit_ins ins; in emit_non_commutative()
1364 sljit_ins ins12, ins20; in emit_non_commutative()
1407 sljit_ins *buf_ptr; in sljit_generate_code()
1408 sljit_ins *buf_end; in sljit_generate_code()
1412 sljit_ins ins; in sljit_generate_code()
1467 buf_ptr = (sljit_ins*)buf->memory; in sljit_generate_code()
1496 ins |= (sljit_ins)offset & 0xffffffff; in sljit_generate_code()
1498 sljit_ins arg; in sljit_generate_code()
1543 ins |= (sljit_ins)offset & 0xffffffff; in sljit_generate_code()
1720 FAIL_IF(push_inst(compiler, 0x60000000 /* std */ | F20(i) | R12A(r15) | (sljit_ins)offset)); in sljit_emit_enter()
1725 FAIL_IF(push_inst(compiler, 0x60000000 /* std */ | F20(i) | R12A(r15) | (sljit_ins)offset)); in sljit_emit_enter()
1735 FAIL_IF(push_inst(compiler, 0xc20400000000 /* slgfi */ | R36A(r15) | (sljit_ins)local_size)); in sljit_emit_enter()
1779 FAIL_IF(push_inst(compiler, 0x41000000 /* ly */ | R20A(r15) | R12A(r15) | (sljit_ins)local_size)); in emit_stack_frame_release()
1783 FAIL_IF(push_inst(compiler, 0xc20a00000000 /* algfi */ | R36A(r15) | (sljit_ins)local_size)); in emit_stack_frame_release()
1834 FAIL_IF(push_inst(compiler, 0x68000000 /* ld */ | F20(i) | R12A(r15) | (sljit_ins)offset)); in emit_stack_frame_release()
1839 FAIL_IF(push_inst(compiler, 0x68000000 /* ld */ | F20(i) | R12A(r15) | (sljit_ins)offset)); in emit_stack_frame_release()
1989 …FAIL_IF(push_inst(compiler, 0xec00000000d9 /* aghik */ | R36A(tmp1) | R32A(tmp0) | ((sljit_ins)(-6… in sljit_emit_clz_ctz()
1993 …return push_inst(compiler, 0xec00000000d9 /* aghik */ | R36A(dst_r) | R32A(tmp0) | ((sljit_ins)(-3… in sljit_emit_clz_ctz()
1999 …* rxsbg */ | R36A(tmp0) | R32A(tmp1) | ((sljit_ins)((op & SLJIT_32) ? 59 : 58) << 24) | (63 << 16)… in sljit_emit_clz_ctz()
2013 sljit_ins ins; in sljit_emit_rev()
2087 sljit_ins ins; in sljit_emit_op1()
2385 sljit_ins ins; in sljit_emit_add()
2465 sljit_ins ins; in sljit_emit_sub()
2605 sljit_ins ins; in sljit_emit_multiply()
2785 sljit_ins imm = 0; in sljit_emit_shift()
2786 sljit_ins ins; in sljit_emit_shift()
2809 imm = (sljit_ins)(src2w & ((op & SLJIT_32) ? 0x1f : 0x3f)); in sljit_emit_shift()
2845 sljit_ins imm = 0; in sljit_emit_rotate()
2846 sljit_ins ins; in sljit_emit_rotate()
2872 imm = (sljit_ins)(src2w & ((op & SLJIT_32) ? 0x1f : 0x3f)); in sljit_emit_rotate()
3011 sljit_ins ins; in sljit_emit_shift_into()
3034 FAIL_IF(push_inst(compiler, ins | R20A(dst_r) | (sljit_ins)src3w)); in sljit_emit_shift_into()
3037 FAIL_IF(push_inst(compiler, ins | R36A(dst_r) | R32A(src1_r) | ((sljit_ins)src3w << 16))); in sljit_emit_shift_into()
3041 FAIL_IF(push_inst(compiler, ins | R36A(dst_r) | R32A(src1_r) | ((sljit_ins)src3w << 16))); in sljit_emit_shift_into()
3048 …ins |= ((sljit_ins)(64 - bit_length) << 24) | ((sljit_ins)(63 - src3w) << 16) | ((sljit_ins)src3w … in sljit_emit_shift_into()
3050 …ins |= ((sljit_ins)(64 - src3w) << 24) | ((sljit_ins)63 << 16) | ((sljit_ins)(src3w + 64 - bit_len… in sljit_emit_shift_into()
3194 sljit_ins ins = 0; in sljit_emit_op_custom()
3215 sljit_ins ins; in float_mem()
3227 …return push_inst(compiler, ins | F20(reg) | R16A(addr.index) | R12A(addr.base) | (sljit_ins)addr.o… in float_mem()
3240 static sljit_s32 emit_float(struct sljit_compiler *compiler, sljit_ins ins_r, sljit_ins ins, in emit_float()
3250 …return push_inst(compiler, ins | F36(reg) | R32A(addr.index) | R28A(addr.base) | ((sljit_ins)addr.… in emit_float()
3257 sljit_ins dst_r = FAST_IS_REG(dst) ? gpr(dst) : tmp0; in sljit_emit_fop1_conv_sw_from_f64()
3258 sljit_ins ins; in sljit_emit_fop1_conv_sw_from_f64()
3279 static sljit_s32 sljit_emit_fop1_conv_f64_from_w(struct sljit_compiler *compiler, sljit_ins ins, in sljit_emit_fop1_conv_f64_from_w()
3306 sljit_ins ins; in sljit_emit_fop1_conv_f64_from_sw()
3323 sljit_ins ins; in sljit_emit_fop1_conv_f64_from_uw()
3340 sljit_ins ins_r, ins; in sljit_emit_fop1_cmp()
3363 sljit_ins ins; in sljit_emit_fop1()
3420 sljit_ins ins_r, ins; in sljit_emit_fop2()
3761 sljit_ins mask; in sljit_emit_select()
3764 sljit_ins ins; in sljit_emit_select()
3794 …FAIL_IF(push_inst(compiler, 0xeb000000000d /* sllg */ | R36A(tmp1) | R32A(src_r) | ((sljit_ins)(sr… in sljit_emit_select()
3822 return push_inst(compiler, ins | R36A(dst_r) | (mask << 32) | (sljit_ins)(src1w & 0xffff) << 16); in sljit_emit_select()
3839 sljit_ins ins; in sljit_emit_fselect()
3881 sljit_ins ins, reg1, reg2, base, offs = 0; in sljit_emit_mem()
3900 …FAIL_IF(push_inst(compiler, 0xeb000000000d /* sllg */ | R36A(tmp1) | R32A(offs) | ((sljit_ins)memw… in sljit_emit_mem()
3944 sljit_ins ins; in sljit_emit_simd_mov()
4007 | R32A(addr.index) | R28A(addr.base) | disp_s20(addr.offset) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_replicate()
4014 …return push_inst(compiler, 0xe7000000004d /* vrep */ | F36(freg) | F32(src) | ((sljit_ins)elem_siz… in sljit_emit_simd_replicate()
4047 | (sign_ext == 0 ? 0 : ((sljit_ins)0xffff << 16))); in sljit_emit_simd_replicate()
4050 | ((sljit_ins)srcw << 16) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_replicate()
4058 …FAIL_IF(push_inst(compiler, 0xe70000000022 /* vlvg */ | F36(freg) | R32A(reg) | ((sljit_ins)elem_s… in sljit_emit_simd_replicate()
4059 …return push_inst(compiler, 0xe7000000004d /* vrep */ | F36(freg) | F32(freg) | ((sljit_ins)elem_si… in sljit_emit_simd_replicate()
4070 sljit_ins ins = 0; in sljit_emit_simd_lane_mov()
4093 return push_inst(compiler, 0xe70000000004 /* vllez */ | ins | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_lane_mov()
4124 return push_inst(compiler, ins | ((sljit_ins)lane_index << 12)); in sljit_emit_simd_lane_mov()
4129 …0xe7000000004d /* vrep */ | F36(srcdst) | F32(freg) | ((sljit_ins)lane_index << 16) | ((sljit_ins)… in sljit_emit_simd_lane_mov()
4140 …FAIL_IF(push_inst(compiler, 0xe70000000021 /* vlgv */ | R36A(tmp0) | F32(srcdst) | ((sljit_ins)2 <… in sljit_emit_simd_lane_mov()
4141 … 0xe70000000022 /* vlvg */ | F36(freg) | R32A(tmp0) | ((sljit_ins)lane_index << 16) | ((sljit_ins)… in sljit_emit_simd_lane_mov()
4170 …return push_inst(compiler, ins | F36(freg) | ((sljit_ins)srcdstw << 16) | ((sljit_ins)lane_index <… in sljit_emit_simd_lane_mov()
4177 ins = ((sljit_ins)lane_index << 16) | ((sljit_ins)elem_size << 12); in sljit_emit_simd_lane_mov()
4222 | ((sljit_ins)src_lane_index << 16) | ((sljit_ins)elem_size << 12)); in sljit_emit_simd_lane_replicate()
4233 sljit_ins ins; in sljit_emit_simd_extend()
4278 FAIL_IF(push_inst(compiler, ins | F32(src) | ((sljit_ins)elem_size << 12))); in sljit_emit_simd_extend()
4344 sljit_ins ins = 0; in sljit_emit_simd_op2()
4392 sljit_ins mask; in sljit_emit_atomic_store()
4420 …FAIL_IF(push_inst(compiler, 0xa50f0000 /* llill */ | R20A(tmp1) | (sljit_ins)((mask == 0xff) ? 0x1… in sljit_emit_atomic_store()