For the GCC CFLAGS
options: -msse
, -msse2
, -mssse3
, -msse4
, -msse4.1
, -msse4.2
. Are they exclusive in their use or can they be used together?
My understanding is that the choosing which to set depends on whether the target arch, which the program will run on, supports it or not - is this correct?
If so, how could I know what sse my target arch supports? In Linux, I cat /proc/cpuinfo, but what if Mac or Windows?
Thanks!