Skip to content
Snippets Groups Projects
Commit cc13aa36 authored by Frank Chang's avatar Frank Chang Committed by Alistair Francis
Browse files

target/riscv: rvv-1.0: Add ELEN checks for widening and narrowing instructions


SEW has the limitation which cannot exceed ELEN.

Widening instructions have a destination group with EEW = 2*SEW
and narrowing instructions have a source operand with EEW = 2*SEW.
Both of the instructions have the limitation of: 2*SEW <= ELEN.

Signed-off-by: default avatarFrank Chang <frank.chang@sifive.com>
Acked-by: default avatarAlistair Francis <alistair.francis@wdc.com>
Message-Id: <20211210075704.23951-78-frank.chang@sifive.com>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 45ca2ca6
No related branches found
No related tags found
Loading
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