AVX2 is slower than SSE2-4.x under Windows ARM emulation
5 points by vintagedave
5 points by vintagedave
Should I compile for AVX2 if my app might run on Windows ARM?' has a clear answer: No. At least if performance matters.
If performance matters, I think the thing to worry about would be running Arm binaries, not selecting the better x86 binary.
Perhaps that part of the TLDR could read:
Should I compile for AVX2 if my app might run on Arm? Just compile for Arm.
Should I select an AVX2 x86 compiled binary if my machine is Arm? For faster execution on Arm, select a pre-AVX2 binary over an AVX2 x86 one.
Agreed and this should be obvious, in my opinion.
I wish Microsoft had a "Fat PE32" like Apple's Fat Mach-O for multiple architectures in one file. It might help adoption by making the software easier to distribute.