{"id":5535,"date":"2014-03-30T23:47:03","date_gmt":"2014-03-30T23:47:03","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-likwid-collection-of-common-programming-errors\/"},"modified":"2014-03-30T23:47:03","modified_gmt":"2014-03-30T23:47:03","slug":"problem-about-likwid-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/problem-about-likwid-collection-of-common-programming-errors\/","title":{"rendered":"problem about likwid-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b6116ac3c4b5835c6745570ea73a85c1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCharles<br \/>\njava optimization assembly likwid<br \/>\nI have an unusual case where I&#8217;m examining a relatively trivial Java which should have well predicted branching behavior, but likwid-perfctr reports a huge (50%) branch mispredict rate. However, the runtime is not consistent with that misprediction rate (CPI is very low, at ~0.3, and stalls on the front and back end are low). A similar C++ program suffers no mispredicts but actually has a slightly longer runtime.It seems that the discrepancy is in BR_MISP_RETIRED_ALL_BRANCHES versus BR_MISP_EX<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Charles java optimization assembly likwid I have an unusual case where I&#8217;m examining a relatively trivial Java which should have well predicted branching behavior, but likwid-perfctr reports a huge (50%) branch mispredict rate. However, the runtime is not consistent with that misprediction rate (CPI is very low, at ~0.3, and stalls on the front and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5535","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5535"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5535\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}