Commit 4cdecf21 authored by Albert Ou's avatar Albert Ou Committed by Chih-Min Chao
Browse files

rvv: fix the rounding bit position for vnclip instructions.



1. The rounding increment should be derived from the shift amount, not SEW.
2. Use 128bit to store temporary result to handle shift = 63 case in rv64

Signed-off-by: default avatarAlbert Ou <aou@eecs.berkeley.edu>
Signed-off-by: default avatarChih-Min Chao <chihmin.chao@sifive.com>
parent 590abe09
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