mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-07 07:29:59 +01:00
vfp: VLDM is UNPREDICABLE when n is R15 in thumb mode
This commit is contained in:
parent
0ec4a23710
commit
c78b82dd2c
@ -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();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user