Monday, May 21, 2012

what's the diff among cflgs sse options of -msse, -msse2, -mssse3, -msse4 rtc..? and how to determine?

as for the GCC cflags options: -msse, -msse2, -mssse3, -msse4, -msse4.1, -msse4.2. Are they exclusive when using or could be in parallel?

My understanding is that the choosing which to set depends on whether the target arch, which the program will run on, supports 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?


No comments:

Post a Comment