load_store_register_unprivileged: bug: LDTRSW

This commit is contained in:
MerryMage 2018-01-26 02:03:16 +00:00
parent 75756137c6
commit ba3d6da0c8

View file

@ -132,7 +132,7 @@ bool TranslatorVisitor::LDTRSH(Imm<2> opc, Imm<9> imm9, Reg Rn, Reg Rt) {
}
bool TranslatorVisitor::LDTRSW(Imm<9> imm9, Reg Rn, Reg Rt) {
const u64 offset = imm9.ZeroExtend<u64>();
const u64 offset = imm9.SignExtend<u64>();
AccType acctype = AccType::UNPRIV;
IR::U64 address;