Lines Matching refs:push_inst32
286 static sljit_s32 push_inst32(struct sljit_compiler *compiler, sljit_ins inst) in push_inst32() function
298 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) in emit_imm32_const()
300 return push_inst32(compiler, MOVT | RD4(dst) in emit_imm32_const()
767 return push_inst32(compiler, MOV_WI | RD4(dst) | tmp); in load_immediate()
770 return push_inst32(compiler, MVN_WI | RD4(dst) | tmp); in load_immediate()
774 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst) in load_immediate()
779 return push_inst32(compiler, MOVT | RD4(dst) in load_immediate()
842 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(imm)); in emit_op_imm()
844 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(imm2)); in emit_op_imm()
848 return push_inst32(compiler, ADD_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm2); in emit_op_imm()
851 return push_inst32(compiler, SUB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
857 return push_inst32(compiler, ADCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm2); in emit_op_imm()
861 return push_inst32(compiler, SBCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
871 return push_inst32(compiler, RSB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
879 return push_inst32(compiler, CMPI_W | RN4(reg) | imm2); in emit_op_imm()
882 return push_inst32(compiler, CMNI_W | RN4(reg) | imm); in emit_op_imm()
900 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(imm)); in emit_op_imm()
902 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(imm2)); in emit_op_imm()
906 return push_inst32(compiler, SUB_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm2); in emit_op_imm()
909 return push_inst32(compiler, ADD_WI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
917 return push_inst32(compiler, SBCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm2); in emit_op_imm()
920 return push_inst32(compiler, ADCI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
925 …return push_inst32(compiler, ((flags & UNUSED_RETURN) ? TSTI : ANDI) | (flags & SET_FLAGS) | RD4(d… in emit_op_imm()
928 return push_inst32(compiler, BICI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
933 return push_inst32(compiler, ORRI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm2); in emit_op_imm()
936 return push_inst32(compiler, ORNI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
942 return push_inst32(compiler, MVN_W | (flags & SET_FLAGS) | RD4(dst) | RM4(reg)); in emit_op_imm()
946 return push_inst32(compiler, EORI | (flags & SET_FLAGS) | RD4(dst) | RN4(reg) | imm); in emit_op_imm()
965 return push_inst32(compiler, MOV_W | SET_FLAGS | RD4(dst) | RM4(reg)); in emit_op_imm()
973 return push_inst32(compiler, LSL_WI | (flags & SET_FLAGS) | RD4(dst) | RM4(reg) | IMM5(imm)); in emit_op_imm()
978 return push_inst32(compiler, LSR_WI | (flags & SET_FLAGS) | RD4(dst) | RM4(reg) | IMM5(imm)); in emit_op_imm()
983 return push_inst32(compiler, ASR_WI | (flags & SET_FLAGS) | RD4(dst) | RM4(reg) | IMM5(imm)); in emit_op_imm()
988 return push_inst32(compiler, ROR_WI | RD4(dst) | RM4(reg) | IMM5(imm)); in emit_op_imm()
1023 return push_inst32(compiler, UXTB_W | RD4(dst) | RM4(arg2)); in emit_op_imm()
1028 return push_inst32(compiler, SXTB_W | RD4(dst) | RM4(arg2)); in emit_op_imm()
1033 return push_inst32(compiler, UXTH_W | RD4(dst) | RM4(arg2)); in emit_op_imm()
1038 return push_inst32(compiler, SXTH_W | RD4(dst) | RM4(arg2)); in emit_op_imm()
1041 return push_inst32(compiler, CLZ | RN4(arg2) | RD4(dst) | RM4(arg2)); in emit_op_imm()
1044 FAIL_IF(push_inst32(compiler, RBIT | RN4(arg2) | RD4(dst) | RM4(arg2))); in emit_op_imm()
1045 return push_inst32(compiler, CLZ | RN4(dst) | RD4(dst) | RM4(dst)); in emit_op_imm()
1052 return push_inst32(compiler, REV_W | RN4(arg2) | RD4(dst) | RM4(arg2)); in emit_op_imm()
1060 FAIL_IF(push_inst32(compiler, REV16_W | RN4(arg2) | RD4(dst) | RM4(arg2))); in emit_op_imm()
1068 return push_inst32(compiler, (flags == SLJIT_REV_U16 ? UXTH_W : SXTH_W) | RD4(dst) | RM4(dst)); in emit_op_imm()
1075 return push_inst32(compiler, ADD_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1080 return push_inst32(compiler, ADC_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1090 return push_inst32(compiler, SUB_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1095 return push_inst32(compiler, SBC_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1099 return push_inst32(compiler, MUL | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1101 FAIL_IF(push_inst32(compiler, SMULL | RT4(dst) | RD4(reg) | RN4(arg1) | RM4(arg2))); in emit_op_imm()
1103 return push_inst32(compiler, CMP_W | RN4(reg) | 0x70e0 | RM4(dst)); in emit_op_imm()
1109 …return push_inst32(compiler, ((flags & UNUSED_RETURN) ? TST_W : AND_W) | (flags & SET_FLAGS) | RD4… in emit_op_imm()
1113 return push_inst32(compiler, ORR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1117 return push_inst32(compiler, EOR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1120 FAIL_IF(push_inst32(compiler, ANDI | RD4(reg) | RN4(arg2) | 0x1f)); in emit_op_imm()
1126 return push_inst32(compiler, LSL_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1129 FAIL_IF(push_inst32(compiler, ANDI | RD4(reg) | RN4(arg2) | 0x1f)); in emit_op_imm()
1135 return push_inst32(compiler, LSR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1138 FAIL_IF(push_inst32(compiler, ANDI | RD4(reg) | RN4(arg2) | 0x1f)); in emit_op_imm()
1144 return push_inst32(compiler, ASR_W | (flags & SET_FLAGS) | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1147 FAIL_IF(push_inst32(compiler, RSB_WI | RD4(reg) | RN4(arg2) | 0)); in emit_op_imm()
1153 return push_inst32(compiler, ROR_W | RD4(dst) | RN4(arg1) | RM4(arg2)); in emit_op_imm()
1156 return push_inst32(compiler, MLA | RD4(dst) | RN4(arg1) | RM4(arg2) | RT4(dst)); in emit_op_imm()
1251 return push_inst32(compiler, ADDWI | RD4(dst) | RN4(reg) | IMM12(value)); in emit_set_delta()
1254 return push_inst32(compiler, ADD_WI | RD4(dst) | RN4(reg) | imm); in emit_set_delta()
1259 return push_inst32(compiler, SUBWI | RD4(dst) | RN4(reg) | IMM12(value)); in emit_set_delta()
1262 return push_inst32(compiler, SUB_WI | RD4(dst) | RN4(reg) | imm); in emit_set_delta()
1279 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(tmp_reg) | imm)); in emit_op_mem()
1280 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg) | (argw & 0x… in emit_op_mem()
1286 return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(tmp_reg)); in emit_op_mem()
1296 …return push_inst32(compiler, sljit_mem32[flags] | RT4(reg) | RN4(arg) | RM4(other_r) | ((sljit_ins… in emit_op_mem()
1304 push_inst32(compiler, ADD_WI | RD4(tmp_reg) | RN4(arg) | imm); in emit_op_mem()
1315 push_inst32(compiler, SUB_WI | RD4(tmp_reg) | RN4(arg) | imm); in emit_op_mem()
1350 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM12 | RT4(reg) | RN4(arg) | (sljit_ins)arg… in emit_op_mem()
1352 …return push_inst32(compiler, sljit_mem32[flags] | MEM_IMM8 | RT4(reg) | RN4(arg) | (sljit_ins)-arg… in emit_op_mem()
1359 return push_inst32(compiler, sljit_mem32[flags] | RT4(reg) | RN4(arg) | RM4(tmp_reg)); in emit_op_mem()
1398 ? push_inst32(compiler, PUSH_W | (1 << 14) | imm) in sljit_emit_enter()
1411 …FAIL_IF(push_inst32(compiler, VPUSH | VD4(SLJIT_FS0) | ((sljit_uw)SLJIT_NUMBER_OF_SAVED_FLOAT_REGI… in sljit_emit_enter()
1414 FAIL_IF(push_inst32(compiler, VPUSH | VD4(SLJIT_FS0) | ((sljit_uw)fsaveds << 1))); in sljit_emit_enter()
1416 …FAIL_IF(push_inst32(compiler, VPUSH | VD4(fscratches) | ((sljit_uw)(fscratches - (SLJIT_FIRST_SAVE… in sljit_emit_enter()
1442 …FAIL_IF(push_inst32(compiler, VMOV2 | (offset << 10) | ((offset + sizeof(sljit_sw)) << 14) | float… in sljit_emit_enter()
1444 FAIL_IF(push_inst32(compiler, VLDR_F32 | 0x800100 | RN4(SLJIT_SP) in sljit_emit_enter()
1451 FAIL_IF(push_inst32(compiler, VMOV | (float_arg_count << 16) | (offset << 10))); in sljit_emit_enter()
1453 FAIL_IF(push_inst32(compiler, VLDR_F32 | 0x800000 | RN4(SLJIT_SP) in sljit_emit_enter()
1474 FAIL_IF(push_inst32(compiler, LDR | RT4(tmp) | RN4(SLJIT_SP) in sljit_emit_enter()
1524 FAIL_IF(push_inst32(compiler, *(--remap_ptr))); in sljit_emit_enter()
1532 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(SLJIT_SP) | RN4(SLJIT_SP) | imm)); in sljit_emit_enter()
1537 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1538 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(SLJIT_SP) | RN4(SLJIT_SP) | imm)); in sljit_emit_enter()
1541 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1542 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(SLJIT_SP) | RN4(SLJIT_SP) | imm)); in sljit_emit_enter()
1546 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1547 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(SLJIT_SP) | RN4(SLJIT_SP) | imm)); in sljit_emit_enter()
1548 FAIL_IF(push_inst32(compiler, SUB_WI | SET_FLAGS | RD4(TMP_REG2) | RN4(TMP_REG2) | 1)); in sljit_emit_enter()
1552 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1564 FAIL_IF(push_inst32(compiler, LDRI | 0x400 | RT4(TMP_REG1) | RN4(SLJIT_SP))); in sljit_emit_enter()
1566 …FAIL_IF(push_inst32(compiler, LDRI | 0x500 | RT4(TMP_REG1) | RN4(SLJIT_SP) | (sljit_uw)local_size)… in sljit_emit_enter()
1608 return push_inst32(compiler, ADDWI | RD4(SLJIT_SP) | RN4(SLJIT_SP) | IMM12(imm)); in emit_add_sp()
1613 return push_inst32(compiler, ADD_WI | RD4(SLJIT_SP) | RN4(SLJIT_SP) | imm2); in emit_add_sp()
1637 …FAIL_IF(push_inst32(compiler, VPOP | VD4(SLJIT_FS0) | ((sljit_uw)SLJIT_NUMBER_OF_SAVED_FLOAT_REGIS… in emit_stack_frame_release()
1640 …FAIL_IF(push_inst32(compiler, VPOP | VD4(fscratches) | ((sljit_uw)(fscratches - (SLJIT_FIRST_SAVED… in emit_stack_frame_release()
1642 FAIL_IF(push_inst32(compiler, VPOP | VD4(SLJIT_FS0) | ((sljit_uw)fsaveds << 1))); in emit_stack_frame_release()
1689 return push_inst32(compiler, LDRI | RT4(restored_reg) | RN4(SLJIT_SP) | 0x308); in emit_stack_frame_release()
1691 …return push_inst32(compiler, LDRI | RT4(restored_reg) | RN4(SLJIT_SP) | 0x100 | (sljit_ins)(frame_… in emit_stack_frame_release()
1697 … FAIL_IF(push_inst32(compiler, LDR | RT4(restored_reg) | RN4(SLJIT_SP) | (sljit_ins)local_size)); in emit_stack_frame_release()
1728 return push_inst32(compiler, LDR | RT4(restored_reg) | RN4(SLJIT_SP) | (sljit_ins)frame_size); in emit_stack_frame_release()
1732 return push_inst32(compiler, LDRI | RT4(restored_reg) | RN4(SLJIT_SP) | (sljit_ins)tmp); in emit_stack_frame_release()
1753 FAIL_IF(push_inst32(compiler, POP_W | reg_list)); in emit_stack_frame_release()
1839 return push_inst32(compiler, (op == SLJIT_LMUL_UW ? UMULL : SMULL) in sljit_emit_op0()
1845 …FAIL_IF(push_inst32(compiler, (op == SLJIT_DIVMOD_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0… in sljit_emit_op0()
1846 FAIL_IF(push_inst32(compiler, MUL | RD4(SLJIT_R1) | RN4(SLJIT_R0) | RM4(SLJIT_R1))); in sljit_emit_op0()
1847 return push_inst32(compiler, SUB_W | RD4(SLJIT_R1) | RN4(TMP_REG1) | RM4(SLJIT_R1)); in sljit_emit_op0()
1850 …return push_inst32(compiler, (op == SLJIT_DIV_UW ? UDIV : SDIV) | RD4(SLJIT_R0) | RN4(SLJIT_R0) | … in sljit_emit_op0()
1868 FAIL_IF(push_inst32(compiler, 0xf84d0d00 | (saved_reg_count >= 3 ? 16 : 8) in sljit_emit_op0()
1902 return push_inst32(compiler, 0xf85d0b00 | (saved_reg_count >= 3 ? 16 : 8) in sljit_emit_op0()
2101 …FAIL_IF(push_inst32(compiler, (is_left ? LSL_WI : LSR_WI) | RD4(dst_reg) | RM4(src1_reg) | IMM5(sr… in sljit_emit_shift_into()
2104 …return push_inst32(compiler, ORR_W | RD4(dst_reg) | RN4(dst_reg) | RM4(src2_reg) | (is_left ? 0x10… in sljit_emit_shift_into()
2113 FAIL_IF(push_inst32(compiler, ANDI | RD4(TMP_REG2) | RN4(src3) | 0x1f)); in sljit_emit_shift_into()
2120 …FAIL_IF(push_inst32(compiler, (is_left ? LSL_W : LSR_W) | RD4(dst_reg) | RN4(src1_reg) | RM4(src3)… in sljit_emit_shift_into()
2122 …FAIL_IF(push_inst32(compiler, (is_left ? LSR_WI : LSL_WI) | RD4(TMP_REG1) | RM4(src2_reg) | (1 << … in sljit_emit_shift_into()
2123 FAIL_IF(push_inst32(compiler, EORI | RD4(TMP_REG2) | RN4(src3) | 0x1f)); in sljit_emit_shift_into()
2124 …FAIL_IF(push_inst32(compiler, (is_left ? LSR_W : LSL_W) | RD4(TMP_REG1) | RN4(TMP_REG1) | RM4(TMP_… in sljit_emit_shift_into()
2125 return push_inst32(compiler, ORR_W | RD4(dst_reg) | RN4(dst_reg) | RM4(TMP_REG1)); in sljit_emit_shift_into()
2221 return push_inst32(compiler, *(sljit_ins*)instruction); in sljit_emit_op_custom()
2239 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | (… in emit_fop_mem()
2246 …return push_inst32(compiler, inst | 0x800000 | RN4(arg & REG_MASK) | VD4(reg) | ((sljit_uw)argw >>… in emit_fop_mem()
2248 return push_inst32(compiler, inst | RN4(arg & REG_MASK) | VD4(reg) | ((sljit_uw)-argw >> 2)); in emit_fop_mem()
2254 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | VD4(reg)); in emit_fop_mem()
2259 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
2260 …return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | VD4(reg) | (((sljit_uw)argw & 0x3fc… in emit_fop_mem()
2266 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(arg & REG_MASK) | imm)); in emit_fop_mem()
2267 return push_inst32(compiler, inst | RN4(TMP_REG1) | VD4(reg) | (((sljit_uw)argw & 0x3fc) >> 2)); in emit_fop_mem()
2274 return push_inst32(compiler, inst | 0x800000 | RN4(TMP_REG1) | VD4(reg)); in emit_fop_mem()
2288 FAIL_IF(push_inst32(compiler, VCVT_S32_F32 | (op & SLJIT_32) | VD4(TMP_FREG1) | VM4(src))); in sljit_emit_fop1_conv_sw_from_f64()
2291 return push_inst32(compiler, VMOV | (1 << 20) | RT4(dst) | VN4(TMP_FREG1)); in sljit_emit_fop1_conv_sw_from_f64()
2304 FAIL_IF(push_inst32(compiler, VMOV | RT4(src) | VN4(TMP_FREG1))); in sljit_emit_fop1_conv_f64_from_w()
2311 FAIL_IF(push_inst32(compiler, VMOV | RT4(TMP_REG1) | VN4(TMP_FREG1))); in sljit_emit_fop1_conv_f64_from_w()
2314 FAIL_IF(push_inst32(compiler, ins | VD4(dst_r) | VM4(TMP_FREG1))); in sljit_emit_fop1_conv_f64_from_w()
2351 FAIL_IF(push_inst32(compiler, VCMP_F32 | (op & SLJIT_32) | VD4(src1) | VM4(src2))); in sljit_emit_fop1_cmp()
2352 FAIL_IF(push_inst32(compiler, VMRS)); in sljit_emit_fop1_cmp()
2386 FAIL_IF(push_inst32(compiler, VMOV_F32 | (op & SLJIT_32) | VD4(dst_r) | VM4(src))); in sljit_emit_fop1()
2392 FAIL_IF(push_inst32(compiler, VNEG_F32 | (op & SLJIT_32) | VD4(dst_r) | VM4(src))); in sljit_emit_fop1()
2395 FAIL_IF(push_inst32(compiler, VABS_F32 | (op & SLJIT_32) | VD4(dst_r) | VM4(src))); in sljit_emit_fop1()
2398 FAIL_IF(push_inst32(compiler, VCVT_F64_F32 | (op & SLJIT_32) | VD4(dst_r) | VM4(src))); in sljit_emit_fop1()
2435 FAIL_IF(push_inst32(compiler, VADD_F32 | (op & SLJIT_32) | VD4(dst_r) | VN4(src1) | VM4(src2))); in sljit_emit_fop2()
2438 FAIL_IF(push_inst32(compiler, VSUB_F32 | (op & SLJIT_32) | VD4(dst_r) | VN4(src1) | VM4(src2))); in sljit_emit_fop2()
2441 FAIL_IF(push_inst32(compiler, VMUL_F32 | (op & SLJIT_32) | VD4(dst_r) | VN4(src1) | VM4(src2))); in sljit_emit_fop2()
2444 FAIL_IF(push_inst32(compiler, VDIV_F32 | (op & SLJIT_32) | VD4(dst_r) | VN4(src1) | VM4(src2))); in sljit_emit_fop2()
2447 …FAIL_IF(push_inst32(compiler, VMOV | (1 << 20) | VN4(src2) | RT4(TMP_REG1) | ((op & SLJIT_32) ? (1… in sljit_emit_fop2()
2448 FAIL_IF(push_inst32(compiler, VABS_F32 | (op & SLJIT_32) | VD4(dst_r) | VM4(src1))); in sljit_emit_fop2()
2449 FAIL_IF(push_inst32(compiler, CMPI_W | RN4(TMP_REG1) | 0)); in sljit_emit_fop2()
2451 return push_inst32(compiler, VNEG_F32 | (op & SLJIT_32) | VD4(dst_r) | VM4(dst_r)); in sljit_emit_fop2()
2482 …return push_inst32(compiler, (VMOV_F32 ^ (1 << 6)) | ((ins & 0xf0) << 12) | VD4(freg) | (ins & 0xf… in sljit_emit_fset32()
2488 return push_inst32(compiler, VMOV | VN4(freg) | RT4(TMP_REG1)); in sljit_emit_fset32()
2514 …return push_inst32(compiler, (VMOV_F32 ^ (1 << 6)) | (1 << 8) | ((ins & 0xf0) << 12) | VD4(freg) |… in sljit_emit_fset64()
2521 return push_inst32(compiler, VMOV2 | RN4(TMP_REG1) | RT4(TMP_REG1) | VM4(freg)); in sljit_emit_fset64()
2524 return push_inst32(compiler, VMOV2 | RN4(TMP_REG2) | RT4(TMP_REG1) | VM4(freg)); in sljit_emit_fset64()
2551 return push_inst32(compiler, inst); in sljit_emit_fcopy()
2775 …FAIL_IF(push_inst32(compiler, VMOV2 | 0x100000 | (offset << 10) | ((offset + sizeof(sljit_sw)) << … in softfloat_call_with_args()
2777 FAIL_IF(push_inst32(compiler, VSTR_F32 | 0x800100 | RN4(SLJIT_SP) in softfloat_call_with_args()
2789 FAIL_IF(push_inst32(compiler, VMOV | 0x100000 | (float_arg_count << 16) | (offset << 10))); in softfloat_call_with_args()
2791 FAIL_IF(push_inst32(compiler, VSTR_F32 | 0x800000 | RN4(SLJIT_SP) in softfloat_call_with_args()
2826 FAIL_IF(push_inst32(compiler, VMOV2 | (1 << 16) | (0 << 12) | 0)); in softfloat_post_call_with_args()
2828 FAIL_IF(push_inst32(compiler, VMOV | (0 << 16) | (0 << 12))); in softfloat_post_call_with_args()
2848 FAIL_IF(push_inst32(compiler, VMOV_F32 | SLJIT_32 | VD4(new_offset) | VM4(offset))); in hardfloat_call_with_args()
2855 FAIL_IF(push_inst32(compiler, VMOV_F32 | 0x400000 | VD4(f32_offset) | VM4(offset))); in hardfloat_call_with_args()
2859 FAIL_IF(push_inst32(compiler, VMOV_F32 | 0x400000 | VD4(new_offset) | VM4(offset))); in hardfloat_call_with_args()
2899 PTR_FAIL_IF(push_inst32(compiler, LDR | RT4(TMP_REG2) in sljit_emit_call()
2998 FAIL_IF(push_inst32(compiler, LDR | RT4(TMP_REG2) in sljit_emit_icall()
3041 return push_inst32(compiler, VMOV | (1 << 20) | VN4(src) | RT4(SLJIT_R0)); in emit_fmov_before_return()
3042 return push_inst32(compiler, VMOV2 | (1 << 20) | VM4(src) | RT4(SLJIT_R0) | RN4(SLJIT_R1)); in emit_fmov_before_return()
3072 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(dst_r) | 1)); in sljit_emit_op_flags()
3073 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(dst_r) | 0)); in sljit_emit_op_flags()
3089 FAIL_IF(push_inst32(compiler, ANDI | RN4(dst_r) | RD4(dst_r) | 1)); in sljit_emit_op_flags()
3090 FAIL_IF(push_inst32(compiler, ANDI | RN4(dst_r) | RD4(dst_r) | 0)); in sljit_emit_op_flags()
3094 FAIL_IF(push_inst32(compiler, ((op == SLJIT_OR) ? ORRI : EORI) | RN4(dst_r) | RD4(dst_r) | 1)); in sljit_emit_op_flags()
3104 return push_inst32(compiler, MOV_W | SET_FLAGS | RD4(TMP_REG1) | RM4(dst_r)); in sljit_emit_op_flags()
3152 return push_inst32(compiler, MOVW | RD4(dst_reg) in sljit_emit_select()
3159 return push_inst32(compiler, MOV_WI | RD4(dst_reg) | tmp); in sljit_emit_select()
3165 return push_inst32(compiler, MVN_WI | RD4(dst_reg) | tmp); in sljit_emit_select()
3171 FAIL_IF(push_inst32(compiler, MOVW | RD4(dst_reg) in sljit_emit_select()
3173 return push_inst32(compiler, MOVT | RD4(dst_reg) in sljit_emit_select()
3195 FAIL_IF(push_inst32(compiler, VMOV_F32 | (type & SLJIT_32) | VD4(dst_freg) | VM4(src2_freg))); in sljit_emit_fselect()
3204 return push_inst32(compiler, VMOV_F32 | (type & SLJIT_32) | VD4(dst_freg) | VM4(src1)); in sljit_emit_fselect()
3238 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(TMP_REG1) | imm)); in sljit_emit_mem()
3242 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(mem & REG_MASK) | RM4(OFFS_REG(mem)) | (… in sljit_emit_mem()
3256 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(mem & REG_MASK) | imm)); in sljit_emit_mem()
3281 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(mem & REG_MASK) | imm)); in sljit_emit_mem()
3316 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(TMP_REG1) | imm)); in sljit_emit_mem()
3329 …FAIL_IF(push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(mem & REG_MASK) | RM4(OFFS_REG(mem)) | (… in sljit_emit_mem()
3341 FAIL_IF(push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(mem & REG_MASK) | imm)); in sljit_emit_mem()
3361 FAIL_IF(push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(mem & REG_MASK) | imm)); in sljit_emit_mem()
3379 …return push_inst32(compiler, ((type & SLJIT_MEM_STORE) ? STRD : LDRD) | (sljit_ins)flags | RN4(mem… in sljit_emit_mem()
3437 return push_inst32(compiler, inst | RT4(reg) | RN4(mem & REG_MASK) | (sljit_ins)memw); in sljit_emit_mem_update()
3450 …return push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(arg & REG_MASK) | RM4(OFFS_REG(arg)) | ((… in update_mem_addr()
3466 return push_inst32(compiler, SUB_WI | RD4(TMP_REG1) | RN4(arg) | imm); in update_mem_addr()
3473 return push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg) | imm); in update_mem_addr()
3480 return push_inst32(compiler, ADD_WI | RD4(TMP_REG1) | RN4(arg) | imm); in update_mem_addr()
3512 FAIL_IF(push_inst32(compiler, VMOV | (1 << 20) | VN4(freg) | RT4(TMP_REG2))); in sljit_emit_fmem()
3521 FAIL_IF(push_inst32(compiler, VMOV | (1 << 20) | VN4(freg) | 0x80 | RT4(TMP_REG2))); in sljit_emit_fmem()
3527 return push_inst32(compiler, VMOV | VN4(freg) | RT4(TMP_REG2)); in sljit_emit_fmem()
3535 return push_inst32(compiler, VMOV2 | VM4(freg) | RT4(TMP_REG2) | RN4(TMP_REG1)); in sljit_emit_fmem()
3545 …return push_inst32(compiler, ADD_W | RD4(TMP_REG1) | RN4(mem & REG_MASK) | RM4(OFFS_REG(mem)) | ((… in sljit_emit_simd_mem_offset()
3564 return push_inst32(compiler, ((memw < 0) ? SUB_WI : ADD_WI) | RD4(TMP_REG1) | RN4(mem) | imm); in sljit_emit_simd_mem_offset()
3622 return push_inst32(compiler, VORR | ins); in sljit_emit_simd_mov()
3640 return push_inst32(compiler, ins | RN4(srcdst) | ((sljit_ins)elem_size) << 6 | 0xf); in sljit_emit_simd_mov()
3763 return push_inst32(compiler, VMOV_i | ((reg_size == 4) ? (1 << 6) : 0) | VD4(freg)); in sljit_emit_simd_replicate()
3772 FAIL_IF(push_inst32(compiler, VORR | VD4(freg) | VN4(src) | VM4(src))); in sljit_emit_simd_replicate()
3777 return push_inst32(compiler, VORR | VD4(freg) | VN4(src) | VM4(src)); in sljit_emit_simd_replicate()
3789 return push_inst32(compiler, VLD1_r | ins | VD4(freg) | RN4(src) | 0xf); 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()
3812 return push_inst32(compiler, VMOV_i | imm | VD4(freg)); in sljit_emit_simd_replicate()
3834 return push_inst32(compiler, VDUP | ins | VN4(freg) | RT4(src)); in sljit_emit_simd_replicate()
3871 FAIL_IF(push_inst32(compiler, VORR | VD4(freg) | VN4(srcdst) | VM4(srcdst))); in sljit_emit_simd_lane_mov()
3874 return push_inst32(compiler, VMOV_i | VD4(freg)); 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()
3900 …return push_inst32(compiler, ((type & SLJIT_SIMD_STORE) ? VST1_s : VLD1_s) | ins | VD4(freg) | RN4… in sljit_emit_simd_lane_mov()
3906 return push_inst32(compiler, VORR | VD4(srcdst) | VN4(freg) | VM4(freg)); in sljit_emit_simd_lane_mov()
3907 return push_inst32(compiler, VMOV_F32 | SLJIT_32 | VD4(freg) | VM4(srcdst)); in sljit_emit_simd_lane_mov()
3915 return push_inst32(compiler, VMOV_F32 | VD4(srcdst) | VM4(freg)); in sljit_emit_simd_lane_mov()
3918 …FAIL_IF(push_inst32(compiler, VMOV_s | (1 << 20) | ((sljit_ins)lane_index << 21) | VN4(freg) | RT4… in sljit_emit_simd_lane_mov()
3919 return push_inst32(compiler, VMOV | VN4(srcdst) | RT4(TMP_REG1)); in sljit_emit_simd_lane_mov()
3922 FAIL_IF(push_inst32(compiler, VMOV | (1 << 20) | VN4(srcdst) | RT4(TMP_REG1))); in sljit_emit_simd_lane_mov()
3923 return push_inst32(compiler, VMOV_s | ((sljit_ins)lane_index << 21) | VN4(freg) | RT4(TMP_REG1)); in sljit_emit_simd_lane_mov()
3951 return push_inst32(compiler, VMOV_s | ins | VN4(freg) | RT4(srcdst)); in sljit_emit_simd_lane_mov()
3986 FAIL_IF(push_inst32(compiler, VORR | VD4(freg) | VN4(src) | VM4(src))); in sljit_emit_simd_lane_replicate()
3991 return push_inst32(compiler, VORR | VD4(freg) | VN4(src) | VM4(src)); in sljit_emit_simd_lane_replicate()
4000 return push_inst32(compiler, VDUP_s | ins | VD4(freg) | VM4(src)); in sljit_emit_simd_lane_replicate()
4032 FAIL_IF(push_inst32(compiler, VLD1 | (0x7 << 8) | VD4(freg) | RN4(src) | 0xf)); in sljit_emit_simd_extend()
4034 …FAIL_IF(push_inst32(compiler, VLD1_s | (sljit_ins)((reg_size - elem2_size + elem_size) << 10) | VD… in sljit_emit_simd_extend()
4043 FAIL_IF(push_inst32(compiler, VSHLL | ((type & SLJIT_SIMD_EXTEND_SIGNED) ? 0 : (1 << 28)) in sljit_emit_simd_extend()
4049 return push_inst32(compiler, VORR | VD4(freg) | VN4(TMP_FREG2) | VM4(TMP_FREG2)); in sljit_emit_simd_extend()
4058 FAIL_IF(push_inst32(compiler, VCVT_F64_F32 | VD4(freg) | VM4(src) | 0x20)); in sljit_emit_simd_extend()
4060 return push_inst32(compiler, VCVT_F64_F32 | VD4(freg) | VM4(src)); in sljit_emit_simd_extend()
4063 FAIL_IF(push_inst32(compiler, VCVT_F64_F32 | VD4(freg) | VM4(src))); in sljit_emit_simd_extend()
4065 return push_inst32(compiler, VCVT_F64_F32 | VD4(freg) | VM4(src) | 0x20); in sljit_emit_simd_extend()
4116 FAIL_IF(push_inst32(compiler, ins | VD4(TMP_FREG2) | VM4(freg))); in sljit_emit_simd_sign()
4119 …FAIL_IF(push_inst32(compiler, VMOVN | ((sljit_ins)(elem_size - 1) << 18) | VD4(TMP_FREG2) | VM4(TM… 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()
4131 …FAIL_IF(push_inst32(compiler, VMOV_s | (1 << 20) | (1 << 23) | (0x2 << 21) | RT4(dst_r) | VN4(TMP_… in sljit_emit_simd_sign()
4135 …FAIL_IF(push_inst32(compiler, VMOV_s | (1 << 20) | (1 << 23) | (0x2 << 21) | RT4(TMP_REG2)| VN4(TM… in sljit_emit_simd_sign()
4136 FAIL_IF(push_inst32(compiler, ORR_W | RD4(dst_r) | RN4(dst_r) | RM4(TMP_REG2) | (0x2 << 12))); in sljit_emit_simd_sign()
4183 return push_inst32(compiler, ins | VD4(dst_freg) | VN4(src1_freg) | VM4(src2_freg)); in sljit_emit_simd_op2()
4209 return push_inst32(compiler, ins | RN4(mem_reg) | RT4(dst_reg)); in sljit_emit_atomic_load()
4237 FAIL_IF(push_inst32(compiler, ins | RN4(mem_reg) | RT4(src_reg))); in sljit_emit_atomic_store()
4239 return push_inst32(compiler, CMPI_W | RN4(TMP_REG1)); in sljit_emit_atomic_store()