Skip to content

Commit

Permalink
vita3K: ignore vzip unpredictable as result is already fine
Browse files Browse the repository at this point in the history
  • Loading branch information
EXtremeExploit authored and Macdu committed Mar 6, 2024
1 parent ce8dcda commit d8b33e4
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d8b33e4

Please sign in to comment.