<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>fatalerror</author_name>
  <author_url>https://blog.hatena.ne.jp/fatalerror/</author_url>
  <blog_title>NF</blog_title>
  <blog_url>https://fatalerror.hatenablog.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>三日坊主回避。3日くらい過ぎてるけど。 というか、調べてたら色々発散してまとまらなくなりました。取り合えず今回は触りだけ。 概要 今回は、乗算命令は遅いのでシフト演算が使われるよという話。多分有名ですね（除算の方が有名かも）。 2のべき乗に分解できる値との乗算であれば、シフト演算と加算だけで計算でき、そっちの方が計算が高速に出来るそうです。今回は、下の記事にある、ある値（Aとします）を144倍するのを実際やってみます。 41年経った今でも使える、いにしえのx86マシン語AAAをMacで動かす #asm #riscv #x86 / 福野泰介の一日一創 / Create every day by …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffatalerror.hatenablog.com%2Fentry%2F2021%2F09%2F29%2F013705&quot; title=&quot;4回目：乗算の代わりにシフト演算 - NF&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>2021-09-29 01:37:05</published>
  <title>4回目：乗算の代わりにシフト演算</title>
  <type>rich</type>
  <url>https://fatalerror.hatenablog.com/entry/2021/09/29/013705</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
