vita3K: ignore vzip unpredictable as result is already fine

This commit is contained in:
EXtremeExploit 2022-11-16 13:23:30 -03:00 committed by Macdu
parent ce8dcdab1e
commit d8b33e4311

View File

@ -552,9 +552,10 @@ bool TranslatorVisitor::asimd_VZIP(bool D, size_t sz, size_t Vd, bool Q, bool M,
const auto d = ToVector(Q, Vd, D);
const auto m = ToVector(Q, Vm, M);
if (d == m) {
return UnpredictableInstruction();
}
// Vita3K: ignore unpredictables, result is fine as it is even if its techincally ub
// if (d == m) {
// return UnpredictableInstruction();
// }
const auto reg_d = ir.GetVector(d);
const auto reg_m = ir.GetVector(m);