Another oops...

This commit is contained in:
Henrik Rydgard 2014-11-27 23:33:03 +01:00
parent bcdfb496a0
commit 8f4d322dc6

View File

@ -586,7 +586,7 @@ void Jit::Comp_VDot(MIPSOpcode op) {
switch (sz) {
case V_Pair:
if (cpu_info.bSSE4_1) {
if (dregs != sregs && dregs != tregs) {
if (fpr.VSX(dregs) != fpr.VSX(sregs) && fpr.VSX(dregs) != fpr.VSX(tregs)) {
MOVAPS(fpr.VSX(dregs), fpr.VS(sregs));
DPPS(fpr.VSX(dregs), fpr.VS(tregs), 0x31);
} else {
@ -605,7 +605,7 @@ void Jit::Comp_VDot(MIPSOpcode op) {
break;
case V_Triple:
if (cpu_info.bSSE4_1) {
if (dregs != sregs && dregs != tregs) {
if (fpr.VSX(dregs) != fpr.VSX(sregs) && fpr.VSX(dregs) != fpr.VSX(tregs)) {
MOVAPS(fpr.VSX(dregs), fpr.VS(sregs));
DPPS(fpr.VSX(dregs), fpr.VS(tregs), 0x71);
} else {
@ -626,7 +626,7 @@ void Jit::Comp_VDot(MIPSOpcode op) {
break;
case V_Quad:
if (cpu_info.bSSE4_1) {
if (dregs != sregs && dregs != tregs) {
if (fpr.VSX(dregs) != fpr.VSX(sregs) && fpr.VSX(dregs) != fpr.VSX(tregs)) {
MOVAPS(fpr.VSX(dregs), fpr.VS(sregs));
DPPS(fpr.VSX(dregs), fpr.VS(tregs), 0xF1);
} else {