Skip to content

Commit e0677a8

Browse files
joevtdingusdev
authored andcommitted
ppcexec: Add TBL_U and TBU_U for reg_op.
1 parent 356e74f commit e0677a8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cpu/ppc/ppcexec.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -901,6 +901,8 @@ static map<string, int> SPRName2Num = {
901901
{"MMCR0", SPR::MMCR0}, {"PMC1", SPR::PMC1}, {"PMC2", SPR::PMC2},
902902
{"SDA", SPR::SDA}, {"SIA", SPR::SIA}, {"MMCR1", SPR::MMCR1},
903903
{"PMC3", SPR::PMC3}, {"PMC4", SPR::PMC4},
904+
// get value from supervisor index same as we do for SPR268 and SPR269
905+
{"TBL_U", SPR::TBL_S}, {"TBU_U", SPR::TBU_S},
904906
};
905907

906908
static uint64_t reg_op(string& reg_name, uint64_t val, bool is_write) {

0 commit comments

Comments
 (0)