cross-platform-actions / action

Cross-platform GitHub action
MIT License
128 stars 19 forks source link

VMs running via QEMU only expose SSE and SSE2 CPU features #60

Closed kobalicek closed 1 year ago

kobalicek commented 1 year ago

Even when the host machine supports more advanced instruction sets like AVX/AVX2 - VMs only expose SSE and SSE2. At the moment it's not possible to test AVX code in these VMs. Xhyve exposes features up to AVX, but not AVX2, even when the host supports these extensions.

Is there any plan to perhaps add an option that would influence how many CPU features would be provided to the guest machine? I think at least AVX as exposed by xhyve would be great.

jacob-carlborg commented 1 year ago

I can see if I can add more CPU features when using QEMU. As long as the OS boots I don't think it needs to be an option.

jacob-carlborg commented 1 year ago

Available now in v0.19.0.