@smarkusg
QEMU fails to build with CLANG. Something to do with virtfs-proxy-helper
[891/2623] Linking target fsdev/virtfs-proxy-helper
FAILED: fsdev/virtfs-proxy-helper
clang-12 -m64 -mcx16 -o fsdev/virtfs-proxy-helper fsdev/virtfs-proxy-helper.p/virtfs-proxy-helper.c.o fsdev/virtfs-proxy-helper.p/9p-marshal.c.o fsdev/virtfs-proxy-helper.p/9p-iov-marshal.c.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -Wl,--whole-archive -Wl,--start-group libevent-loop-base.a libqom.fa -Wl,--no-whole-archive -fstack-protector-strong -Wl,-z,relro -Wl,-z,now -Wl,--warn-common libqemuutil.a subprojects/libvhost-user/libvhost-user-glib.a subprojects/libvhost-user/libvhost-user.a libqom.fa -lcap-ng -lnuma /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so -pthread -lgmodule-2.0 -lglib-2.0 /usr/lib/x86_64-linux-gnu/libgnutls.so -lm /usr/lib/x86_64-linux-gnu/libpixman-1.so -lgmodule-2.0 -lglib-2.0 -Wl,--end-group
/usr/bin/ld: libqemuutil.a: error adding symbols: archive has no index; run ranlib to add one
clang: error: linker command failed with exit code 1 (use -v to see invocation)
But at least its builds with --enable-lto
Used the following command line:
qemu-system-ppc -L pc-bios -M pegasos2 -accel tcg -cpu apollo7 -m 1024 -bios pegasos2.rom -vga none -drive if=none,id=cd -device ide-cd,drive=cd,bus=ide.1 -drive if=none,id=hd,file=hd.img,format=raw -device ide-hd,drive=hd,bus=ide.0 -device rtl8139,netdev=net0 -netdev user,id=net0 -rtc base=localtime -serial stdio -device VGA,romfile="" -device vfio-pci,host=03:04.0
Cow3d still runs at 26 fps.
But Cube now runs at 30-50 FPS. Even >80fps when staring at a wall.
GFXBench2D performance improved as well:
http://hdrlab.org.nz/benchmark/gfxbench2d/OS/AmigaOS/Result/2655