Lines Matching refs:op

112 #define CHECK_FLAGS(list) (!(flags & UNUSED_DEST) || (op & GET_FLAGS(~(list))))
1245 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_return(struct sljit_compiler *compiler, sljit_si op, s… in sljit_emit_return() argument
1252 check_sljit_emit_return(compiler, op, src, srcw); in sljit_emit_return()
1254 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1620 static SLJIT_INLINE sljit_si emit_single_op(struct sljit_compiler *compiler, sljit_si op, sljit_si … in emit_single_op() argument
1624 switch (GET_OPCODE(op)) { in emit_single_op()
1636 if (op == SLJIT_MOV_SI) in emit_single_op()
1649 if (op == SLJIT_MOV_SB) in emit_single_op()
1662 if (op == SLJIT_MOV_SH) in emit_single_op()
1673 if (op & SLJIT_SET_E) in emit_single_op()
1682 if (op & SLJIT_SET_E) in emit_single_op()
1691 if (op & SLJIT_SET_O) { in emit_single_op()
1697 if (op & SLJIT_SET_E) in emit_single_op()
1700 if (op & SLJIT_SET_C) { in emit_single_op()
1713 if (op & SLJIT_SET_O) { in emit_single_op()
1720 if (op & SLJIT_SET_O) { in emit_single_op()
1735 if (op & SLJIT_SET_E) in emit_single_op()
1738 if (op & SLJIT_SET_C) in emit_single_op()
1745 if (op & SLJIT_SET_O) { in emit_single_op()
1752 if (op & SLJIT_SET_C) in emit_single_op()
1755 if (op & SLJIT_SET_O) in emit_single_op()
1762 if (op & SLJIT_SET_C) { in emit_single_op()
1774 if (op & SLJIT_SET_C) in emit_single_op()
1781 if (op & SLJIT_SET_C) in emit_single_op()
1786 if (!(op & SLJIT_SET_C)) in emit_single_op()
1796 if ((flags & SRC2_IMM) && ((op & (SLJIT_SET_U | SLJIT_SET_S)) || src2 == SIMM_16BIT_MIN)) { in emit_single_op()
1803 if (op & SLJIT_SET_O) { in emit_single_op()
1819 if (op & SLJIT_SET_E) in emit_single_op()
1822 if (op & SLJIT_SET_C) { in emit_single_op()
1833 if (op & SLJIT_SET_O) { in emit_single_op()
1846 if (op & SLJIT_SET_E) in emit_single_op()
1849 if (op & (SLJIT_SET_U | SLJIT_SET_C)) in emit_single_op()
1852 if (op & SLJIT_SET_U) in emit_single_op()
1855 if (op & SLJIT_SET_S) { in emit_single_op()
1865 if (op & SLJIT_SET_O) { in emit_single_op()
1881 if (op & SLJIT_SET_C) { in emit_single_op()
1890 if (op & SLJIT_SET_C) in emit_single_op()
1896 if (op & SLJIT_SET_C) in emit_single_op()
1901 if (op & SLJIT_SET_C) in emit_single_op()
1909 if (op & SLJIT_SET_E) \ in emit_single_op()
1918 if (op & SLJIT_SET_E) \ in emit_single_op()
1942 if (op & SLJIT_SET_E) \ in emit_single_op()
1951 if (op & SLJIT_SET_E) \ in emit_single_op()
1978 static sljit_si emit_op(struct sljit_compiler *compiler, sljit_si op, sljit_si flags, sljit_si dst,… in emit_op() argument
1995 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI && !(src2 & SLJIT_MEM)) in emit_op()
1997 if (GET_FLAGS(op)) in emit_op()
2002 if (op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
2055 if (!(flags & REG_DEST) && op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) in emit_op()
2064 if ((op >= SLJIT_MOV && op <= SLJIT_MOVU_SI) && (dst & SLJIT_MEM)) in emit_op()
2090 FAIL_IF(emit_single_op(compiler, op, flags, dst_r, src1_r, src2_r)); in emit_op()
2104 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_si op,… in sljit_emit_op_flags() argument
2107 sljit_si flags = GET_ALL_FLAGS(op); in sljit_emit_op_flags()
2110 check_sljit_emit_op_flags(compiler, op, dst, dstw, src, srcw, type); in sljit_emit_op_flags()
2116 op = GET_OPCODE(op); in sljit_emit_op_flags()
2117 sugg_dst_ar = reg_map[(op < SLJIT_ADD && FAST_IS_REG(dst)) ? dst : TMP_REG2]; in sljit_emit_op_flags()
2121 if (op >= SLJIT_ADD && (src & SLJIT_MEM)) { in sljit_emit_op_flags()
2180 if (op >= SLJIT_ADD) { in sljit_emit_op_flags()
2183 …return emit_op(compiler, op | flags, CUMULATIVE_OP | LOGICAL_OP | IMM_OP | ALT_KEEP_CACHE, dst, ds… in sljit_emit_op_flags()
2195 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op0(struct sljit_compiler *compiler, sljit_si op) { in sljit_emit_op0() argument
2197 check_sljit_emit_op0(compiler, op); in sljit_emit_op0()
2199 op = GET_OPCODE(op); in sljit_emit_op0()
2200 switch (op) { in sljit_emit_op0()
2217 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op1(struct sljit_compiler *compiler, sljit_si op, slji… in sljit_emit_op1() argument
2220 check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw); in sljit_emit_op1()
2224 switch (GET_OPCODE(op)) { in sljit_emit_op1()
2270 return emit_op(compiler, op, 0, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
2273 …return emit_op(compiler, SLJIT_SUB | GET_ALL_FLAGS(op), IMM_OP, dst, dstw, SLJIT_IMM, 0, src, srcw… in sljit_emit_op1()
2276 return emit_op(compiler, op, 0, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
2282 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_op2(struct sljit_compiler *compiler, sljit_si op, slji… in sljit_emit_op2() argument
2285 check_sljit_emit_op2(compiler, op, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2290 switch (GET_OPCODE(op)) { in sljit_emit_op2()
2293 return emit_op(compiler, op, CUMULATIVE_OP | IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2297 return emit_op(compiler, op, IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2300 return emit_op(compiler, op, CUMULATIVE_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2305 …return emit_op(compiler, op, CUMULATIVE_OP | LOGICAL_OP | IMM_OP, dst, dstw, src1, src1w, src2, sr… in sljit_emit_op2()
2312 if (op & SLJIT_INT_OP) in sljit_emit_op2()
2315 return emit_op(compiler, op, IMM_OP, dst, dstw, src1, src1w, src2, src2w); in sljit_emit_op2()
2521 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fop1(struct sljit_compiler *compiler, sljit_si op, slj… in sljit_emit_fop1() argument
2526 SLJIT_API_FUNC_ATTRIBUTE sljit_si sljit_emit_fop2(struct sljit_compiler *compiler, sljit_si op, slj… in sljit_emit_fop2() argument