Home | History | Annotate | Download | only in sljit

Lines Matching refs:dst_r

1301 	sljit_si dst_r, flags;
1312 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
1376 FAIL_IF(emit_op_imm(compiler, SLJIT_MOV | ARG2_IMM, dst_r, TMP_REG1, srcw));
1378 if (getput_arg_fast(compiler, flags, dst_r, src, srcw))
1381 FAIL_IF(getput_arg(compiler, flags, dst_r, src, srcw, dst, dstw));
1383 if (dst_r != TMP_REG1)
1384 return emit_op_imm(compiler, op, dst_r, TMP_REG1, src);
1385 dst_r = src;
1389 if (getput_arg_fast(compiler, flags | STORE, dst_r, dst, dstw))
1392 return getput_arg(compiler, flags | STORE, dst_r, dst, dstw, 0, 0);
1418 emit_op_imm(compiler, flags | op, dst_r, TMP_REG1, srcw);
1421 if (getput_arg_fast(compiler, flags | STORE, dst_r, dst, dstw))
1424 return getput_arg(compiler, flags | STORE, dst_r, dst, dstw, 0, 0);
1434 sljit_si dst_r, flags;
1445 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
1496 emit_op_imm(compiler, flags | GET_OPCODE(op), dst_r, src1w, src2w);
1500 getput_arg_fast(compiler, WORD_SIZE | STORE, dst_r, dst, dstw);
1637 sljit_si dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
1650 FAIL_IF(push_inst32(compiler, VCVT_F32_S32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DM4(TMP_FREG1)));
1679 sljit_si dst_r;
1690 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
1693 emit_fop_mem(compiler, (op & SLJIT_SINGLE_OP) | FPU_LOAD, dst_r, src, srcw);
1694 src = dst_r;
1699 if (src != dst_r) {
1700 if (dst_r != TMP_FREG1)
1701 FAIL_IF(push_inst32(compiler, VMOV_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DM4(src)));
1703 dst_r = src;
1707 FAIL_IF(push_inst32(compiler, VNEG_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DM4(src)));
1710 FAIL_IF(push_inst32(compiler, VABS_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DM4(src)));
1713 FAIL_IF(push_inst32(compiler, VCVT_F64_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DM4(src)));
1719 return emit_fop_mem(compiler, (op & SLJIT_SINGLE_OP), dst_r, dst, dstw);
1728 sljit_si dst_r;
1740 dst_r = FAST_IS_REG(dst) ? dst : TMP_FREG1;
1752 FAIL_IF(push_inst32(compiler, VADD_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DN4(src1) | DM4(src2)));
1755 FAIL_IF(push_inst32(compiler, VSUB_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DN4(src1) | DM4(src2)));
1758 FAIL_IF(push_inst32(compiler, VMUL_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DN4(src1) | DM4(src2)));
1761 FAIL_IF(push_inst32(compiler, VDIV_F32 | (op & SLJIT_SINGLE_OP) | DD4(dst_r) | DN4(src1) | DM4(src2)));
1962 sljit_si dst_r, flags = GET_ALL_FLAGS(op);
1975 dst_r = FAST_IS_REG(dst) ? dst : TMP_REG2;
1979 if (reg_map[dst_r] > 7) {
1980 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(dst_r) | 1));
1981 FAIL_IF(push_inst32(compiler, MOV_WI | RD4(dst_r) | 0));
1983 FAIL_IF(push_inst16(compiler, MOVSI | RDN3(dst_r) | 1));
1984 FAIL_IF(push_inst16(compiler, MOVSI | RDN3(dst_r) | 0));
1986 if (dst_r != TMP_REG2)
2017 if (op == SLJIT_AND || src != dst_r) {
2019 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst_r) | 1));
2020 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst_r) | 0));
2024 FAIL_IF(push_inst32(compiler, ins | RN4(src) | RD4(dst_r) | 1));
2027 if (dst_r == TMP_REG2)
2032 if (reg_map[dst_r] <= 7)
2033 return push_inst16(compiler, MOVS | RD3(TMP_REG1) | RN3(dst_r));
2034 return push_inst32(compiler, MOV_W | SET_FLAGS | RD4(TMP_REG1) | RM4(dst_r));
2042 sljit_si dst_r;
2052 dst_r = SLOW_IS_REG(dst) ? dst : TMP_REG1;
2053 PTR_FAIL_IF(emit_imm32_const(compiler, dst_r, init_value));
2056 PTR_FAIL_IF(emit_op_mem(compiler, WORD_SIZE | STORE, dst_r, dst, dstw));