Lines Matching refs:src_r
1035 static sljit_s32 store_word(struct sljit_compiler *compiler, sljit_gpr src_r, in store_word() argument
1046 …return push_inst(compiler, 0x50000000 /* st */ | R20A(src_r) | R16A(addr.index) | R12A(addr.base) … in store_word()
1052 …return push_inst(compiler, ins | R36A(src_r) | R32A(addr.index) | R28A(addr.base) | disp_s20(addr.… in store_word()
1069 sljit_gpr src_r = gpr(src & REG_MASK); in emit_move() local
1070 return push_inst(compiler, (compiler->mode & SLJIT_32) ? lr(dst_r, src_r) : lgr(dst_r, src_r)); in emit_move()
1079 sljit_gpr src_r = tmp1; in emit_rr() local
1097 src_r = gpr(src2); in emit_rr()
1101 FAIL_IF(push_inst(compiler, ins | R4A(dst_r) | R0A(src_r))); in emit_rr()
1115 sljit_gpr src_r = tmp1; in emit_rr1() local
1118 src_r = gpr(src1); in emit_rr1()
1122 return push_inst(compiler, ins | R4A(dst_r) | R0A(src_r)); in emit_rr1()
1182 sljit_gpr src_r = tmp0; in emit_rie_d() local
1187 src_r = gpr(src1 & REG_MASK); in emit_rie_d()
1189 return push_inst(compiler, ins | R36A(dst_r) | R32A(src_r) | (sljit_ins)(src2w & 0xffff) << 16); in emit_rie_d()
1973 …sljit_emit_clz_ctz(struct sljit_compiler *compiler, sljit_s32 op, sljit_gpr dst_r, sljit_gpr src_r) in sljit_emit_clz_ctz() argument
1977 if ((op & SLJIT_32) && src_r != tmp0) { in sljit_emit_clz_ctz()
1978 FAIL_IF(push_inst(compiler, 0xb9160000 /* llgfr */ | R4A(tmp0) | R0A(src_r))); in sljit_emit_clz_ctz()
1979 src_r = tmp0; in sljit_emit_clz_ctz()
1983 …(compiler, ((op & SLJIT_32) ? 0x1300 /* lcr */ : 0xb9030000 /* lcgr */) | R4A(tmp1) | R0A(src_r))); in sljit_emit_clz_ctz()
1985 if (src_r == tmp0) in sljit_emit_clz_ctz()
1988 FAIL_IF(push_inst(compiler, 0xb9e40000 /* ngrk */ | R12A(tmp1) | R4A(tmp0) | R0A(src_r))); in sljit_emit_clz_ctz()
1990 src_r = tmp0; in sljit_emit_clz_ctz()
1993 FAIL_IF(push_inst(compiler, 0xb9830000 /* flogr */ | R4A(tmp0) | R0A(src_r))); in sljit_emit_clz_ctz()
2024 sljit_gpr src_r; in sljit_emit_op1() local
2036 src_r = gpr(src); in sljit_emit_op1()
2040 ins = llcr(dst_r, src_r); in sljit_emit_op1()
2043 ins = lbr(dst_r, src_r); in sljit_emit_op1()
2046 ins = llhr(dst_r, src_r); in sljit_emit_op1()
2049 ins = lhr(dst_r, src_r); in sljit_emit_op1()
2052 if (dst_r == src_r) in sljit_emit_op1()
2054 ins = lr(dst_r, src_r); in sljit_emit_op1()
2058 ins = llgcr(dst_r, src_r); in sljit_emit_op1()
2061 ins = lgbr(dst_r, src_r); in sljit_emit_op1()
2064 ins = llghr(dst_r, src_r); in sljit_emit_op1()
2067 ins = lghr(dst_r, src_r); in sljit_emit_op1()
2070 ins = llgfr(dst_r, src_r); in sljit_emit_op1()
2073 ins = lgfr(dst_r, src_r); in sljit_emit_op1()
2077 if (dst_r == src_r) in sljit_emit_op1()
2079 ins = lgr(dst_r, src_r); in sljit_emit_op1()
2246 src_r = FAST_IS_REG(src) ? gpr(REG_MASK & src) : tmp0; in sljit_emit_op1()
2254 FAIL_IF(load_word(compiler, src_r, src, srcw, op & SLJIT_32)); in sljit_emit_op1()
2259 if (src_r != dst_r) in sljit_emit_op1()
2260 FAIL_IF(push_inst(compiler, lgr(dst_r, src_r))); in sljit_emit_op1()
2270 if (src_r != dst_r) in sljit_emit_op1()
2271 FAIL_IF(push_inst(compiler, lr(dst_r, src_r))); in sljit_emit_op1()
2279 FAIL_IF(load_unsigned_word(compiler, src_r, src, srcw, op & SLJIT_32)); in sljit_emit_op1()
2281 FAIL_IF(sljit_emit_clz_ctz(compiler, op, dst_r, src_r)); in sljit_emit_op1()
2700 sljit_gpr src_r = tmp0; in sljit_emit_bitwise() local
2703 src_r = gpr(src1 & REG_MASK); in sljit_emit_bitwise()
2708 return push_inst(compiler, 0xa7010000 | R20A(src_r) | imm); in sljit_emit_bitwise()
2710 return push_inst(compiler, 0xa7000000 | R20A(src_r) | (imm >> 16)); in sljit_emit_bitwise()
2712 return push_inst(compiler, 0xa7030000 | R20A(src_r) | (imm >> 32)); in sljit_emit_bitwise()
2713 return push_inst(compiler, 0xa7020000 | R20A(src_r) | (imm >> 48)); in sljit_emit_bitwise()
2737 sljit_gpr src_r = tmp0; in sljit_emit_shift() local
2743 src_r = gpr(src1); in sljit_emit_shift()
2765 if ((op & SLJIT_32) && dst_r == src_r) { in sljit_emit_shift()
2782 FAIL_IF(push_inst(compiler, ins | R36A(dst_r) | R32A(src_r) | R28A(base_r) | (imm << 16))); in sljit_emit_shift()
2797 sljit_gpr src_r = tmp0; in sljit_emit_rotate() local
2803 src_r = gpr(src1); in sljit_emit_rotate()
2829 return push_inst(compiler, ins | R36A(dst_r) | R32A(src_r) | R28A(base_r) | (imm << 16)); in sljit_emit_rotate()
3051 sljit_gpr src_r; in sljit_emit_op_src() local
3060 src_r = FAST_IS_REG(src) ? gpr(src) : tmp1; in sljit_emit_op_src()
3064 return push_inst(compiler, br(src_r)); in sljit_emit_op_src()
3286 #define FLOAT_MOV(op, dst_r, src_r) \ argument
3287 (((op & SLJIT_32) ? 0x3800 /* ler */ : 0x2800 /* ldr */) | F4(dst_r) | F0(src_r))
3437 sljit_gpr src_r = FAST_IS_REG(src) ? gpr(src) : tmp1; in sljit_emit_ijump() local
3444 FAIL_IF(push_load_imm_inst(compiler, src_r, srcw)); in sljit_emit_ijump()
3448 FAIL_IF(load_word(compiler, src_r, src, srcw, 0 /* 64-bit */)); in sljit_emit_ijump()
3453 return push_inst(compiler, basr(link_r, src_r)); in sljit_emit_ijump()
3455 return push_inst(compiler, br(src_r)); in sljit_emit_ijump()
3564 sljit_gpr src_r; in sljit_emit_cmov() local
3580 src_r = tmp0; in sljit_emit_cmov()
3582 src_r = gpr(src); in sljit_emit_cmov()
3586 return push_inst(compiler, ins | (mask << 12) | R4A(gpr(dst_reg)) | R0A(src_r)); in sljit_emit_cmov()