<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>msyksphinz</author_name>
  <author_url>https://blog.hatena.ne.jp/msyksphinz/</author_url>
  <blog_title>FPGA開発日記</blog_title>
  <blog_url>https://msyksphinz.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Binary Translation型のRISC-Vエミュレータを作っている。これまで、Binary Translationのための中間表現であるTCGは、かなりx86に近い構造になっていたが、より一般的な構造としてTCGをより細かな粒度に変換している。新しいTCGを使ってメモリアクセス命令を書き直していこうと思う。 まずはロード命令について考える。ロード命令については、以下のようなフローを取る。 レジスタと即値を加算して仮想アドレスを作成する 仮想アドレスを用いてTLBを検索し、TLBがヒットするかを確認する TLBがヒットすれば、TLBの情報に基づいて物理アドレスを計算する 物理アドレスに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmsyksphinz.hatenablog.com%2Fentry%2F2020%2F11%2F04%2F040000&quot; title=&quot;Binary Translation型エミュレータを作る(ロード命令を新しいTCGで書き直す) - FPGA開発日記&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/m/msyksphinz/20201031/20201031110627.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-11-04 04:00:00</published>
  <title>Binary Translation型エミュレータを作る(ロード命令を新しいTCGで書き直す)</title>
  <type>rich</type>
  <url>https://msyksphinz.hatenablog.com/entry/2020/11/04/040000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
