vfp: VLDM is UNPREDICABLE when n is R15 in thumb mode
This commit is contained in:
parent
0ec4a23710
commit
c78b82dd2c
1 changed files with 2 additions and 2 deletions
|
@ -1407,7 +1407,7 @@ bool TranslatorVisitor::vfp_VLDM_a1(Cond cond, bool p, bool u, bool D, bool w, R
|
||||||
return arm_UDF();
|
return arm_UDF();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (n == Reg::PC && w) {
|
if (n == Reg::PC && (w || ir.current_location.TFlag())) {
|
||||||
return UnpredictableInstruction();
|
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();
|
return arm_UDF();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (n == Reg::PC && w) {
|
if (n == Reg::PC && (w || ir.current_location.TFlag())) {
|
||||||
return UnpredictableInstruction();
|
return UnpredictableInstruction();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue