May 20, 2026
11:03 a.m.
If we are not going to require it, then the right way would be #pragma GCC target and a runtime check. But it's probably not worth the trouble nowadays.
Excellent! That also answers my (unexpressed) question about what to do for newer instruction sets, like AVX, where requiring support is not an option. One case where requiring SSE2 in i386 PE code is a bit annoying is for running tests on old HW, which is sometimes very useful. I guess it's one more hop to jump through, nothing qualitatively different, at least in the short term. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10953#note_140776