Lines Matching refs:src

1165 …jit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, sljit_si src, sljit_sw srcw)  in sljit_emit_return()  argument
1171 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
1173 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1280 sljit_si src, sljit_sw srcw) in sljit_emit_op1() argument
1286 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1288 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1304 if (src & SLJIT_IMM) in sljit_emit_op1()
1309 if (src & SLJIT_IMM) in sljit_emit_op1()
1314 if (src & SLJIT_IMM) in sljit_emit_op1()
1319 if (src & SLJIT_IMM) in sljit_emit_op1()
1324 if (src & SLJIT_IMM) in sljit_emit_op1()
1329 if (src & SLJIT_IMM) in sljit_emit_op1()
1338 if (src & SLJIT_IMM) in sljit_emit_op1()
1343 if (src & SLJIT_IMM) in sljit_emit_op1()
1348 if (src & SLJIT_IMM) in sljit_emit_op1()
1353 if (src & SLJIT_IMM) in sljit_emit_op1()
1358 if (src & SLJIT_IMM) in sljit_emit_op1()
1363 if (src & SLJIT_IMM) in sljit_emit_op1()
1372 if (src & SLJIT_IMM) in sljit_emit_op1()
1374 else if (src & SLJIT_MEM) { in sljit_emit_op1()
1375 if (getput_arg_fast(compiler, flags, dst_r, src, srcw)) in sljit_emit_op1()
1378 FAIL_IF(getput_arg(compiler, flags, dst_r, src, srcw, dst, dstw)); in sljit_emit_op1()
1381 … return emit_op_imm(compiler, op | ((op_flags & SLJIT_INT_OP) ? INT_OP : 0), dst_r, TMP_REG1, src); in sljit_emit_op1()
1382 dst_r = src; in sljit_emit_op1()
1404 if (src & SLJIT_MEM) { in sljit_emit_op1()
1405 if (getput_arg_fast(compiler, mem_flags, TMP_REG2, src, srcw)) in sljit_emit_op1()
1408 FAIL_IF(getput_arg(compiler, mem_flags, TMP_REG2, src, srcw, dst, dstw)); in sljit_emit_op1()
1409 src = TMP_REG2; in sljit_emit_op1()
1412 if (src & SLJIT_IMM) { in sljit_emit_op1()
1417 srcw = src; in sljit_emit_op1()
1605 sljit_si src, sljit_sw srcw) in sljit_emit_fop1_convw_fromd() argument
1613 if (src & SLJIT_MEM) { in sljit_emit_fop1_convw_fromd()
1614 emit_fop_mem(compiler, (op & SLJIT_SINGLE_OP) ? INT_SIZE : WORD_SIZE, TMP_FREG1, src, srcw); in sljit_emit_fop1_convw_fromd()
1615 src = TMP_FREG1; in sljit_emit_fop1_convw_fromd()
1618 FAIL_IF(push_inst(compiler, (FCVTZS ^ inv_bits) | RD(dst_r) | VN(src))); in sljit_emit_fop1_convw_fromd()
1627 sljit_si src, sljit_sw srcw) in sljit_emit_fop1_convd_fromw() argument
1635 if (src & SLJIT_MEM) { in sljit_emit_fop1_convd_fromw()
1636 …mem(compiler, ((GET_OPCODE(op) == SLJIT_CONVD_FROMI) ? INT_SIZE : WORD_SIZE), TMP_REG1, src, srcw); in sljit_emit_fop1_convd_fromw()
1637 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1638 } else if (src & SLJIT_IMM) { in sljit_emit_fop1_convd_fromw()
1644 src = TMP_REG1; in sljit_emit_fop1_convd_fromw()
1647 FAIL_IF(push_inst(compiler, (SCVTF ^ inv_bits) | VD(dst_r) | RN(src))); in sljit_emit_fop1_convd_fromw()
1676 sljit_si src, sljit_sw srcw) in sljit_emit_fop1() argument
1686 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
1691 if (src & SLJIT_MEM) { in sljit_emit_fop1()
1692 …mpiler, (GET_OPCODE(op) == SLJIT_CONVD_FROMS) ? (mem_flags ^ 0x100) : mem_flags, dst_r, src, srcw); in sljit_emit_fop1()
1693 src = dst_r; in sljit_emit_fop1()
1698 if (src != dst_r) { in sljit_emit_fop1()
1700 FAIL_IF(push_inst(compiler, (FMOV ^ inv_bits) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
1702 dst_r = src; in sljit_emit_fop1()
1706 FAIL_IF(push_inst(compiler, (FNEG ^ inv_bits) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
1709 FAIL_IF(push_inst(compiler, (FABS ^ inv_bits) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
1712 …ush_inst(compiler, FCVT | ((op & SLJIT_SINGLE_OP) ? (1 << 22) : (1 << 15)) | VD(dst_r) | VN(src))); in sljit_emit_fop1()
1789 …IBUTE sljit_si sljit_emit_fast_return(struct sljit_compiler *compiler, sljit_si src, sljit_sw srcw) in sljit_emit_fast_return() argument
1792 CHECK(check_sljit_emit_fast_return(compiler, src, srcw)); in sljit_emit_fast_return()
1793 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_fast_return()
1795 if (FAST_IS_REG(src)) in sljit_emit_fast_return()
1796 FAIL_IF(push_inst(compiler, ORR | RD(TMP_LR) | RN(TMP_ZERO) | RM(src))); in sljit_emit_fast_return()
1797 else if (src & SLJIT_MEM) in sljit_emit_fast_return()
1798 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_LR, src, srcw)); in sljit_emit_fast_return()
1799 else if (src & SLJIT_IMM) in sljit_emit_fast_return()
1907 sljit_si src, sljit_sw srcw) in emit_cmp_to0() argument
1913 ADJUST_LOCAL_OFFSET(src, srcw); in emit_cmp_to0()
1920 if (src & SLJIT_MEM) { in emit_cmp_to0()
1921 PTR_FAIL_IF(emit_op_mem(compiler, inv_bits ? INT_SIZE : WORD_SIZE, TMP_REG1, src, srcw)); in emit_cmp_to0()
1922 src = TMP_REG1; in emit_cmp_to0()
1924 else if (src & SLJIT_IMM) { in emit_cmp_to0()
1926 src = TMP_REG1; in emit_cmp_to0()
1928 SLJIT_ASSERT(FAST_IS_REG(src)); in emit_cmp_to0()
1933 PTR_FAIL_IF(push_inst(compiler, (CBZ ^ inv_bits) | (6 << 5) | RT(src))); in emit_cmp_to0()
1940 …it_si sljit_emit_ijump(struct sljit_compiler *compiler, sljit_si type, sljit_si src, sljit_sw srcw) in sljit_emit_ijump() argument
1945 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw)); in sljit_emit_ijump()
1946 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_ijump()
1949 if (!(src & SLJIT_IMM)) { in sljit_emit_ijump()
1950 if (src & SLJIT_MEM) { in sljit_emit_ijump()
1951 FAIL_IF(emit_op_mem(compiler, WORD_SIZE, TMP_REG1, src, srcw)); in sljit_emit_ijump()
1952 src = TMP_REG1; in sljit_emit_ijump()
1954 return push_inst(compiler, ((type >= SLJIT_FAST_CALL) ? BLR : BR) | RN(src)); in sljit_emit_ijump()
1969 sljit_si src, sljit_sw srcw, in sljit_emit_op_flags() argument
1976 CHECK(check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type)); in sljit_emit_op_flags()
1978 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op_flags()
2002 if (src & SLJIT_MEM) { in sljit_emit_op_flags()
2003 FAIL_IF(emit_op_mem2(compiler, mem_flags, TMP_REG1, src, srcw, dst, dstw)); in sljit_emit_op_flags()
2004 src = TMP_REG1; in sljit_emit_op_flags()
2006 } else if (src & SLJIT_IMM) in sljit_emit_op_flags()
2010 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_r, src, TMP_REG2); in sljit_emit_op_flags()