diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2022-10-22 19:58:21 +1000 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-01-06 10:42:55 +1000 |
commit | 627227636127c44df0e01ab8fd9fae3f731fa8b0 (patch) | |
tree | e92bf53c3dedec498a677cb9c841e972ebac610f /disas.c | |
parent | 824cac681c3e2a6ac2d661c86befd7c36359c924 (diff) | |
download | qemu-627227636127c44df0e01ab8fd9fae3f731fa8b0.zip qemu-627227636127c44df0e01ab8fd9fae3f731fa8b0.tar.gz qemu-627227636127c44df0e01ab8fd9fae3f731fa8b0.tar.bz2 |
tcg/riscv: Fix range matched by TCG_CT_CONST_M12
We were matching a signed 13-bit range, not a 12-bit range.
Expand the commentary within the function and be explicit
about all of the ranges.
Reported-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: LIU Zhiwei <zhiwei_liu@linux.alibaba.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20221022095821.2441874-1-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'disas.c')
0 files changed, 0 insertions, 0 deletions