Lines Matching refs:srcw
779 …_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) in sljit_emit_return() argument
784 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
786 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1174 sljit_s32 src, sljit_sw srcw) in emit_prefetch() argument
1177 if (srcw == 0 && (src & REG_MASK) != SLJIT_UNUSED) in emit_prefetch()
1180 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in emit_prefetch()
1185 srcw &= 0x3; in emit_prefetch()
1187 if (srcw == 0) in emit_prefetch()
1191 …FAIL_IF(push_inst(compiler, RLWINM | S(OFFS_REG(src)) | A(TMP_REG1) | (srcw << 11) | ((31 - srcw) … in emit_prefetch()
1193 FAIL_IF(push_inst(compiler, RLDI(TMP_REG1, OFFS_REG(src), srcw, 63 - srcw, 1))); in emit_prefetch()
1199 …type, flags | (type_flags), dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? type_cast srcw : srcw)
1203 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1() argument
1209 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1211 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1214 if ((src & SLJIT_IMM) && srcw == 0) in sljit_emit_op1()
1253 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1276 return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1279 …, SLJIT_NEG, flags | (GET_FLAG_TYPE(op_flags) ? ALT_FORM1 : 0), dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1283 …LJIT_CLZ, flags | (!(op_flags & SLJIT_I32_OP) ? 0 : ALT_FORM1), dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1285 return emit_op(compiler, SLJIT_CLZ, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1294 #define TEST_SL_IMM(src, srcw) \ argument
1295 (((src) & SLJIT_IMM) && (srcw) <= SIMM_MAX && (srcw) >= SIMM_MIN)
1297 #define TEST_UL_IMM(src, srcw) \ argument
1298 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff))
1301 #define TEST_SH_IMM(src, srcw) \ argument
1302 (((src) & SLJIT_IMM) && !((srcw) & 0xffff) && (srcw) <= 0x7fffffffl && (srcw) >= -0x80000000l)
1304 #define TEST_SH_IMM(src, srcw) \ argument
1305 (((src) & SLJIT_IMM) && !((srcw) & 0xffff))
1308 #define TEST_UH_IMM(src, srcw) \ argument
1309 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff0000))
1312 #define TEST_ADD_IMM(src, srcw) \ argument
1313 (((src) & SLJIT_IMM) && (srcw) <= 0x7fff7fffl && (srcw) >= -0x80000000l)
1315 #define TEST_ADD_IMM(src, srcw) \ argument
1320 #define TEST_UI_IMM(src, srcw) \ argument
1321 (((src) & SLJIT_IMM) && !((srcw) & ~0xffffffff))
1323 #define TEST_UI_IMM(src, srcw) \ argument
1583 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src() argument
1586 CHECK(check_sljit_emit_op_src(compiler, op, src, srcw)); in sljit_emit_op_src()
1587 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op_src()
1594 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_REG2, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_op_src()
1605 return emit_prefetch(compiler, src, srcw); in sljit_emit_op_src()
1656 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64() argument
1660 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, TMP_FREG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_sw_from_f64()
1717 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw() argument
1725 srcw = (sljit_s32)srcw; in sljit_emit_fop1_conv_f64_from_sw()
1726 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in sljit_emit_fop1_conv_f64_from_sw()
1733 … FAIL_IF(emit_op_mem(compiler, INT_DATA | SIGNED_DATA | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_sw()
1742 FAIL_IF(emit_op_mem(compiler, DOUBLE_DATA | LOAD_DATA, TMP_FREG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_sw()
1758 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw ^ 0x80000000)); in sljit_emit_fop1_conv_f64_from_sw()
1763 …FAIL_IF(emit_op_mem(compiler, WORD_DATA | SIGNED_DATA | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_sw()
1812 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1() argument
1819 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
1827 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, dst_r, src, srcw, TMP_REG1)); in sljit_emit_fop1()
2060 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) in sljit_emit_ijump() argument
2066 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw)); in sljit_emit_ijump()
2067 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_ijump()
2085 jump->u.target = srcw; in sljit_emit_ijump()
2094 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_CALL_REG, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_ijump()
2106 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall() argument
2109 CHECK(check_sljit_emit_icall(compiler, type, arg_types, src, srcw)); in sljit_emit_icall()
2113 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_icall()
2114 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_CALL_REG, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_icall()
2126 return sljit_emit_ijump(compiler, type, src, srcw); in sljit_emit_icall()
2259 sljit_s32 src, sljit_sw srcw) in sljit_emit_cmov() argument
2262 CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw)); in sljit_emit_cmov()
2264 return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw);; in sljit_emit_cmov()