Compilers

I spent an hour and a half on the phone with an engineer from Intel today, which came down to the following suggestion: “Use the super secret, magic ‘-xP’ option in your builds.” Apparently the intel compilers default to making binaries that maximize (within reason, jrtom) the number of CPUs on which the binaries might be able to run. The near mystical “-xP” instructs the compiler to instead assume that the binary will always run on the processor where it’s being built, and to make use of all the cleverness at its disposal.

I have yet to run any tests with these new binaries of unparalleled beauty and power, but the builds sure are chatty now!

asn2ff4.c(713) : (col. 6) remark: LOOP WAS VECTORIZED.

I really want to see it say:

sec.c(381) : (col. 4) remark: DAMN! WHAT WERE YOU THINKING?

That’s probably a different flag though.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

  

  

  

This site uses Akismet to reduce spam. Learn how your comment data is processed.