Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
insts_base: ignore architecture in SFENCE_VMA
architecture doesn't change the behavior, so there is no reason to complicate the code with it. The code is still suboptimal because of rhs duplication, so this should be rewritten if (when) Sail supports multiple matches like: User or (Supervisor if mstatus[TVM] == 0b1) => ... Machine or (Supervisor if mstatus[TVM] == 0b0) => ... (Separately mapping those four cases into two and matching on the two is also an option, but I'm not sure it would be clearer.) Signed-off-by: Radim Krčmář <rkrcmar@ventanamicro.com>
- Loading branch information