mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-02 09:32:58 +00:00
vfp: VLDM is UNPREDICABLE when n is R15 in thumb mode
This commit is contained in:
@@ -1407,7 +1407,7 @@ bool TranslatorVisitor::vfp_VLDM_a1(Cond cond, bool p, bool u, bool D, bool w, R
|
||||
return arm_UDF();
|
||||
}
|
||||
|
||||
if (n == Reg::PC && w) {
|
||||
if (n == Reg::PC && (w || ir.current_location.TFlag())) {
|
||||
return UnpredictableInstruction();
|
||||
}
|
||||
|
||||
@@ -1457,7 +1457,7 @@ bool TranslatorVisitor::vfp_VLDM_a2(Cond cond, bool p, bool u, bool D, bool w, R
|
||||
return arm_UDF();
|
||||
}
|
||||
|
||||
if (n == Reg::PC && w) {
|
||||
if (n == Reg::PC && (w || ir.current_location.TFlag())) {
|
||||
return UnpredictableInstruction();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user