Skip to content
Snippets Groups Projects
Commit 8ff8ac63 authored by Yueh-Ting (eop) Chen's avatar Yueh-Ting (eop) Chen Committed by Alistair Francis
Browse files

target/riscv: rvv: Add missing early exit condition for whole register load/store


According to v-spec (section 7.9):
The instructions operate with an effective vector length, evl=NFIELDS*VLEN/EEW,
regardless of current settings in vtype and vl. The usual property that no
elements are written if vstart ≥ vl does not apply to these instructions.
Instead, no elements are written if vstart ≥ evl.

Signed-off-by: default avatareop Chen <eop.chen@sifive.com>
Reviewed-by: default avatarFrank Chang <frank.chang@sifive.com>
Reviewed-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Message-Id: <164762720573.18409.3931931227997483525-0@git.sr.ht>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 5242ef88
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment