I know icc/icpc can compile and optimize for multiple architectures using the -ax flag (ex -axsavx,sse2 compiles for both avx and sse2 extensions)
Is there something similar to that with gcc/g++?
I know icc/icpc can compile and optimize for multiple architectures using the -ax flag (ex -axsavx,sse2 compiles for both avx and sse2 extensions)
Is there something similar to that with gcc/g++?