Lines Matching refs:op
98 #define GET_FLAG_TYPE(op) ((op) >> VARIABLE_FLAG_SHIFT) argument
100 #define GET_OPCODE(op) \ argument
101 ((op) & ~(SLJIT_32 | SLJIT_SET_Z | VARIABLE_FLAG_MASK))
103 #define HAS_FLAGS(op) \ argument
104 ((op) & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))
106 #define GET_ALL_FLAGS(op) \ argument
107 ((op) & (SLJIT_32 | SLJIT_SET_Z | VARIABLE_FLAG_MASK))
110 #define TYPE_CAST_NEEDED(op) \ argument
111 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S32)
113 #define TYPE_CAST_NEEDED(op) \ argument
114 ((op) >= SLJIT_MOV_U8 && (op) <= SLJIT_MOV_S16)
1401 …RN_TYPE check_sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, slji… in check_sljit_emit_return() argument
1408 CHECK_ARGUMENT(op >= SLJIT_MOV && op <= SLJIT_MOV_S32); in check_sljit_emit_return()
1411 CHECK_ARGUMENT(op == SLJIT_MOV32 || (op >= SLJIT_MOV32_U8 && op <= SLJIT_MOV32_S16)); in check_sljit_emit_return()
1414 CHECK_ARGUMENT(op == SLJIT_MOV_P); in check_sljit_emit_return()
1418 CHECK_ARGUMENT(op == SLJIT_MOV_F64); in check_sljit_emit_return()
1422 CHECK_ARGUMENT(op == SLJIT_MOV_F32); in check_sljit_emit_return()
1430 if (GET_OPCODE(op) < SLJIT_MOV_F64) { in check_sljit_emit_return()
1433 FUNCTION_FCHECK(src, srcw, op & SLJIT_32); in check_sljit_emit_return()
1439 if (GET_OPCODE(op) < SLJIT_MOV_F64) { in check_sljit_emit_return()
1440 fprintf(compiler->verbose, " return%s%s ", !(op & SLJIT_32) ? "" : "32", in check_sljit_emit_return()
1441 op1_types[GET_OPCODE(op) - SLJIT_OP1_BASE]); in check_sljit_emit_return()
1444 fprintf(compiler->verbose, " return%s ", !(op & SLJIT_32) ? ".f64" : ".f32"); in check_sljit_emit_return()
1469 … SLJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_op0(struct sljit_compiler *compiler, sljit_s32 op) in check_sljit_emit_op0() argument
1472 CHECK_ARGUMENT((op >= SLJIT_BREAKPOINT && op <= SLJIT_LMUL_SW) in check_sljit_emit_op0()
1473 || ((op & ~SLJIT_32) >= SLJIT_DIVMOD_UW && (op & ~SLJIT_32) <= SLJIT_DIV_SW) in check_sljit_emit_op0()
1474 || (op >= SLJIT_ENDBR && op <= SLJIT_SKIP_FRAMES_BEFORE_RETURN)); in check_sljit_emit_op0()
1475 …CHECK_ARGUMENT(GET_OPCODE(op) < SLJIT_LMUL_UW || GET_OPCODE(op) >= SLJIT_ENDBR || compiler->scratc… in check_sljit_emit_op0()
1476 …if ((GET_OPCODE(op) >= SLJIT_LMUL_UW && GET_OPCODE(op) <= SLJIT_DIV_SW) || op == SLJIT_SKIP_FRAMES… in check_sljit_emit_op0()
1482 fprintf(compiler->verbose, " %s", op0_names[GET_OPCODE(op) - SLJIT_OP0_BASE]); in check_sljit_emit_op0()
1483 if (GET_OPCODE(op) >= SLJIT_DIVMOD_UW && GET_OPCODE(op) <= SLJIT_DIV_SW) { in check_sljit_emit_op0()
1484 fprintf(compiler->verbose, (op & SLJIT_32) ? "32" : "w"); in check_sljit_emit_op0()
1492 … SLJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_op1(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_op1() argument
1502 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_MOV && GET_OPCODE(op) <= SLJIT_REV_S32); in check_sljit_emit_op1()
1504 switch (GET_OPCODE(op)) { in check_sljit_emit_op1()
1513 CHECK_ARGUMENT(!(op & (SLJIT_32 | SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_op1()
1517 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_op1()
1526 fprintf(compiler->verbose, " %s%s%s ", op1_names[GET_OPCODE(op) - SLJIT_OP1_BASE], in check_sljit_emit_op1()
1527 !(op & SLJIT_32) ? "" : "32", op1_types[GET_OPCODE(op) - SLJIT_OP1_BASE]); in check_sljit_emit_op1()
1538 …NLINE CHECK_RETURN_TYPE check_sljit_emit_atomic_load(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_atomic_load() argument
1549 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_MOV && GET_OPCODE(op) <= SLJIT_MOV_P); in check_sljit_emit_atomic_load()
1550 …CHECK_ARGUMENT(GET_OPCODE(op) != SLJIT_MOV_S8 && GET_OPCODE(op) != SLJIT_MOV_S16 && GET_OPCODE(op)… in check_sljit_emit_atomic_load()
1556 if (op == SLJIT_MOV32_U8 || op == SLJIT_MOV32_U16) { in check_sljit_emit_atomic_load()
1558 CHECK_ARGUMENT(!(op & (VARIABLE_FLAG_MASK | SLJIT_SET_Z))); in check_sljit_emit_atomic_load()
1561 CHECK_ARGUMENT(!(op & (SLJIT_32 | SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_atomic_load()
1568 fprintf(compiler->verbose, " atomic_load%s%s ", !(op & SLJIT_32) ? "" : "32", in check_sljit_emit_atomic_load()
1569 op1_types[GET_OPCODE(op) - SLJIT_OP1_BASE]); in check_sljit_emit_atomic_load()
1579 …LINE CHECK_RETURN_TYPE check_sljit_emit_atomic_store(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_atomic_store() argument
1591 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_MOV && GET_OPCODE(op) <= SLJIT_MOV_P); in check_sljit_emit_atomic_store()
1592 …CHECK_ARGUMENT(GET_OPCODE(op) != SLJIT_MOV_S8 && GET_OPCODE(op) != SLJIT_MOV_S16 && GET_OPCODE(op)… in check_sljit_emit_atomic_store()
1599 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK) || GET_FLAG_TYPE(op) == SLJIT_ATOMIC_STORED); in check_sljit_emit_atomic_store()
1601 if (GET_OPCODE(op) == SLJIT_MOV_U8 || GET_OPCODE(op) == SLJIT_MOV_U16) { in check_sljit_emit_atomic_store()
1603 CHECK_ARGUMENT(!(op & SLJIT_SET_Z)); in check_sljit_emit_atomic_store()
1606 CHECK_ARGUMENT(!(op & (SLJIT_32 | SLJIT_SET_Z))); in check_sljit_emit_atomic_store()
1609 compiler->last_flags = GET_FLAG_TYPE(op) | (op & SLJIT_32); in check_sljit_emit_atomic_store()
1613 fprintf(compiler->verbose, " atomic_store%s%s%s ", !(op & SLJIT_32) ? "" : "32", in check_sljit_emit_atomic_store()
1614 op1_types[GET_OPCODE(op) - SLJIT_OP1_BASE], !(op & VARIABLE_FLAG_MASK) ? "" : ".stored"); in check_sljit_emit_atomic_store()
1626 …CK_RETURN_TYPE check_sljit_emit_op2(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 unset, in check_sljit_emit_op2() argument
1637 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_ADD && GET_OPCODE(op) <= SLJIT_ROTR); in check_sljit_emit_op2()
1639 switch (GET_OPCODE(op)) { in check_sljit_emit_op2()
1649 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK)); in check_sljit_emit_op2()
1652 CHECK_ARGUMENT(!(op & SLJIT_SET_Z)); in check_sljit_emit_op2()
1653 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK) in check_sljit_emit_op2()
1654 || GET_FLAG_TYPE(op) == SLJIT_OVERFLOW); in check_sljit_emit_op2()
1657 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK) in check_sljit_emit_op2()
1658 || GET_FLAG_TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY) in check_sljit_emit_op2()
1659 || GET_FLAG_TYPE(op) == SLJIT_OVERFLOW); in check_sljit_emit_op2()
1662 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK) in check_sljit_emit_op2()
1663 || (GET_FLAG_TYPE(op) >= SLJIT_LESS && GET_FLAG_TYPE(op) <= SLJIT_OVERFLOW) in check_sljit_emit_op2()
1664 || GET_FLAG_TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)); in check_sljit_emit_op2()
1668 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK) in check_sljit_emit_op2()
1669 || GET_FLAG_TYPE(op) == GET_FLAG_TYPE(SLJIT_SET_CARRY)); in check_sljit_emit_op2()
1671 CHECK_ARGUMENT((op & SLJIT_32) == (compiler->last_flags & SLJIT_32)); in check_sljit_emit_op2()
1675 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_op2()
1683 CHECK_ARGUMENT(HAS_FLAGS(op)); in check_sljit_emit_op2()
1689 compiler->last_flags = GET_FLAG_TYPE(op) | (op & (SLJIT_32 | SLJIT_SET_Z)); in check_sljit_emit_op2()
1693 …fprintf(compiler->verbose, " %s%s%s%s%s ", op2_names[GET_OPCODE(op) - SLJIT_OP2_BASE], !(op & SLJ… in check_sljit_emit_op2()
1694 !(op & SLJIT_SET_Z) ? "" : ".z", !(op & VARIABLE_FLAG_MASK) ? "" : ".", in check_sljit_emit_op2()
1695 !(op & VARIABLE_FLAG_MASK) ? "" : jump_names[GET_FLAG_TYPE(op)]); in check_sljit_emit_op2()
1710 …SLJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_op2r(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_op2r() argument
1716 CHECK_ARGUMENT((op | SLJIT_32) == SLJIT_MULADD32); in check_sljit_emit_op2r()
1724 …fprintf(compiler->verbose, " %s%s ", op2r_names[GET_OPCODE(op) - SLJIT_OP2R_BASE], !(op & SLJIT_3… in check_sljit_emit_op2r()
1737 …INLINE CHECK_RETURN_TYPE check_sljit_emit_shift_into(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_shift_into() argument
1744 CHECK_ARGUMENT(GET_OPCODE(op) == SLJIT_SHL || GET_OPCODE(op) == SLJIT_LSHR in check_sljit_emit_shift_into()
1745 || GET_OPCODE(op) == SLJIT_MSHL || GET_OPCODE(op) == SLJIT_MLSHR); in check_sljit_emit_shift_into()
1746 CHECK_ARGUMENT((op & ~(0xff | SLJIT_32 | SLJIT_SHIFT_INTO_NON_ZERO)) == 0); in check_sljit_emit_shift_into()
1755 …fprintf(compiler->verbose, " %s%s.into%s ", op2_names[GET_OPCODE(op) - SLJIT_OP2_BASE], !(op & SL… in check_sljit_emit_shift_into()
1756 (op & SLJIT_SHIFT_INTO_NON_ZERO) ? ".nz" : ""); in check_sljit_emit_shift_into()
1771 …JIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_op_src(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_op_src() argument
1775 CHECK_ARGUMENT(op >= SLJIT_FAST_RETURN && op <= SLJIT_PREFETCH_ONCE); in check_sljit_emit_op_src()
1778 if (op == SLJIT_FAST_RETURN || op == SLJIT_SKIP_FRAMES_BEFORE_FAST_RETURN) { in check_sljit_emit_op_src()
1781 } else if (op >= SLJIT_PREFETCH_L1 && op <= SLJIT_PREFETCH_ONCE) { in check_sljit_emit_op_src()
1787 fprintf(compiler->verbose, " %s ", op_src_dst_names[op - SLJIT_OP_SRC_DST_BASE]); in check_sljit_emit_op_src()
1795 …JIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_op_dst(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_op_dst() argument
1799 CHECK_ARGUMENT(op >= SLJIT_FAST_ENTER && op <= SLJIT_GET_RETURN_ADDRESS); in check_sljit_emit_op_dst()
1802 if (op == SLJIT_FAST_ENTER) in check_sljit_emit_op_dst()
1807 fprintf(compiler->verbose, " %s ", op_src_dst_names[op - SLJIT_OP_SRC_DST_BASE]); in check_sljit_emit_op_dst()
1868 …SLJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_fop1(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fop1() argument
1879 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_MOV_F64 && GET_OPCODE(op) <= SLJIT_ABS_F64); in check_sljit_emit_fop1()
1880 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_fop1()
1881 FUNCTION_FCHECK(src, srcw, op & SLJIT_32); in check_sljit_emit_fop1()
1882 FUNCTION_FCHECK(dst, dstw, op & SLJIT_32); in check_sljit_emit_fop1()
1886 if (GET_OPCODE(op) == SLJIT_CONV_F64_FROM_F32) in check_sljit_emit_fop1()
1888 (op & SLJIT_32) ? ".f32.from.f64" : ".f64.from.f32"); in check_sljit_emit_fop1()
1890 fprintf(compiler->verbose, " %s%s ", fop1_names[GET_OPCODE(op) - SLJIT_FOP1_BASE], in check_sljit_emit_fop1()
1891 (op & SLJIT_32) ? ".f32" : ".f64"); in check_sljit_emit_fop1()
1902 …T_INLINE CHECK_RETURN_TYPE check_sljit_emit_fop1_cmp(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fop1_cmp() argument
1907 compiler->last_flags = GET_FLAG_TYPE(op) | (op & SLJIT_32); in check_sljit_emit_fop1_cmp()
1917 CHECK_ARGUMENT(GET_OPCODE(op) == SLJIT_CMP_F64); in check_sljit_emit_fop1_cmp()
1918 CHECK_ARGUMENT(!(op & SLJIT_SET_Z)); in check_sljit_emit_fop1_cmp()
1919 CHECK_ARGUMENT((op & VARIABLE_FLAG_MASK) in check_sljit_emit_fop1_cmp()
1920 || (GET_FLAG_TYPE(op) >= SLJIT_F_EQUAL && GET_FLAG_TYPE(op) <= SLJIT_ORDERED_LESS_EQUAL)); in check_sljit_emit_fop1_cmp()
1921 FUNCTION_FCHECK(src1, src1w, op & SLJIT_32); in check_sljit_emit_fop1_cmp()
1922 FUNCTION_FCHECK(src2, src2w, op & SLJIT_32); in check_sljit_emit_fop1_cmp()
1926 …fprintf(compiler->verbose, " %s%s", fop1_names[SLJIT_CMP_F64 - SLJIT_FOP1_BASE], (op & SLJIT_32) … in check_sljit_emit_fop1_cmp()
1927 if (op & VARIABLE_FLAG_MASK) { in check_sljit_emit_fop1_cmp()
1928 fprintf(compiler->verbose, ".%s", jump_names[GET_FLAG_TYPE(op)]); in check_sljit_emit_fop1_cmp()
1940 …K_RETURN_TYPE check_sljit_emit_fop1_conv_sw_from_f64(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fop1_conv_sw_from_f64() argument
1951 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_fop1_conv_sw_from_f64()
1952 FUNCTION_FCHECK(src, srcw, op & SLJIT_32); in check_sljit_emit_fop1_conv_sw_from_f64()
1957 fprintf(compiler->verbose, " %s%s.from%s ", fop1_names[GET_OPCODE(op) - SLJIT_FOP1_BASE], in check_sljit_emit_fop1_conv_sw_from_f64()
1958 fop1_conv_types[GET_OPCODE(op) - SLJIT_CONV_SW_FROM_F64], in check_sljit_emit_fop1_conv_sw_from_f64()
1959 (op & SLJIT_32) ? ".f32" : ".f64"); in check_sljit_emit_fop1_conv_sw_from_f64()
1969 …CK_RETURN_TYPE check_sljit_emit_fop1_conv_f64_from_w(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fop1_conv_f64_from_w() argument
1980 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_fop1_conv_f64_from_w()
1982 FUNCTION_FCHECK(dst, dstw, op & SLJIT_32); in check_sljit_emit_fop1_conv_f64_from_w()
1986 fprintf(compiler->verbose, " %s%s.from.%s ", fop1_names[GET_OPCODE(op) - SLJIT_FOP1_BASE], in check_sljit_emit_fop1_conv_f64_from_w()
1987 (op & SLJIT_32) ? ".f32" : ".f64", in check_sljit_emit_fop1_conv_f64_from_w()
1988 fop1_conv_types[GET_OPCODE(op) - SLJIT_CONV_SW_FROM_F64]); in check_sljit_emit_fop1_conv_f64_from_w()
1998 …SLJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_fop2(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fop2() argument
2010 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_ADD_F64 && GET_OPCODE(op) <= SLJIT_DIV_F64); in check_sljit_emit_fop2()
2011 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_fop2()
2012 FUNCTION_FCHECK(src1, src1w, op & SLJIT_32); in check_sljit_emit_fop2()
2013 FUNCTION_FCHECK(src2, src2w, op & SLJIT_32); in check_sljit_emit_fop2()
2014 FUNCTION_FCHECK(dst, dstw, op & SLJIT_32); in check_sljit_emit_fop2()
2018 …fprintf(compiler->verbose, " %s%s ", fop2_names[GET_OPCODE(op) - SLJIT_FOP2_BASE], (op & SLJIT_32… in check_sljit_emit_fop2()
2030 …LJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_fop2r(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fop2r() argument
2037 CHECK_ARGUMENT(GET_OPCODE(op) == SLJIT_COPYSIGN_F64); in check_sljit_emit_fop2r()
2038 FUNCTION_FCHECK(src1, src1w, op & SLJIT_32); in check_sljit_emit_fop2r()
2039 FUNCTION_FCHECK(src2, src2w, op & SLJIT_32); in check_sljit_emit_fop2r()
2040 CHECK_ARGUMENT(FUNCTION_CHECK_IS_FREG(dst_freg, op & SLJIT_32)); in check_sljit_emit_fop2r()
2044 …fprintf(compiler->verbose, " %s%s ", fop2r_names[GET_OPCODE(op) - SLJIT_FOP2R_BASE], (op & SLJIT_… in check_sljit_emit_fop2r()
2104 …LJIT_INLINE CHECK_RETURN_TYPE check_sljit_emit_fcopy(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_fcopy() argument
2109 CHECK_ARGUMENT(GET_OPCODE(op) >= SLJIT_COPY_TO_F64 && GET_OPCODE(op) <= SLJIT_COPY_FROM_F64); in check_sljit_emit_fcopy()
2110 CHECK_ARGUMENT(!(op & (SLJIT_SET_Z | VARIABLE_FLAG_MASK))); in check_sljit_emit_fcopy()
2111 CHECK_ARGUMENT(FUNCTION_CHECK_IS_FREG(freg, op & SLJIT_32)); in check_sljit_emit_fcopy()
2116 switch (op) { in check_sljit_emit_fcopy()
2127 if (op == SLJIT_COPY_TO_F64) in check_sljit_emit_fcopy()
2141 fprintf(compiler->verbose, " copy%s_%s_f%s ", (op & SLJIT_32) ? "32" : "", in check_sljit_emit_fcopy()
2142 GET_OPCODE(op) == SLJIT_COPY_TO_F64 ? "to" : "from", (op & SLJIT_32) ? "32" : "64"); in check_sljit_emit_fcopy()
2379 …T_INLINE CHECK_RETURN_TYPE check_sljit_emit_op_flags(struct sljit_compiler *compiler, sljit_s32 op, in check_sljit_emit_op_flags() argument
2385 CHECK_ARGUMENT(op == SLJIT_MOV || op == SLJIT_MOV32 in check_sljit_emit_op_flags()
2386 || (GET_OPCODE(op) >= SLJIT_AND && GET_OPCODE(op) <= SLJIT_XOR)); in check_sljit_emit_op_flags()
2387 CHECK_ARGUMENT(!(op & VARIABLE_FLAG_MASK)); in check_sljit_emit_op_flags()
2397 if (GET_OPCODE(op) >= SLJIT_ADD) in check_sljit_emit_op_flags()
2398 compiler->last_flags = GET_FLAG_TYPE(op) | (op & (SLJIT_32 | SLJIT_SET_Z)); in check_sljit_emit_op_flags()
2403 GET_OPCODE(op) < SLJIT_OP2_BASE ? "mov" : op2_names[GET_OPCODE(op) - SLJIT_OP2_BASE], in check_sljit_emit_op_flags()
2404 …GET_OPCODE(op) < SLJIT_OP2_BASE ? op1_types[GET_OPCODE(op) - SLJIT_OP1_BASE] : ((op & SLJIT_32) ? … in check_sljit_emit_op_flags()
2405 !(op & SLJIT_SET_Z) ? "" : ".z"); in check_sljit_emit_op_flags()
3049 #define SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw) \ argument
3052 if (GET_OPCODE(op) >= SLJIT_CONV_SW_FROM_F64 && GET_OPCODE(op) <= SLJIT_CMP_F64) { \
3053 if (GET_OPCODE(op) == SLJIT_CMP_F64) { \
3054 CHECK(check_sljit_emit_fop1_cmp(compiler, op, dst, dstw, src, srcw)); \
3057 return sljit_emit_fop1_cmp(compiler, op, dst, dstw, src, srcw); \
3059 if ((GET_OPCODE(op) | 0x1) == SLJIT_CONV_S32_FROM_F64) { \
3060 CHECK(check_sljit_emit_fop1_conv_sw_from_f64(compiler, op, dst, dstw, src, srcw)); \
3063 return sljit_emit_fop1_conv_sw_from_f64(compiler, op, dst, dstw, src, srcw); \
3065 if ((GET_OPCODE(op) | 0x1) == SLJIT_CONV_F64_FROM_S32) { \
3066 CHECK(check_sljit_emit_fop1_conv_f64_from_w(compiler, op, dst, dstw, src, srcw)); \
3069 return sljit_emit_fop1_conv_f64_from_sw(compiler, op, dst, dstw, src, srcw); \
3071 CHECK(check_sljit_emit_fop1_conv_f64_from_w(compiler, op, dst, dstw, src, srcw)); \
3074 return sljit_emit_fop1_conv_f64_from_uw(compiler, op, dst, dstw, src, srcw); \
3076 CHECK(check_sljit_emit_fop1(compiler, op, dst, dstw, src, srcw)); \
3161 static SLJIT_INLINE sljit_s32 emit_mov_before_return(struct sljit_compiler *compiler, sljit_s32 op,… in emit_mov_before_return() argument
3165 if (src == SLJIT_RETURN_REG && (op == SLJIT_MOV || op == SLJIT_MOV_P)) in emit_mov_before_return()
3168 …if (src == SLJIT_RETURN_REG && (op == SLJIT_MOV || op == SLJIT_MOV_U32 || op == SLJIT_MOV_S32 || o… in emit_mov_before_return()
3173 return sljit_emit_op1(compiler, op, SLJIT_RETURN_REG, 0, src, srcw); in emit_mov_before_return()
3179 static SLJIT_INLINE sljit_s32 emit_fmov_before_return(struct sljit_compiler *compiler, sljit_s32 op… in emit_fmov_before_return() argument
3185 return sljit_emit_fop1(compiler, op, SLJIT_RETURN_FREG, 0, src, srcw); in emit_fmov_before_return()
3190 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op,… in sljit_emit_return() argument
3193 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
3195 if (GET_OPCODE(op) < SLJIT_MOV_F64) { in sljit_emit_return()
3196 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
3198 FAIL_IF(emit_fmov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
3209 SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_fop2r(struct sljit_compiler *compiler, sljit_s32 op, in sljit_emit_fop2r() argument
3215 CHECK(check_sljit_emit_fop2r(compiler, op, dst_freg, src1, src1w, src2, src2w)); in sljit_emit_fop2r()
3220 return sljit_emit_fop2(compiler, op, dst_freg, 0, src1, src1w, src2, src2w); in sljit_emit_fop2r()
3507 sljit_s32 op, in sljit_emit_atomic_load() argument
3512 SLJIT_UNUSED_ARG(op); in sljit_emit_atomic_load()
3517 CHECK(check_sljit_emit_atomic_load(compiler, op, dst_reg, mem_reg)); in sljit_emit_atomic_load()
3523 sljit_s32 op, in sljit_emit_atomic_store() argument
3529 SLJIT_UNUSED_ARG(op); in sljit_emit_atomic_store()
3535 CHECK(check_sljit_emit_atomic_store(compiler, op, src_reg, mem_reg, temp_reg)); in sljit_emit_atomic_store()