Facepunch / garrysmod-requests

Feature requests for Garry's Mod
86 stars 24 forks source link

Compiling GMOD client and SRCDS using AVX2 instructions (huge boost in perfomance) #666

Open 60percentCaffeine opened 8 years ago

60percentCaffeine commented 8 years ago

Can you compile GMOD client and server with AVX2 instructions? In tests it provides HUGE boost in perfomance. BUT, you need to compile special binaries that won't run on old processors. I think that making a new beta branch in Steam that will contain AVX2 binaries is a good idea. This is something about it on MSDN (and also how to use it in MSVS, this is simple - just write "/arch:AVX2" in settings): https://blogs.msdn.microsoft.com/vcblog/2014/02/28/avx2-support-in-visual-studio-c-compiler/

Kefta commented 8 years ago

666 :smiling_imp:

meepen commented 8 years ago

Do not do this. An enormous amount of players will not be able to use this game if you did. If you want an instruction set, use sse3.

60percentCaffeine commented 8 years ago

@meepdarknessmeep, I don't talk about compiling usual GMod releases, I'm talking about adding an "avx2" branch in Steam with binaries compiled with AVX2 instructions.

ghost commented 6 years ago

+1 to performance increase. Is another branch really necessary?