AVX2 is slower than SSE2-4.x under Windows ARM emulation

5 points by vintagedave


johnklos

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.