diff options
author | Nazar Kazakov <nazar.kazakov@codethink.co.uk> | 2023-07-12 00:59:04 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-09-11 11:45:55 +1000 |
commit | 1ac7a501f0630cf4293a892d884791278fdbb88b (patch) | |
tree | c64b6831608ad5de860a69098ec4f73b5f030c1a /os-posix.c | |
parent | e13c7d3b5bfd632b3a39217843b28e185c366fc2 (diff) | |
download | qemu-1ac7a501f0630cf4293a892d884791278fdbb88b.zip qemu-1ac7a501f0630cf4293a892d884791278fdbb88b.tar.gz qemu-1ac7a501f0630cf4293a892d884791278fdbb88b.tar.bz2 |
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: Nazar Kazakov <nazar.kazakov@codethink.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Max Chou <max.chou@sifive.com>
Message-ID: <20230711165917.2629866-6-max.chou@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'os-posix.c')
0 files changed, 0 insertions, 0 deletions