mirror of
https://github.com/odin-lang/Odin.git
synced 2026-03-03 07:08:20 +00:00
Someone ran into this on Discord, so adopt the same workaround that chrome did, by checking both OSXSAVE and XSAVE before calling XGETBV. The old way of detecting AVX is correct per Intel, but such is life.