aboutsummaryrefslogtreecommitdiff
path: root/model/prelude.sail
diff options
context:
space:
mode:
authorXinlai Wan <xinlai.w@rioslab.org>2023-11-22 20:43:28 +0800
committerXinlai Wan <xinlai.w@rioslab.org>2023-11-28 13:53:14 +0800
commit9692f84f08290d82d6305fb3934f0b0dcb70191c (patch)
tree7afd0c79284cccad6a1ffa31418362e7824089f8 /model/prelude.sail
parent9f4cad61fe4713a46f9586e23c5f60dec79aece6 (diff)
downloadsail-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/prelude.sail')
0 files changed, 0 insertions, 0 deletions