Lines Matching refs:ins

728 …if ((diff & 0x3) == 0 && diff <= (0x3fc + 2 * SSIZE_OF(ins)) && diff >= (-0x3fc + 2 * SSIZE_OF(ins  in mov_addr_get_length()
788 if (diff <= (0x01ffffff / SSIZE_OF(ins)) && diff >= (-0x02000000 / SSIZE_OF(ins))) in reduce_code_size()
2721 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() argument
2738 FAIL_IF(push_inst(compiler, EMIT_FPU_OPERATION(ins, ins & SLJIT_32, dst_r, TMP_FREG1, 0))); in sljit_emit_fop1_conv_f64_from_w()
2741 return emit_fop_mem(compiler, (ins & SLJIT_32), TMP_FREG1, dst, dstw); in sljit_emit_fop1_conv_f64_from_w()
2891 sljit_ins ins; in sljit_emit_fset32() local
2908 ins = ((u.imm >> 24) & 0x80) | ((u.imm >> 19) & 0x7f); in sljit_emit_fset32()
2909 … return push_inst(compiler, (VMOV_F32 ^ (1 << 6)) | ((ins & 0xf0) << 12) | VD(freg) | (ins & 0xf)); in sljit_emit_fset32()
2923 sljit_ins ins; in sljit_emit_fset64() local
2940 ins = ((u.imm[1] >> (56 - 32)) & 0x80) | ((u.imm[1] >> (48 - 32)) & 0x7f); in sljit_emit_fset64()
2941 … push_inst(compiler, (VMOV_F32 ^ (1 << 6)) | (1 << 8) | ((ins & 0xf0) << 12) | VD(freg) | (ins & 0… in sljit_emit_fset64()
3503 sljit_ins cc, ins; in sljit_emit_op_flags() local
3521 ins = (op == SLJIT_AND ? AND : (op == SLJIT_OR ? ORR : EOR)); in sljit_emit_op_flags()
3526 FAIL_IF(push_inst(compiler, ((ins | RD(dst_reg) | RN(dst_reg) | SRC2_IMM | 1) & ~COND_MASK) | cc)); in sljit_emit_op_flags()
3529 …FAIL_IF(push_inst(compiler, ((ins | RD(dst_reg) | RN(dst_reg) | SRC2_IMM | 0) & ~COND_MASK) | (cc … in sljit_emit_op_flags()
3916 sljit_ins ins; in sljit_emit_simd_mov() local
3940 ins = VD(srcdst) | VN(freg) | VM(freg); in sljit_emit_simd_mov()
3942 ins = VD(freg) | VN(srcdst) | VM(srcdst); in sljit_emit_simd_mov()
3945 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_mov()
3947 return push_inst(compiler, VORR | ins); in sljit_emit_simd_mov()
3955 ins = ((type & SLJIT_SIMD_STORE) ? VST1 : VLD1) | VD(freg) in sljit_emit_simd_mov()
3961 ins |= 0x10; in sljit_emit_simd_mov()
3963 ins |= 0x20; in sljit_emit_simd_mov()
3965 return push_inst(compiler, ins | RN(srcdst) | ((sljit_ins)elem_size) << 6 | 0xf); in sljit_emit_simd_mov()
4068 sljit_ins ins, imm; in sljit_emit_simd_replicate() local
4109 ins = (sljit_ins)(elem_size << 6); in sljit_emit_simd_replicate()
4112 ins |= (sljit_ins)1 << 5; in sljit_emit_simd_replicate()
4114 return push_inst(compiler, VLD1_r | ins | VD(freg) | RN(src) | 0xf); in sljit_emit_simd_replicate()
4119 ins = ((sljit_ins)freg_ebit_map[src] << (16 + 2 + 1)) | ((sljit_ins)1 << (16 + 2)); in sljit_emit_simd_replicate()
4122 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_replicate()
4124 return push_inst(compiler, VDUP_s | ins | VD(freg) | (sljit_ins)freg_map[src]); in sljit_emit_simd_replicate()
4146 ins = 1 << 22; in sljit_emit_simd_replicate()
4149 ins = 1 << 5; in sljit_emit_simd_replicate()
4152 ins = 0; in sljit_emit_simd_replicate()
4157 ins |= (sljit_ins)1 << 21; in sljit_emit_simd_replicate()
4159 return push_inst(compiler, VDUP | ins | VN(freg) | RD(src)); in sljit_emit_simd_replicate()
4168 sljit_ins ins; in sljit_emit_simd_lane_mov() local
4188 ins = (reg_size == 3) ? 0 : ((sljit_ins)1 << 6); in sljit_emit_simd_lane_mov()
4203 FAIL_IF(push_inst(compiler, VORR | ins | VD(TMP_FREG2) | VN(freg) | VM(freg))); in sljit_emit_simd_lane_mov()
4209 FAIL_IF(push_inst(compiler, VMOV_i | ins | VD(freg))); in sljit_emit_simd_lane_mov()
4224 ins = (sljit_ins)((elem_size << 10) | (lane_index << 5)); in sljit_emit_simd_lane_mov()
4225 …return push_inst(compiler, ((type & SLJIT_SIMD_STORE) ? VST1_s : VLD1_s) | ins | VD(freg) | RN(src… in sljit_emit_simd_lane_mov()
4260 ins = 0x400000; in sljit_emit_simd_lane_mov()
4262 ins = 0x20; in sljit_emit_simd_lane_mov()
4264 ins = 0; in sljit_emit_simd_lane_mov()
4267 ins |= (sljit_ins)(((lane_index & 0x4) << 19) | ((lane_index & 0x3) << 5)); in sljit_emit_simd_lane_mov()
4270 ins |= (1 << 20); in sljit_emit_simd_lane_mov()
4273 ins |= (1 << 23); in sljit_emit_simd_lane_mov()
4276 return push_inst(compiler, VMOV_s | ins | VN(freg) | RD(srcdst)); in sljit_emit_simd_lane_mov()
4285 sljit_ins ins; in sljit_emit_simd_lane_replicate() local
4320 ins = ((((sljit_ins)src_lane_index << 1) | 1) << (16 + elem_size)); in sljit_emit_simd_lane_replicate()
4323 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_lane_replicate()
4325 return push_inst(compiler, VDUP_s | ins | VD(freg) | VM(src)); in sljit_emit_simd_lane_replicate()
4399 sljit_ins ins, imms; in sljit_emit_simd_sign() local
4419 ins = VSHR | (1 << 24) | (0x9 << 16); in sljit_emit_simd_sign()
4423 ins = VSHR | (1 << 24) | (0x11 << 16); in sljit_emit_simd_sign()
4427 ins = VSHR | (1 << 24) | (0x21 << 16); in sljit_emit_simd_sign()
4431 ins = VSHR | (1 << 24) | (0x1 << 16) | (1 << 7); in sljit_emit_simd_sign()
4437 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_sign()
4441 FAIL_IF(push_inst(compiler, ins | VD(TMP_FREG2) | VM(freg))); in sljit_emit_simd_sign()
4446 ins = (reg_size == 4 && elem_size == 0) ? (1 << 6) : 0; in sljit_emit_simd_sign()
4449 …FAIL_IF(push_inst(compiler, VSRA | (1 << 24) | ins | ((imms & 0xff) << 16) | VD(TMP_FREG2) | VM(TM… in sljit_emit_simd_sign()
4453 …FAIL_IF(push_inst(compiler, VSRA | (1 << 24) | ins | (1 << 7) | (imms << 16) | VD(TMP_FREG2) | VM(… in sljit_emit_simd_sign()
4475 sljit_ins ins = 0; in sljit_emit_simd_op2() local
4488 ins = VAND; in sljit_emit_simd_op2()
4491 ins = VORR; in sljit_emit_simd_op2()
4494 ins = VEOR; in sljit_emit_simd_op2()
4505 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_op2()
4508 return push_inst(compiler, ins | VD(dst_freg) | VN(src1_freg) | VM(src2_freg)); in sljit_emit_simd_op2()
4517 sljit_u32 ins; in sljit_emit_atomic_load() local
4524 ins = LDREXB; in sljit_emit_atomic_load()
4527 ins = LDREXH; in sljit_emit_atomic_load()
4530 ins = LDREX; in sljit_emit_atomic_load()
4534 return push_inst(compiler, ins | RN(mem_reg) | RD(dst_reg)); in sljit_emit_atomic_load()
4542 sljit_u32 ins; in sljit_emit_atomic_store() local
4552 ins = STREXB; in sljit_emit_atomic_store()
4555 ins = STREXH; in sljit_emit_atomic_store()
4558 ins = STREX; in sljit_emit_atomic_store()
4562 FAIL_IF(push_inst(compiler, ins | RN(mem_reg) | RD(TMP_REG1) | RM(src_reg))); in sljit_emit_atomic_store()