From d8b33e4311fbb41aac376cc8b644c47df03c1549 Mon Sep 17 00:00:00 2001 From: EXtremeExploit Date: Wed, 16 Nov 2022 13:23:30 -0300 Subject: [PATCH] vita3K: ignore vzip unpredictable as result is already fine --- .../frontend/A32/translate/impl/asimd_two_regs_misc.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/dynarmic/frontend/A32/translate/impl/asimd_two_regs_misc.cpp b/src/dynarmic/frontend/A32/translate/impl/asimd_two_regs_misc.cpp index 62b9af55a..17c90d8a9 100644 --- a/src/dynarmic/frontend/A32/translate/impl/asimd_two_regs_misc.cpp +++ b/src/dynarmic/frontend/A32/translate/impl/asimd_two_regs_misc.cpp @@ -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);