<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yupo5656</author_name>
  <author_url>https://blog.hatena.ne.jp/yupo5656/</author_url>
  <blog_title>memologue</blog_title>
  <blog_url>https://yupo5656.hatenadiary.org/</blog_url>
  <categories>
    <anon>asm</anon>
  </categories>
  <description>if/then/else hint? (http://gcc.gnu.org/ml/gcc/2004-01/msg00496.html) というgccのMLに投稿された質問より。質問者いわく、 if (&lt;condition&gt;) &lt;fastpath&gt;; else &lt;slowpath&gt;;というコードがあり、conditionは滅多に偽にならないんだそうだ。そういうときに、吐き出すオブジェクトコードを少しでも効率的なものにできるか？というのが質問の趣旨。 回答として２通りの手法が示されており、それぞれ __builtin_expect()で分岐方向のヒントをソースコード中で静的に与える方法 -fpr…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyupo5656.hatenadiary.org%2Fentry%2F20040727%2Fp3&quot; title=&quot; x86での分岐処理の高速化 (__builtin_expect) - memologue&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2004-07-27 00:00:02</published>
  <title> x86での分岐処理の高速化 (__builtin_expect)</title>
  <type>rich</type>
  <url>https://yupo5656.hatenadiary.org/entry/20040727/p3</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
