diff options
author | Xinlai Wan <xinlai.w@rioslab.org> | 2023-11-22 20:43:28 +0800 |
---|---|---|
committer | Xinlai Wan <xinlai.w@rioslab.org> | 2023-11-28 13:53:14 +0800 |
commit | 9692f84f08290d82d6305fb3934f0b0dcb70191c (patch) | |
tree | 7afd0c79284cccad6a1ffa31418362e7824089f8 /model/riscv_step_rvfi.sail | |
parent | 9f4cad61fe4713a46f9586e23c5f60dec79aece6 (diff) | |
download | sail-riscv-9692f84f08290d82d6305fb3934f0b0dcb70191c.zip sail-riscv-9692f84f08290d82d6305fb3934f0b0dcb70191c.tar.gz sail-riscv-9692f84f08290d82d6305fb3934f0b0dcb70191c.tar.bz2 |
Rewrite the implementation of vsetvli and vsetvl instructions to fix #337
The issue shows that the encoding and assembly definitions of vsetvl and vsetvli are incorrectly mixed together,
but they actually differ a lot and therefore cannot have a unified definition as the old implementation did,
so this section has been rewritten to split their definitions and executions.
And because these instructions have similar functional behavior after the decoding stage,
some common code is further extracted to be helper functions in this commit.
Diffstat (limited to 'model/riscv_step_rvfi.sail')
0 files changed, 0 insertions, 0 deletions