Skip to content
Snippets Groups Projects
Commit 1ac7a501 authored by Nazar Kazakov's avatar Nazar Kazakov Committed by Alistair Francis
Browse files

target/riscv: Move vector translation checks


Move the checks out of `do_opiv{v,x,i}_gvec{,_shift}` functions
and into the corresponding macros. This enables the functions to be
reused in proceeding commits without check duplication.

Signed-off-by: default avatarNazar Kazakov <nazar.kazakov@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-6-max.chou@sifive.com>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent e13c7d3b
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