blob: 244063f1c70c382174dea07d58bd07209b11612f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
mistranslation: 0.941
device: 0.715
instruction: 0.660
other: 0.583
graphic: 0.491
socket: 0.454
network: 0.426
semantic: 0.348
boot: 0.310
vnc: 0.290
assembly: 0.125
KVM: 0.094
RISCV: wrong check for vector extension ELEN value.
Description of problem:
When checking if the vector extension ELEN value is in the range [8, 64], the lower bound check uses the `vlen` field instead of the `elen` one: https://gitlab.com/qemu-project/qemu/-/blob/master/target/riscv/cpu.c#L885.
Additional information:
This is basically just a typo I found while reading the code, I do not have a real case scenario which resulted in this check to fail.
|