Re: [PATCH v6 03/14] util: Add RISC-V vector extension probe in cpuinfo

2024-10-21 Thread Daniel Henrique Barboza
On 10/21/24 3:52 PM, Richard Henderson wrote: On 10/21/24 11:25, Daniel Henrique Barboza wrote: Hi, This patch is breaking a KVM guest that runs  with '-cpu host' in an emulated Risc-V host. The break happens regardless of the RVV support in the emulated host: $ qemu-system-riscv64 \  

Re: [PATCH v6 03/14] util: Add RISC-V vector extension probe in cpuinfo

2024-10-21 Thread Richard Henderson
On 10/21/24 11:25, Daniel Henrique Barboza wrote: Hi, This patch is breaking a KVM guest that runs  with '-cpu host' in an emulated Risc-V host. The break happens regardless of the RVV support in the emulated host: $ qemu-system-riscv64 \ -machine virt,accel=kvm -m 2G -smp 1 \ -cpu h

Re: [PATCH v6 03/14] util: Add RISC-V vector extension probe in cpuinfo

2024-10-21 Thread Daniel Henrique Barboza
Hi, This patch is breaking a KVM guest that runs with '-cpu host' in an emulated Risc-V host. The break happens regardless of the RVV support in the emulated host: $ qemu-system-riscv64 \ -machine virt,accel=kvm -m 2G -smp 1 \ -cpu host \ -nographic -snapshot \

Re: [PATCH v6 03/14] util: Add RISC-V vector extension probe in cpuinfo

2024-10-20 Thread Alistair Francis
On Thu, Oct 17, 2024 at 5:35 AM Richard Henderson wrote: > > From: TANG Tiancheng > > Add support for probing RISC-V vector extension availability in > the backend. This information will be used when deciding whether > to use vector instructions in code generation. > > Cache lg2(vlenb) for the ba

[PATCH v6 03/14] util: Add RISC-V vector extension probe in cpuinfo

2024-10-16 Thread Richard Henderson
From: TANG Tiancheng Add support for probing RISC-V vector extension availability in the backend. This information will be used when deciding whether to use vector instructions in code generation. Cache lg2(vlenb) for the backend. The storing of lg2(vlenb) means we can convert all of the divisio