Lines Matching refs:ins

409 	sljit_ins ins;  in generate_jump_or_mov_addr()  local
414 ins = (jump->flags & JUMP_MOV_ADDR) ? *jump_inst : RDN3(TMP_REG1); in generate_jump_or_mov_addr()
415 set_imm32_const((sljit_u16*)jump->addr, ins, (sljit_uw)diff); in generate_jump_or_mov_addr()
425 ins = ADDWI >> 16; in generate_jump_or_mov_addr()
428 ins = SUBWI >> 16; in generate_jump_or_mov_addr()
432 jump_inst[0] = (sljit_u16)(ins | 0xf | COPY_BITS(diff, 11, 10, 1)); in generate_jump_or_mov_addr()
2297 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
2314 FAIL_IF(push_inst32(compiler, ins | VD4(dst_r) | VM4(TMP_FREG1))); in sljit_emit_fop1_conv_f64_from_w()
2317 return emit_fop_mem(compiler, (ins & SLJIT_32), TMP_FREG1, dst, dstw); in sljit_emit_fop1_conv_f64_from_w()
2464 sljit_ins ins; in sljit_emit_fset32() local
2481 ins = ((u.imm >> 24) & 0x80) | ((u.imm >> 19) & 0x7f); in sljit_emit_fset32()
2482 …return push_inst32(compiler, (VMOV_F32 ^ (1 << 6)) | ((ins & 0xf0) << 12) | VD4(freg) | (ins & 0xf… in sljit_emit_fset32()
2496 sljit_ins ins; in sljit_emit_fset64() local
2513 ins = ((u.imm[1] >> (56 - 32)) & 0x80) | ((u.imm[1] >> (48 - 32)) & 0x7f); in sljit_emit_fset64()
2514 …ush_inst32(compiler, (VMOV_F32 ^ (1 << 6)) | (1 << 8) | ((ins & 0xf0) << 12) | VD4(freg) | (ins & … in sljit_emit_fset64()
3591 sljit_ins ins; in sljit_emit_simd_mov() local
3615 ins = VD4(srcdst) | VN4(freg) | VM4(freg); in sljit_emit_simd_mov()
3617 ins = VD4(freg) | VN4(srcdst) | VM4(srcdst); in sljit_emit_simd_mov()
3620 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_mov()
3622 return push_inst32(compiler, VORR | ins); in sljit_emit_simd_mov()
3630 ins = ((type & SLJIT_SIMD_STORE) ? VST1 : VLD1) | VD4(freg) in sljit_emit_simd_mov()
3636 ins |= 0x10; in sljit_emit_simd_mov()
3638 ins |= 0x20; in sljit_emit_simd_mov()
3640 return push_inst32(compiler, ins | RN4(srcdst) | ((sljit_ins)elem_size) << 6 | 0xf); in sljit_emit_simd_mov()
3743 sljit_ins ins, imm; in sljit_emit_simd_replicate() local
3784 ins = (sljit_ins)(elem_size << 6); in sljit_emit_simd_replicate()
3787 ins |= 1 << 5; in sljit_emit_simd_replicate()
3789 return push_inst32(compiler, VLD1_r | ins | VD4(freg) | RN4(src) | 0xf); in sljit_emit_simd_replicate()
3794 ins = ((sljit_ins)freg_ebit_map[src] << (16 + 2 + 1)) | ((sljit_ins)1 << (16 + 2)); in sljit_emit_simd_replicate()
3797 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_replicate()
3799 return push_inst32(compiler, VDUP_s | ins | VD4(freg) | (sljit_ins)freg_map[src]); in sljit_emit_simd_replicate()
3821 ins = 1 << 22; in sljit_emit_simd_replicate()
3824 ins = 1 << 5; in sljit_emit_simd_replicate()
3827 ins = 0; in sljit_emit_simd_replicate()
3832 ins |= (sljit_ins)1 << 21; in sljit_emit_simd_replicate()
3834 return push_inst32(compiler, VDUP | ins | VN4(freg) | RT4(src)); in sljit_emit_simd_replicate()
3843 sljit_ins ins; in sljit_emit_simd_lane_mov() local
3863 ins = (reg_size == 3) ? 0 : ((sljit_ins)1 << 6); in sljit_emit_simd_lane_mov()
3878 FAIL_IF(push_inst32(compiler, VORR | ins | VD4(TMP_FREG2) | VN4(freg) | VM4(freg))); in sljit_emit_simd_lane_mov()
3884 FAIL_IF(push_inst32(compiler, VMOV_i | ins | VD4(freg))); in sljit_emit_simd_lane_mov()
3899 ins = (sljit_ins)((elem_size << 10) | (lane_index << 5)); in sljit_emit_simd_lane_mov()
3900 …return push_inst32(compiler, ((type & SLJIT_SIMD_STORE) ? VST1_s : VLD1_s) | ins | VD4(freg) | RN4… in sljit_emit_simd_lane_mov()
3935 ins = 0x400000; in sljit_emit_simd_lane_mov()
3937 ins = 0x20; in sljit_emit_simd_lane_mov()
3939 ins = 0; in sljit_emit_simd_lane_mov()
3942 ins |= (sljit_ins)(((lane_index & 0x4) << 19) | ((lane_index & 0x3) << 5)); in sljit_emit_simd_lane_mov()
3945 ins |= (1 << 20); in sljit_emit_simd_lane_mov()
3948 ins |= (1 << 23); in sljit_emit_simd_lane_mov()
3951 return push_inst32(compiler, VMOV_s | ins | VN4(freg) | RT4(srcdst)); in sljit_emit_simd_lane_mov()
3960 sljit_ins ins; in sljit_emit_simd_lane_replicate() local
3995 ins = ((((sljit_ins)src_lane_index << 1) | 1) << (16 + elem_size)); in sljit_emit_simd_lane_replicate()
3998 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_lane_replicate()
4000 return push_inst32(compiler, VDUP_s | ins | VD4(freg) | VM4(src)); in sljit_emit_simd_lane_replicate()
4074 sljit_ins ins, imms; in sljit_emit_simd_sign() local
4094 ins = VSHR | (1 << 28) | (0x9 << 16); in sljit_emit_simd_sign()
4098 ins = VSHR | (1 << 28) | (0x11 << 16); in sljit_emit_simd_sign()
4102 ins = VSHR | (1 << 28) | (0x21 << 16); in sljit_emit_simd_sign()
4106 ins = VSHR | (1 << 28) | (0x1 << 16) | (1 << 7); in sljit_emit_simd_sign()
4112 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_sign()
4116 FAIL_IF(push_inst32(compiler, ins | VD4(TMP_FREG2) | VM4(freg))); in sljit_emit_simd_sign()
4121 ins = (reg_size == 4 && elem_size == 0) ? (1 << 6) : 0; in sljit_emit_simd_sign()
4124 …FAIL_IF(push_inst32(compiler, VSRA | (1 << 28) | ins | ((imms & 0xff) << 16) | VD4(TMP_FREG2) | VM… in sljit_emit_simd_sign()
4128 …FAIL_IF(push_inst32(compiler, VSRA | (1 << 28) | ins | (1 << 7) | (imms << 16) | VD4(TMP_FREG2) | … in sljit_emit_simd_sign()
4150 sljit_ins ins = 0; in sljit_emit_simd_op2() local
4163 ins = VAND; in sljit_emit_simd_op2()
4166 ins = VORR; in sljit_emit_simd_op2()
4169 ins = VEOR; in sljit_emit_simd_op2()
4180 ins |= (sljit_ins)1 << 6; in sljit_emit_simd_op2()
4183 return push_inst32(compiler, ins | VD4(dst_freg) | VN4(src1_freg) | VM4(src2_freg)); in sljit_emit_simd_op2()
4192 sljit_ins ins; in sljit_emit_atomic_load() local
4199 ins = LDREXB; in sljit_emit_atomic_load()
4202 ins = LDREXH; in sljit_emit_atomic_load()
4205 ins = LDREX; in sljit_emit_atomic_load()
4209 return push_inst32(compiler, ins | RN4(mem_reg) | RT4(dst_reg)); in sljit_emit_atomic_load()
4217 sljit_ins ins; in sljit_emit_atomic_store() local
4227 ins = STREXB | RM4(TMP_REG1); in sljit_emit_atomic_store()
4230 ins = STREXH | RM4(TMP_REG1); in sljit_emit_atomic_store()
4233 ins = STREX | RD4(TMP_REG1); in sljit_emit_atomic_store()
4237 FAIL_IF(push_inst32(compiler, ins | RN4(mem_reg) | RT4(src_reg))); in sljit_emit_atomic_store()