Lines Matching refs:push_inst16
210 static sljit_s32 push_inst16(struct sljit_compiler *compiler, sljit_ins inst) in push_inst16() function
627 return push_inst16(compiler, ADDSI3 | IMM3(imm) | RD3(dst) | RN3(reg)); in emit_op_imm()
629 return push_inst16(compiler, SUBSI3 | IMM3(nimm) | RD3(dst) | RN3(reg)); in emit_op_imm()
632 return push_inst16(compiler, ADDSI8 | IMM8(imm) | RDN3(dst)); in emit_op_imm()
634 return push_inst16(compiler, SUBSI8 | IMM8(nimm) | RDN3(dst)); in emit_op_imm()
660 return push_inst16(compiler, RSBSI | RD3(dst) | RN3(reg)); in emit_op_imm()
668 return push_inst16(compiler, CMPI | IMM8(imm) | RDN3(reg)); in emit_op_imm()
680 return push_inst16(compiler, SUBSI3 | IMM3(imm) | RD3(dst) | RN3(reg)); in emit_op_imm()
682 return push_inst16(compiler, ADDSI3 | IMM3(nimm) | RD3(dst) | RN3(reg)); in emit_op_imm()
685 return push_inst16(compiler, SUBSI8 | IMM8(imm) | RDN3(dst)); in emit_op_imm()
687 return push_inst16(compiler, ADDSI8 | IMM8(nimm) | RDN3(dst)); in emit_op_imm()
740 return push_inst16(compiler, MOV | SET_REGS44(dst, reg)); in emit_op_imm()
742 return push_inst16(compiler, MOVS | RD3(dst) | RN3(reg)); in emit_op_imm()
748 return push_inst16(compiler, LSLSI | RD3(dst) | RN3(reg) | (imm << 6)); in emit_op_imm()
752 return push_inst16(compiler, LSRSI | RD3(dst) | RN3(reg) | (imm << 6)); in emit_op_imm()
756 return push_inst16(compiler, ASRSI | RD3(dst) | RN3(reg) | (imm << 6)); in emit_op_imm()
788 return push_inst16(compiler, MOV | SET_REGS44(dst, arg2)); in emit_op_imm()
792 return push_inst16(compiler, UXTB | RD3(dst) | RN3(arg2)); in emit_op_imm()
797 return push_inst16(compiler, SXTB | RD3(dst) | RN3(arg2)); in emit_op_imm()
802 return push_inst16(compiler, UXTH | RD3(dst) | RN3(arg2)); in emit_op_imm()
807 return push_inst16(compiler, SXTH | RD3(dst) | RN3(arg2)); in emit_op_imm()
812 return push_inst16(compiler, MVNS | RD3(dst) | RN3(arg2)); in emit_op_imm()
821 return push_inst16(compiler, ADDS | RD3(dst) | RN3(arg1) | RM3(arg2)); in emit_op_imm()
823 return push_inst16(compiler, ADD | SET_REGS44(dst, arg2)); in emit_op_imm()
828 return push_inst16(compiler, ADCS | RD3(dst) | RN3(arg2)); in emit_op_imm()
834 return push_inst16(compiler, CMP | RD3(arg1) | RN3(arg2)); in emit_op_imm()
835 return push_inst16(compiler, CMP_X | SET_REGS44(arg1, arg2)); in emit_op_imm()
838 return push_inst16(compiler, SUBS | RD3(dst) | RN3(arg1) | RM3(arg2)); in emit_op_imm()
843 return push_inst16(compiler, SBCS | RD3(dst) | RN3(arg2)); in emit_op_imm()
855 return push_inst16(compiler, ANDS | RD3(dst) | RN3(arg2)); in emit_op_imm()
857 return push_inst16(compiler, TST | RD3(arg1) | RN3(arg2)); in emit_op_imm()
861 return push_inst16(compiler, ORRS | RD3(dst) | RN3(arg2)); in emit_op_imm()
865 return push_inst16(compiler, EORS | RD3(dst) | RN3(arg2)); in emit_op_imm()
869 return push_inst16(compiler, LSLS | RD3(dst) | RN3(arg2)); in emit_op_imm()
873 return push_inst16(compiler, LSRS | RD3(dst) | RN3(arg2)); in emit_op_imm()
877 return push_inst16(compiler, ASRS | RD3(dst) | RN3(arg2)); in emit_op_imm()
1008 return push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(tmp_reg)); in emit_op_mem()
1018 return push_inst16(compiler, sljit_mem16[flags] | RD3(reg) | RN3(arg) | RM3(other_r)); in emit_op_mem()
1057 …return push_inst16(compiler, sljit_mem16_imm5[flags] | RD3(reg) | RN3(arg) | ((sljit_ins)argw << (… in emit_op_mem()
1061 …return push_inst16(compiler, STR_SP | (sljit_ins)((flags & STORE) ? 0 : 0x800) | RDN3(reg) | ((slj… in emit_op_mem()
1073 return push_inst16(compiler, sljit_mem16[flags] | RD3(reg) | RN3(arg) | RM3(tmp_reg)); in emit_op_mem()
1110 : push_inst16(compiler, PUSH | (1 << 8) | imm)); in sljit_emit_enter()
1117 FAIL_IF(push_inst16(compiler, SUB_SP_I | (sizeof(sljit_sw) >> 2))); in sljit_emit_enter()
1179 FAIL_IF(push_inst16(compiler, MOV | RD3(tmp) | (offset << 1))); in sljit_emit_enter()
1181 FAIL_IF(push_inst16(compiler, LDR_SP | RDN3(tmp) in sljit_emit_enter()
1218 …FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_S0 - saved_arg_count, SLJIT_R0 + word_arg_cou… in sljit_emit_enter()
1256 FAIL_IF(push_inst16(compiler, BCC | (0x1 << 8) /* not-equal */ | (-8 & 0xff))); in sljit_emit_enter()
1267 FAIL_IF(push_inst16(compiler, SUB_SP_I | ((sljit_uw)local_size >> 2))); in sljit_emit_enter()
1277 FAIL_IF(push_inst16(compiler, SUB_SP_I | ((sljit_uw)local_size >> 2))); in sljit_emit_enter()
1311 return push_inst16(compiler, ADD_SP_I | (imm >> 2)); in emit_add_sp()
1322 return push_inst16(compiler, ADD_SP | RN3(TMP_REG2)); in emit_add_sp()
1375 FAIL_IF(push_inst16(compiler, SUB_SP_I | ((sljit_uw)(frame_size - local_size) >> 2))); in emit_stack_frame_release()
1393 return push_inst16(compiler, STR_SP | 0x800 | RDN3(lr_dst) | (sljit_uw)(frame_size >> 2)); in emit_stack_frame_release()
1408 FAIL_IF(push_inst16(compiler, POP | reg_list)); in emit_stack_frame_release()
1424 return push_inst16(compiler, SUB_SP_I | (((sljit_uw)frame_size - sizeof(sljit_sw)) >> 2)); in emit_stack_frame_release()
1475 return push_inst16(compiler, BKPT); in sljit_emit_op0()
1477 return push_inst16(compiler, NOP); in sljit_emit_op0()
1485 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0()
1513 FAIL_IF(push_inst16(compiler, 0x9001 | (saved_reg_list[1] << 8) /* str rX, [sp, #4] */)); in sljit_emit_op0()
1517 FAIL_IF(push_inst16(compiler, 0x9002 | (saved_reg_list[2] << 8) /* str rX, [sp, #8] */)); in sljit_emit_op0()
1522 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, SLJIT_R0))); in sljit_emit_op0()
1523 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_R0, SLJIT_R1))); in sljit_emit_op0()
1524 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(SLJIT_R1, TMP_REG1))); in sljit_emit_op0()
1537 FAIL_IF(push_inst16(compiler, 0x9802 | (saved_reg_list[2] << 8) /* ldr rX, [sp, #8] */)); in sljit_emit_op0()
1541 FAIL_IF(push_inst16(compiler, 0x9801 | (saved_reg_list[1] << 8) /* ldr rX, [sp, #4] */)); in sljit_emit_op0()
1707 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG2, src))); in sljit_emit_op_src()
1711 return push_inst16(compiler, BX | RN3(TMP_REG2)); in sljit_emit_op_src()
1743 return push_inst16(compiler, *(sljit_u16*)instruction); in sljit_emit_op_custom()
1796 FAIL_IF(push_inst16(compiler, ADD | SET_REGS44(TMP_REG1, (arg & REG_MASK)))); in emit_fop_mem()
1973 return push_inst16(compiler, MOV | SET_REGS44(dst, TMP_REG2)); in sljit_emit_fast_enter()
2088 PTR_FAIL_IF(push_inst16(compiler, IT | (cc << 4) | 0x8)); in sljit_emit_jump()
2093 PTR_FAIL_IF(push_inst16(compiler, BX | RN3(TMP_REG1))); in sljit_emit_jump()
2096 PTR_FAIL_IF(push_inst16(compiler, BLX | RN3(TMP_REG1))); in sljit_emit_jump()
2158 FAIL_IF(push_inst16(compiler, SUB_SP_I | (offset >> 2))); in softfloat_call_with_args()
2178 FAIL_IF(push_inst16(compiler, MOV | (src_offset << 1) | 4 | (1 << 7))); in softfloat_call_with_args()
2192 FAIL_IF(push_inst16(compiler, MOV | (src_offset << 1) | 4 | (1 << 7))); in softfloat_call_with_args()
2209 FAIL_IF(push_inst16(compiler, MOV | (src_offset << 1) | 4 | (1 << 7))); in softfloat_call_with_args()
2216 FAIL_IF(push_inst16(compiler, MOV | (offset >> 2) | (word_arg_offset << 1))); in softfloat_call_with_args()
2218 …FAIL_IF(push_inst16(compiler, STR_SP | (word_arg_offset << 6) | ((offset - 4 * sizeof(sljit_sw)) >… in softfloat_call_with_args()
2311 PTR_FAIL_IF(push_inst16(compiler, ADD_SP_I | (extra_space >> 2))); in sljit_emit_call()
2314 PTR_FAIL_IF(push_inst16(compiler, BX | RN3(TMP_REG2))); in sljit_emit_call()
2353 return push_inst16(compiler, (type <= SLJIT_JUMP ? BX : BLX) | RN3(src)); in sljit_emit_ijump()
2358 return push_inst16(compiler, BLX | RN3(TMP_REG1)); in sljit_emit_ijump()
2369 return push_inst16(compiler, (type <= SLJIT_JUMP ? BX : BLX) | RN3(TMP_REG1)); in sljit_emit_ijump()
2389 FAIL_IF(push_inst16(compiler, MOV | SET_REGS44(TMP_REG1, src))); in sljit_emit_icall()
2412 FAIL_IF(push_inst16(compiler, ADD_SP_I | (extra_space >> 2))); in sljit_emit_icall()
2415 return push_inst16(compiler, BX | RN3(TMP_REG2)); in sljit_emit_icall()
2454 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | (((cc & 0x1) ^ 0x1) << 3) | 0x4)); in sljit_emit_op_flags()
2460 FAIL_IF(push_inst16(compiler, MOVSI | RDN3(dst_r) | 1)); in sljit_emit_op_flags()
2461 FAIL_IF(push_inst16(compiler, MOVSI | RDN3(dst_r) | 0)); in sljit_emit_op_flags()
2472 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | (((cc & 0x1) ^ 0x1) << 3) | 0x4)); in sljit_emit_op_flags()
2477 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | 0x8)); in sljit_emit_op_flags()
2505 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | 0x8)); in sljit_emit_cmov()
2506 return push_inst16(compiler, MOV | SET_REGS44(dst_reg, src)); in sljit_emit_cmov()
2513 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | 0x8)); in sljit_emit_cmov()
2520 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | 0x8)); in sljit_emit_cmov()
2526 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | 0x8)); in sljit_emit_cmov()
2530 FAIL_IF(push_inst16(compiler, IT | (cc << 4) | ((cc & 0x1) << 3) | 0x4)); in sljit_emit_cmov()