

Unfortunately, it will continue to be difficult to work with the vector spec until they stop changing it in incompatible ways. If you don't have exactly matching versions of the compiler and qemu and libraries, it isn't going to work. > There are many thousands of different incompatible draft versions of the vector spec. > But we aren't seeing expected behavior when running the simple rvv_vadd.c program described here: > A "Hello World" program compiled with riscv64-unknown-linux-gnu-gcc does work. > On Sun, at 5:21 PM Mick Thomas Lim wrote: It is still under development, and I hope that the PLCT Lab might beĪble to provide several online QEMU VMs for public access and

We cherry-pick and rebase the B/K/P/V patches and merge them into one branch. Version you want, which is not an easy task.īTW, the PLCT Lab is working on setting an all-in-one developerĮnvironment for unratified extensions, including Vector.Ĭurrently QEMU and GNU Toolchain are available. On Tue, at 5:52 PM Wei Wu (吴伟) wrote: Hi Mick,Īs Jim said, you may need the right toolchain and right qemu for the But another person pointed to a branch in a SiFive github tree that may work for you. I would expect to find patches for that on the qemu mailing list. Otherwise, you are better off with a v0.9x or v1.0 qemu. Unless maybe you have Alibaba compilers as this is what Alibaba implemented in their SoCs. The v0.7.1 draft has been obsolete for about 2 years now. Qemu-system-riscv64 -cpu rv64,x-v=true,vlen=256,elen=64,vext_spec=v0.7.1 -M virt -nographic -bios output/images/fw_jump.elf -kernel output/images/Image -append "root=/dev/vda ro" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 This is the qemu run command we're using for buildroot: The gcc support may not be compatible with anything else as it hasn't been properly updated. The current vector work incidentally is in clang not gcc.

There are many thousands of different incompatible draft versions of the vector spec. On Sun, at 5:21 PM Mick Thomas Lim wrote:Ī "Hello World" program compiled with riscv64-unknown-linux-gnu-gcc does work.īut we aren't seeing expected behavior when running the simple rvv_vadd.c program described here:
