<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>espresso3389</author_name>
  <author_url>https://blog.hatena.ne.jp/espresso3389/</author_url>
  <blog_title>espresso3389の日記</blog_title>
  <blog_url>https://espresso3389.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>仕方がないので、アセンブラにご登場いただくことに。 int f2i(float f) { _asm {cvttss2si eax, f} } int main(int argc, char* argv[]) { float f = atof(argv[1]); return f2i(f); } そうすると、意外にもコンパクトなコードが生成されました。 mov eax, DWORD PTR _argv$[esp-4] mov ecx, DWORD PTR [eax+4] push ecx call _atof fstp DWORD PTR _f$[esp] add esp, 4 cvttss2s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fespresso3389.hatenablog.com%2Fentry%2F20070519%2F1179578449&quot; title=&quot;cvttss2si - espresso3389の日記&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>2007-05-19 21:40:49</published>
  <title>cvttss2si</title>
  <type>rich</type>
  <url>https://espresso3389.hatenablog.com/entry/20070519/1179578449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
