Toggle navigation
EN
EN
DE
ES
FR
IT
UK
Help
Log In
Help
Log In
EN
EN
DE
ES
FR
IT
UK
Home
Messages
Hashtags
Subgroups
×
×
×
Close
Likes
Tech-Vector-Ext
Messages
×
Close
Search
Single
Toggle Dropdown
Messages
Topics
Expanded
previous page
#674
next page
Configuring qemu for Vector Extension
Mick Thomas Lim
#674
Does a known-good guide exist for building riscv64 qemu to be able to run Vector instructions?
From the main qemu repo, we are to build the riscv64-softmmu target and run the 64-bit Buildroot Image, as described here:
https://wiki.qemu.org/Documentation/Platforms/RISCV
A "Hello World" program compiled with riscv64-unknown-linux-gnu-gcc does work.
But we aren't seeing expected behavior when running the simple rvv_vadd.c program described here:
https://lists.riscv.org/g/tech-vector-ext/message/364
For example: vl = vsetvl_e32m2 (n) seems to return 0.
This is the qemu run command we're using for buildroot:
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
Assistance would much appreciated!
Sincerely,
Mick
More
All Messages By This Member
×
previous page
View All 12 Messages In Topic
next page
previous page
#674
next page
Join
tech-vector-ext@lists.riscv.org to automatically receive all group messages.
×
Close
Report Message
Reason
Report to Moderators
I think this message isn't appropriate for our group. The Group moderators are responsible for maintaining their community and can address these issues.
Report to RISC-V Support
I think this violates the Terms of Service. This includes: harm to minors, violence or threats, harassment or privacy invasion, impersonation or misrepresentation, fraud or phishing.
Note:
Your email address is included with the abuse report.
×
Close
Verify Delete
Are you sure you wish to delete this message from the message archives of tech-vector-ext@lists.riscv.org?
This cannot be undone.
×
Close
Verify Repost
Are you sure you wish to repost this message?
More Options
More
Home
Hashtags
Subgroups
Terms
Toggle navigation
Terms
©
2023
Groups.io