nanovms / ops

ops - build and run nanos unikernels
https://ops.city
MIT License
1.3k stars 132 forks source link

investigate avx on mac m1s #1376

Open eyberg opened 2 years ago

eyberg commented 2 years ago

we support it on other x86 machines (w/accel)

https://github.com/nanovms/ops/issues/1357

https://ahelpme.com/software/qemu/qemu-full-virtualization-cpu-emulations-enable-disable-cpu-flags-instruction-sets-of-qemu-6-2-0/

https://gitlab.com/qemu-project/qemu/-/issues/164

sample program that uses cpuid to check for avx:

https://gist.github.com/hi2p-perim/7855506

I think it's not implemented in TCG cause you can run it with hardware acceleration but it doesn't show up in TCG

eyberg commented 2 years ago

https://wiki.qemu.org/ChangeLog/7.2 has avx and avx2