Lines Matching refs:srcdst
3621 sljit_s32 srcdst, sljit_sw srcdstw) argument
3629 CHECK(check_sljit_emit_simd_mov(compiler, type, freg, srcdst, srcdstw));
3631 ADJUST_LOCAL_OFFSET(srcdst, srcdstw);
3650 if (!(srcdst & SLJIT_MEM))
3673 return emit_vex_instruction(compiler, op, freg, 0, srcdst, srcdstw);
3675 return emit_groupf(compiler, op, freg, srcdst, srcdstw);
3931 sljit_s32 srcdst, sljit_sw srcdstw) argument
3947 CHECK(check_sljit_emit_simd_lane_mov(compiler, type, freg, lane_index, srcdst, srcdstw));
3949 ADJUST_LOCAL_OFFSET(srcdst, srcdstw);
3973 CHECK_EXTRA_REGS(srcdst, srcdstw, srcdst_is_ereg = 1);
3975 …lem_size == 0 && (type & SLJIT_SIMD_LANE_SIGNED) && FAST_IS_REG(srcdst) && reg_map[srcdst] >= 4)))…
3976 srcdst_orig = srcdst;
3978 srcdst = TMP_REG1;
3993 if (srcdst == SLJIT_IMM) {
4000 srcdst = TMP_REG1;
4007 …ruction(compiler, MOVD_x_rm | VEX_AUTO_W | EX86_PREF_66 | EX86_SSE2_OP1, freg, 0, srcdst, srcdstw);
4008 return emit_groupf(compiler, MOVD_x_rm | EX86_PREF_66 | EX86_SSE2_OP1, freg, srcdst, srcdstw);
4010 } else if (srcdst & SLJIT_MEM) {
4014 …MOVSD_x_xm | (elem_size == 2 ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2, freg, 0, srcdst, srcdstw);
4015 …r, MOVSD_x_xm | (elem_size == 2 ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2, freg, srcdst, srcdstw);
4018 … return emit_vex_instruction(compiler, MOVQ_x_xm | EX86_PREF_F3 | EX86_SSE2, freg, 0, srcdst, 0);
4019 return emit_groupf(compiler, MOVQ_x_xm | EX86_PREF_F3 | EX86_SSE2, freg, srcdst, 0);
4022 …ruction(compiler, MOVSD_x_xm | EX86_PREF_F3 | EX86_SSE2 | VEX_SSE2_OPV, freg, TMP_FREG, srcdst, 0);
4029 } else if ((type & SLJIT_SIMD_FLOAT) && freg == srcdst) {
4031 …2 ? EX86_PREF_F3 : EX86_PREF_F2) | EX86_SSE2 | VEX_SSE2_OPV, TMP_FREG, TMP_FREG, srcdst, srcdstw));
4033 FAIL_IF(emit_sse2_load(compiler, elem_size == 2, TMP_FREG, srcdst, srcdstw));
4034 srcdst = TMP_FREG;
4055 if (srcdst & SLJIT_MEM) {
4064 …JIT_SIMD_STORE) ? 0 : VEX_SSE2_OPV), freg, (type & SLJIT_SIMD_STORE) ? 0 : freg, srcdst, srcdstw));
4066 FAIL_IF(emit_groupf(compiler, op | EX86_PREF_66 | EX86_SSE2, freg, srcdst, srcdstw));
4072 …return emit_vex_instruction(compiler, MOVHLPS_x_x | EX86_SSE2 | VEX_SSE2_OPV, srcdst, srcdst, freg…
4073 return emit_groupf(compiler, MOVHLPS_x_x | EX86_SSE2, srcdst, freg, 0);
4076 …struction(compiler, MOVSD_x_xm | EX86_PREF_F2 | EX86_SSE2 | VEX_SSE2_OPV, srcdst, srcdst, freg, 0);
4077 return emit_sse2_load(compiler, 0, srcdst, freg, 0);
4080 …_IF(emit_vex_instruction(compiler, MOVLHPS_x_x | EX86_SSE2 | VEX_SSE2_OPV, freg, freg, srcdst, 0));
4082 …nstruction(compiler, MOVSD_x_xm | EX86_PREF_F2 | EX86_SSE2 | VEX_SSE2_OPV, freg, freg, srcdst, 0));
4085 FAIL_IF(emit_groupf(compiler, MOVLHPS_x_x | EX86_SSE2, freg, srcdst, 0));
4087 FAIL_IF(emit_sse2_load(compiler, 0, freg, srcdst, 0));
4092 …return emit_vex_instruction(compiler, ((srcdst & SLJIT_MEM) ? MOVSD_xm_x : MOVSD_x_xm) | EX86_PREF…
4093 …| ((srcdst & SLJIT_MEM) ? 0 : VEX_SSE2_OPV), freg, ((srcdst & SLJIT_MEM) ? 0 : freg), srcdst, srcd…
4094 return emit_sse2_store(compiler, 1, srcdst, srcdstw, freg);
4097 if (srcdst & SLJIT_MEM) {
4099 …tion(compiler, EXTRACTPS_x_xm | EX86_PREF_66 | VEX_OP_0F3A | EX86_SSE2, freg, 0, srcdst, srcdstw));
4101 …upf_ext(compiler, EXTRACTPS_x_xm | EX86_PREF_66 | VEX_OP_0F3A | EX86_SSE2, freg, srcdst, srcdstw));
4106 …FAIL_IF(emit_vex_instruction(compiler, SHUFPS_x_xm | EX86_SSE2 | VEX_SSE2_OPV, srcdst, freg, freg,…
4110 if (srcdst == freg)
4127 FAIL_IF(emit_groupf(compiler, op, srcdst, freg, 0));
4135 if (lane_index != 0 || (srcdst & SLJIT_MEM)) {
4136 …oupf_ext(compiler, INSERTPS_x_xm | EX86_PREF_66 | VEX_OP_0F3A | EX86_SSE2, freg, srcdst, srcdstw));
4139 FAIL_IF(emit_sse2_store(compiler, 1, freg, 0, srcdst));
4156 if (srcdst == SLJIT_IMM) {
4158 srcdst = TMP_REG1;
4189 …ompiler, op | EX86_PREF_66 | VEX_AUTO_W | EX86_SSE2_OP1 | VEX_SSE2_OPV, freg, 0, srcdst, srcdstw));
4191 …inst = emit_x86_instruction(compiler, op | EX86_PREF_66 | EX86_SSE2_OP1, freg, 0, srcdst, srcdstw);
4204 if (!(type & SLJIT_SIMD_LANE_SIGNED) || (srcdst & SLJIT_MEM)) {
4243 inst = emit_x86_instruction(compiler, op, srcdst, 0, srcdst, 0);
4256 (srcdst_orig != 0 && FAST_IS_REG(srcdst_orig)) ? srcdst_orig : srcdst, srcdst, 0));