<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sugawarayusuke</author_name>
  <author_url>https://blog.hatena.ne.jp/sugawarayusuke/</author_url>
  <blog_title>情弱ログ</blog_title>
  <blog_url>https://sugawarayusuke.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>x86_64の呼び出し規約では、関数の引数は主にレジスタを使って渡すように定義されている。 主に、というのは引数の数が6個まではレジスタ（%edi、%esi、%edx、%ecx、%r8、%r9）を使って渡し、7個以上の場合はスタックに置いて渡す形式となっているからだ。レジスタとメモリアクセスでは明らかに後者のほうが遅いため、関数の引数が7個以上になると6個以下の関数に比べて実行時間が増加するのでは？と思い検証してみた。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugawarayusuke.hatenablog.com%2Fentry%2F2018%2F05%2F03%2F180752&quot; title=&quot;引数の数が関数の実行時間に及ぼす影響を調査した話 - 情弱ログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/sugawarayusuke/20180503/20180503170516.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-05-03 18:07:52</published>
  <title>引数の数が関数の実行時間に及ぼす影響を調査した話</title>
  <type>rich</type>
  <url>https://sugawarayusuke.hatenablog.com/entry/2018/05/03/180752</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
