Re: (quoted post by tcatm)

Participants: tcatm

Quote from: jgarzik on August 27, 2010, 11:35:26 PM

… -march=XXXX means the compiler expects the binary will only be run on amdfam10.

That’s exactly what we want. But I agree, it’s a dirty hack to use -march=amdfam10. In this case it’ll produce the most compact and efficient SSE2 code from the source. A cleaner alternative would be inline assembler.