Lines Matching refs:srcw
778 …_s32 sljit_emit_return(struct sljit_compiler *compiler, sljit_s32 op, sljit_s32 src, sljit_sw srcw) in sljit_emit_return() argument
783 CHECK(check_sljit_emit_return(compiler, op, src, srcw)); in sljit_emit_return()
785 FAIL_IF(emit_mov_before_return(compiler, op, src, srcw)); in sljit_emit_return()
1173 sljit_s32 src, sljit_sw srcw) in emit_prefetch() argument
1176 if (srcw == 0 && (src & REG_MASK) != SLJIT_UNUSED) in emit_prefetch()
1179 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in emit_prefetch()
1184 srcw &= 0x3; in emit_prefetch()
1186 if (srcw == 0) in emit_prefetch()
1190 …FAIL_IF(push_inst(compiler, RLWINM | S(OFFS_REG(src)) | A(TMP_REG1) | (srcw << 11) | ((31 - srcw) … in emit_prefetch()
1192 FAIL_IF(push_inst(compiler, RLDI(TMP_REG1, OFFS_REG(src), srcw, 63 - srcw, 1))); in emit_prefetch()
1198 …type, flags | (type_flags), dst, dstw, TMP_REG1, 0, src, (src & SLJIT_IMM) ? type_cast srcw : srcw)
1202 sljit_s32 src, sljit_sw srcw) in sljit_emit_op1() argument
1208 CHECK(check_sljit_emit_op1(compiler, op, dst, dstw, src, srcw)); in sljit_emit_op1()
1210 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op1()
1213 if ((src & SLJIT_IMM) && srcw == 0) in sljit_emit_op1()
1252 return emit_op(compiler, SLJIT_MOV, flags | WORD_DATA, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1275 return emit_op(compiler, SLJIT_NOT, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1278 …, SLJIT_NEG, flags | (GET_FLAG_TYPE(op_flags) ? ALT_FORM1 : 0), dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1282 …LJIT_CLZ, flags | (!(op_flags & SLJIT_I32_OP) ? 0 : ALT_FORM1), dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1284 return emit_op(compiler, SLJIT_CLZ, flags, dst, dstw, TMP_REG1, 0, src, srcw); in sljit_emit_op1()
1293 #define TEST_SL_IMM(src, srcw) \ argument
1294 (((src) & SLJIT_IMM) && (srcw) <= SIMM_MAX && (srcw) >= SIMM_MIN)
1296 #define TEST_UL_IMM(src, srcw) \ argument
1297 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff))
1300 #define TEST_SH_IMM(src, srcw) \ argument
1301 (((src) & SLJIT_IMM) && !((srcw) & 0xffff) && (srcw) <= 0x7fffffffl && (srcw) >= -0x80000000l)
1303 #define TEST_SH_IMM(src, srcw) \ argument
1304 (((src) & SLJIT_IMM) && !((srcw) & 0xffff))
1307 #define TEST_UH_IMM(src, srcw) \ argument
1308 (((src) & SLJIT_IMM) && !((srcw) & ~0xffff0000))
1311 #define TEST_ADD_IMM(src, srcw) \ argument
1312 (((src) & SLJIT_IMM) && (srcw) <= 0x7fff7fffl && (srcw) >= -0x80000000l)
1314 #define TEST_ADD_IMM(src, srcw) \ argument
1319 #define TEST_UI_IMM(src, srcw) \ argument
1320 (((src) & SLJIT_IMM) && !((srcw) & ~0xffffffff))
1322 #define TEST_UI_IMM(src, srcw) \ argument
1539 sljit_s32 src, sljit_sw srcw) in sljit_emit_op_src() argument
1542 CHECK(check_sljit_emit_op_src(compiler, op, src, srcw)); in sljit_emit_op_src()
1543 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_op_src()
1550 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_REG2, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_op_src()
1561 return emit_prefetch(compiler, src, srcw); in sljit_emit_op_src()
1612 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_sw_from_f64() argument
1616 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()
1673 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw() argument
1681 srcw = (sljit_s32)srcw; in sljit_emit_fop1_conv_f64_from_sw()
1682 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw)); in sljit_emit_fop1_conv_f64_from_sw()
1689 … 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()
1698 FAIL_IF(emit_op_mem(compiler, DOUBLE_DATA | LOAD_DATA, TMP_FREG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_sw()
1714 FAIL_IF(load_immediate(compiler, TMP_REG1, srcw ^ 0x80000000)); in sljit_emit_fop1_conv_f64_from_sw()
1719 …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()
1768 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1() argument
1775 SELECT_FOP1_OPERATION_WITH_CHECKS(compiler, op, dst, dstw, src, srcw); in sljit_emit_fop1()
1783 FAIL_IF(emit_op_mem(compiler, FLOAT_DATA(op) | LOAD_DATA, dst_r, src, srcw, TMP_REG1)); in sljit_emit_fop1()
2018 …s32 sljit_emit_ijump(struct sljit_compiler *compiler, sljit_s32 type, sljit_s32 src, sljit_sw srcw) in sljit_emit_ijump() argument
2024 CHECK(check_sljit_emit_ijump(compiler, type, src, srcw)); in sljit_emit_ijump()
2025 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_ijump()
2043 jump->u.target = srcw; in sljit_emit_ijump()
2052 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_CALL_REG, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_ijump()
2064 sljit_s32 src, sljit_sw srcw) in sljit_emit_icall() argument
2067 CHECK(check_sljit_emit_icall(compiler, type, arg_types, src, srcw)); in sljit_emit_icall()
2071 ADJUST_LOCAL_OFFSET(src, srcw); in sljit_emit_icall()
2072 FAIL_IF(emit_op(compiler, SLJIT_MOV, WORD_DATA, TMP_CALL_REG, 0, TMP_REG1, 0, src, srcw)); in sljit_emit_icall()
2084 return sljit_emit_ijump(compiler, type, src, srcw); in sljit_emit_icall()
2219 sljit_s32 src, sljit_sw srcw) in sljit_emit_cmov() argument
2222 CHECK(check_sljit_emit_cmov(compiler, type, dst_reg, src, srcw)); in sljit_emit_cmov()
2224 return sljit_emit_cmov_generic(compiler, type, dst_reg, src, srcw);; in sljit_emit_cmov()