diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-10-19 20:17:01 -0700 |
|---|---|---|
| committer | Alistair Francis <alistair@alistair23.me> | 2021-10-22 07:47:51 +1000 |
| commit | 4e97d459a0f2b92815c2c2c6eb96b75e2235b42e (patch) | |
| tree | 7d34d475c80cee99fb6fd111bf95d4b931004dfe /scripts/qapi/commands.py | |
| parent | fbb48032e46976cfc94a90a4233a2060fdc36a4e (diff) | |
| download | focaccia-qemu-4e97d459a0f2b92815c2c2c6eb96b75e2235b42e.tar.gz focaccia-qemu-4e97d459a0f2b92815c2c2c6eb96b75e2235b42e.zip | |
target/riscv: Properly check SEW in amo_op
We're currently assuming SEW <= 3, and the "else" from the SEW == 3 must be less. Use a switch and explicitly bound both SEW and SEQ for all cases. Reviewed-by: LIU Zhiwei <zhiwei_liu@c-sky.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20211020031709.359469-8-richard.henderson@linaro.org Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions