Unverified Commit 26eb6a2c authored by Chih-Min Chao's avatar Chih-Min Chao Committed by GitHub
Browse files

rvv: vstart register needs only lg2(VLEN) bits (#501)



As section 3.6 says:
  The vstart CSR is defined to have only enough writable bits to hold
  the largest element index (one less than the maximum VLMAX) or lg2(VLEN) bits.

Signed-off-by: default avatarChih-Min Chao <chihmin.chao@sifive.com>
parent 68eb5439
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment