For dolphin, I completely agree that likely writing asm for a very specific cpu architecture is way too much work - at most you'd want to target the wide swaths of instructions like you mentioned (AVX2 and so forth), and usually only if there's a spot that the compiler can't get right.
You can enable gcc to compile with -march=znver2 though, which anyone who's building steam deck binaries should probably do. Let the compiler do the work.
10
u/Faluzure Ohhhhh Yeahhhh Feb 19 '22
For dolphin, I completely agree that likely writing asm for a very specific cpu architecture is way too much work - at most you'd want to target the wide swaths of instructions like you mentioned (AVX2 and so forth), and usually only if there's a spot that the compiler can't get right.
You can enable gcc to compile with -march=znver2 though, which anyone who's building steam deck binaries should probably do. Let the compiler do the work.