{"id":950,"date":"2005-11-22T20:50:00","date_gmt":"2005-11-22T15:50:00","guid":{"rendered":"http:\/\/chris.dwan.org\/?p=950"},"modified":"2005-11-22T20:50:00","modified_gmt":"2005-11-22T15:50:00","slug":"compilers","status":"publish","type":"post","link":"https:\/\/chris.dwan.org\/?p=950","title":{"rendered":"Compilers"},"content":{"rendered":"<p>I spent an hour and a half on the phone with an engineer from Intel today, which came down to the following suggestion:  &#8220;Use the super secret, magic &#8216;-xP&#8217; option in your builds.&#8221;  Apparently the intel compilers default to making binaries that maximize (within reason, <a href=\"http:\/\/jrtom.livejournal.com\/\" class=\"lj-user\">jrtom<\/a>) the number of CPUs on which the binaries might be able to run.  The near mystical &#8220;-xP&#8221; instructs the compiler to instead assume that the binary will always run on the processor where it&#8217;s being built, and to make use of all the cleverness at its disposal.  <\/p>\n<p>I have yet to run any tests with these new binaries of unparalleled beauty and power, but the builds sure are chatty now!<\/p>\n<p><code>asn2ff4.c(713) : (col. 6) remark: LOOP WAS VECTORIZED.<\/code><\/p>\n<p>I really want to see it say:<\/p>\n<p><code>sec.c(381) : (col. 4) remark:  DAMN!  WHAT WERE YOU THINKING?<\/code><\/p>\n<p>That&#8217;s probably a different flag though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent an hour and a half on the phone with an engineer from Intel today, which came down to the following suggestion: &#8220;Use the super secret, magic &#8216;-xP&#8217; option in your builds.&#8221; Apparently the intel compilers default to making binaries that maximize (within reason, jrtom) the number of CPUs on which the binaries might <span style=\"color:#777\"> . . . &rarr; Read More: <a href=\"https:\/\/chris.dwan.org\/?p=950\">Compilers<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/chris.dwan.org\/index.php?rest_route=\/wp\/v2\/posts\/950"}],"collection":[{"href":"https:\/\/chris.dwan.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chris.dwan.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chris.dwan.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chris.dwan.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=950"}],"version-history":[{"count":0,"href":"https:\/\/chris.dwan.org\/index.php?rest_route=\/wp\/v2\/posts\/950\/revisions"}],"wp:attachment":[{"href":"https:\/\/chris.dwan.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=950"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chris.dwan.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=950"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chris.dwan.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=950"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}