Lines Matching refs:src

30 #define ASM_SLJIT_CLZ(src, dst) \  argument
31 __asm__ volatile ( "cntlzd %0, %1" : "=r"(dst) : "r"(src) )
124 #define CLRLDI(dst, src, n) \ argument
125 (RLDICL | S(src) | A(dst) | RLDI_SH(0) | RLDI_MB(n))
507 …atic sljit_s32 call_with_args(struct sljit_compiler *compiler, sljit_s32 arg_types, sljit_s32 *src) in call_with_args() argument
514 if (src) in call_with_args()
515 reg = *src & REG_MASK; in call_with_args()
533 *src = TMP_CALL_REG; in call_with_args()
573 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_sw() argument
577 if (src == SLJIT_IMM) { in sljit_emit_fop1_conv_f64_from_sw()
582 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_sw()
584 if (FAST_IS_REG(src)) in sljit_emit_fop1_conv_f64_from_sw()
585 FAIL_IF(push_inst(compiler, EXTSW | S(src) | A(TMP_REG1))); in sljit_emit_fop1_conv_f64_from_sw()
587 … 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()
588 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_sw()
591 if (FAST_IS_REG(src)) { in sljit_emit_fop1_conv_f64_from_sw()
592 FAIL_IF(push_inst(compiler, STD | S(src) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fop1_conv_f64_from_sw()
595 FAIL_IF(emit_op_mem(compiler, DOUBLE_DATA | LOAD_DATA, TMP_FREG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_sw()
609 sljit_s32 src, sljit_sw srcw) in sljit_emit_fop1_conv_f64_from_uw() argument
614 if (src == SLJIT_IMM) { in sljit_emit_fop1_conv_f64_from_uw()
616 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_uw()
618 if (FAST_IS_REG(src)) in sljit_emit_fop1_conv_f64_from_uw()
619 FAIL_IF(push_inst(compiler, CLRLDI(TMP_REG1, src, 32))); in sljit_emit_fop1_conv_f64_from_uw()
621 FAIL_IF(emit_op_mem(compiler, INT_DATA | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_uw()
622 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_uw()
625 FAIL_IF(push_inst(compiler, STD | S(src) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fop1_conv_f64_from_uw()
629 if (src == SLJIT_IMM) { in sljit_emit_fop1_conv_f64_from_uw()
631 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_uw()
632 } else if (src & SLJIT_MEM) { in sljit_emit_fop1_conv_f64_from_uw()
633 FAIL_IF(emit_op_mem(compiler, WORD_DATA | LOAD_DATA, TMP_REG1, src, srcw, TMP_REG1)); in sljit_emit_fop1_conv_f64_from_uw()
634 src = TMP_REG1; in sljit_emit_fop1_conv_f64_from_uw()
637 FAIL_IF(push_inst(compiler, CMPI | CRD(0 | 1) | A(src) | 0)); in sljit_emit_fop1_conv_f64_from_uw()
639 FAIL_IF(push_inst(compiler, STD | S(src) | A(SLJIT_SP) | TMP_MEM_OFFSET)); in sljit_emit_fop1_conv_f64_from_uw()
645 FAIL_IF(push_inst(compiler, RLWINM | S(src) | A(TMP_REG2) | RLWI_SH(10) | RLWI_MBE(10, 21))); in sljit_emit_fop1_conv_f64_from_uw()
647 FAIL_IF(push_inst(compiler, ANDI | S(src) | A(TMP_REG2) | 0x1)); in sljit_emit_fop1_conv_f64_from_uw()
650 FAIL_IF(push_inst(compiler, RLDICL | S(src) | A(TMP_REG1) | RLDI_SH(63) | RLDI_MB(1))); in sljit_emit_fop1_conv_f64_from_uw()