Intrinsic and -msse2

Matthew Tippett matthew.tippett@sympatico.ca
Thu Mar 4 03:42:00 GMT 2004


Hello,

I am trying to get a project compiled that utilises intrinsics.

The intrisic code is guarded by code that detects the processor type.

Now, the problem is that I need to turn on -msse2 to have access to 
the __m128i datatype, but turning that on seems to cause the 
compiler to convert some code to include the cvtsi2sd instruction 
which is not supported on athlon systems.

So... Is there a way that I can turn on SSE2 intrinsic support 
without getting the compiler to optimise for SSE2 instructions in 
general code?

Regards,

Matthew



More information about the Gcc-help mailing list