blob: 69a3e8cdfe5ac40e33a7458be40f21e23762ceca (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
device: 0.715
other: 0.583
graphic: 0.491
socket: 0.454
network: 0.426
files: 0.373
semantic: 0.348
boot: 0.310
vnc: 0.290
debug: 0.173
PID: 0.165
performance: 0.150
KVM: 0.094
permissions: 0.042
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.
|