target/riscv: Add vill check for whole vector register move instructions
authorMax Chou <max.chou@sifive.com>
Wed, 29 Nov 2023 17:03:57 +0000 (01:03 +0800)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 10 Jan 2024 08:47:46 +0000 (18:47 +1000)
commit4eff52cd463e5d130a73bd16d81787c36acc0ec7
treeffb7a4bb2706426897b9d3ffd9c4b2ecd79ca070
parent9468484fe904ab4691de6d9c34616667f377ceac
target/riscv: Add vill check for whole vector register move instructions

The ratified version of RISC-V V spec section 16.6 says that
`The instructions operate as if EEW=SEW`.

So the whole vector register move instructions depend on the vtype
register that means the whole vector register move instructions should
raise an illegal-instruction exception when vtype.vill=1.

Signed-off-by: Max Chou <max.chou@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-ID: <20231129170400.21251-2-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/insn_trans/trans_rvv.c.inc