tcg is generating AVX code on platforms that don't support AVX instruction set and causing #UD exception.
Description
tcg is generating the following code on platforms that don't support AVX instruction and causing the program termination due to #UD exception (at vzeroupper).

How to repro the issue on Windows
bcdedit /set xsavedisable 1, reboot and run test_x86.exe
How to repro the issue if I don't want to change bcd configs get a chip that don't support AVX instruction set. e.g. Intel G4560
Current unexcepted result
multiple unhandled #UD exceptions throwed while running test_x86.exe :

Excepted result No exceptions shoule be there while running test_x86.exe.
Version 2.0.0.rc1 ~ 2.0.0.rc7
Confirmed it's a known bug since AVX1/AVX2 is not correctly detected.
Hi, is there a workaround for this? Can I hardcode that detection to compile a working version for my laptop or something?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
having the same issue, any work around?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.
Fixed in 3199dd88dee094c3fc456971e5f469c22cb1160d
Fixed in 3199dd8
did this get merged into master yet? im still having issues with this
Not yet, 2.1.0 still on the way.