Skip to content
Snippets Groups Projects
Commit 62cb3e8e authored by Dickon Hood's avatar Dickon Hood Committed by Alistair Francis
Browse files

target/riscv: Refactor translation of vector-widening instruction


Zvbb (implemented in later commit) has a widening instruction, which
requires an extra check on the enabled extensions.  Refactor
GEN_OPIVX_WIDEN_TRANS() to take a check function to avoid reimplementing
it.

Signed-off-by: default avatarDickon Hood <dickon.hood@codethink.co.uk>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Reviewed-by: default avatarWeiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: default avatarMax Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-7-max.chou@sifive.com>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 1ac7a501
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