diff options
author | YenHaoChen <howard25336284@gmail.com> | 2023-01-07 15:33:53 +0800 |
---|---|---|
committer | YenHaoChen <howard25336284@gmail.com> | 2023-01-13 12:07:45 +0800 |
commit | 888ef08c02913abb9b9749d928d5de0da84d0ee9 (patch) | |
tree | a1f2d31e1786e6c8ed54a9abedb7078bb8746c36 /riscv/triggers.h | |
parent | d61f4a7164ef10bf03f87a65684d801cc47b3d7a (diff) | |
download | riscv-isa-sim-888ef08c02913abb9b9749d928d5de0da84d0ee9.zip riscv-isa-sim-888ef08c02913abb9b9749d928d5de0da84d0ee9.tar.gz riscv-isa-sim-888ef08c02913abb9b9749d928d5de0da84d0ee9.tar.bz2 |
triggers: refactor: remove legalization_action()'s dependency on dmode
avoid breaking functionality by reordering statements in tdata1.write()
Diffstat (limited to 'riscv/triggers.h')
-rw-r--r-- | riscv/triggers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/triggers.h b/riscv/triggers.h index 3fc2275..074c7b6 100644 --- a/riscv/triggers.h +++ b/riscv/triggers.h @@ -85,7 +85,7 @@ public: virtual std::optional<match_result_t> detect_trap_match(processor_t UNUSED * const proc, const trap_t UNUSED & t) noexcept { return std::nullopt; } protected: - action_t legalize_action(reg_t val) const noexcept; + action_t legalize_action(reg_t val, reg_t action_mask, reg_t dmode_mask) const noexcept; bool common_match(processor_t * const proc) const noexcept; reg_t tdata2; |