diff options
author | LIU Zhiwei | 2021-05-21 07:48:16 +0200 |
---|---|---|
committer | Alistair Francis | 2021-06-08 01:59:43 +0200 |
commit | eee2d61e202b5bd49a5eb211e347e02c86287ef4 (patch) | |
tree | 70ba046ba1c0c24f4bbe313b25a31c8036f88363 /ui/input-linux.c | |
parent | target/riscv/pmp: Add assert for ePMP operations (diff) | |
download | qemu-eee2d61e202b5bd49a5eb211e347e02c86287ef4.tar.gz qemu-eee2d61e202b5bd49a5eb211e347e02c86287ef4.tar.xz qemu-eee2d61e202b5bd49a5eb211e347e02c86287ef4.zip |
target/riscv: Pass the same value to oprsz and maxsz.
Since commit e2e7168a214b0ed98dc357bba96816486a289762, if oprsz
is still zero(as we don't use this field), simd_desc will trigger an
assert.
Besides, tcg_gen_gvec_*_ptr calls simd_desc in it's implementation.
Here we pass the value to maxsz and oprsz to bypass the assert.
Signed-off-by: LIU Zhiwei <zhiwei_liu@c-sky.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20210521054816.1784297-1-zhiwei_liu@c-sky.com
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions