ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.19k stars 1.06k forks source link

Add a way to build with Intel C++/Amd C++ compilers support #8141

Open Sinfolke opened 5 days ago

Sinfolke commented 5 days ago

On my pc Intel C++ does a very excellent job and i want a way to build this tool via it. There are additional options to the host machine that would also speedup the executable: -xHost -fast -LJO -vec (-march=native -mtune=native). Just need to add:

gofman commented 2 days ago

Does icc support attribute((ms_abi)) these days? Without that it is virtually impossible. There might be more less global but still blocking issues coming up.

gofman commented 2 days ago

In general, I'd suggest to try to build upstream Wine with it first. Also, you might find that while Intel Compiler provides remarkable optimization in many scenarios it might be hard to find a case when it gives measurable performance improvement in Wine case.

Sinfolke commented 2 days ago

Yes, icx which uses clang supports it. In my experience icx much improves the perfomance of program. Projects compiled with it worked for me with no latency and very quickly. I think though it may vary between processors.