aboutsummaryrefslogtreecommitdiff
path: root/python/qemu/utils/accel.py
diff options
context:
space:
mode:
authorChao Liu <lc00631@tecorigin.com>2025-03-10 10:35:24 +0800
committerAlistair Francis <alistair.francis@wdc.com>2025-03-19 16:39:00 +1000
commite83845316abcea9024eb5402a6c5eb8b092c79d5 (patch)
treedc913caab753f40df9de2d2af2b136b35c644dac /python/qemu/utils/accel.py
parentec6411a5251de3479d44c6e539d0e9596c68909b (diff)
downloadqemu-e83845316abcea9024eb5402a6c5eb8b092c79d5.zip
qemu-e83845316abcea9024eb5402a6c5eb8b092c79d5.tar.gz
qemu-e83845316abcea9024eb5402a6c5eb8b092c79d5.tar.bz2
target/riscv: refactor VSTART_CHECK_EARLY_EXIT() to accept vl as a parameter
Some vector instructions are special, such as the vlm.v instruction, where setting its vl actually sets evl = (vl + 7) >> 3. To improve maintainability, we will uniformly use VSTART_CHECK_EARLY_EXIT() to check for the condition vstart >= vl. This function will also handle cases involving evl. Fixes: df4252b2ec ("target/riscv/vector_helpers: do early exit when vstart >= vl") Signed-off-by: Chao Liu <lc00631@tecorigin.com> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Message-ID: <f575979874e323a9e0da7796aa391c7d87e56f88.1741573286.git.lc00631@tecorigin.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/qemu/utils/accel.py')
0 files changed, 0 insertions, 0 deletions