<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>unifa_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/unifa_tech/</author_url>
  <blog_title>ユニファ開発者ブログ</blog_title>
  <blog_url>https://tech.unifa-e.com/</blog_url>
  <categories>
  </categories>
  <description>こんにちは、ヘルスケア事業本部のちょうです。前回 tech.unifa-e.com CPUレベルでなぜ並列プログラムはなぜ思った通りに動いてないのを分析しました。要するに、CPUのキャッシュ間でMESIなどのCache Coherenceプロトコルがあるものの、Store BufferとInvalidate Queueなど最適化するための仕組みによって、命令がreorderされたように見えます。 違う値を見ただけでまだいいですが、reorderにより並列プログラムの動作は予測できなくなり、つまりundefined behaviorは一番の問題です。reorderを制御するには、memory b…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.unifa-e.com%2Fentry%2F2018%2F08%2F03%2F101742&quot; title=&quot;なぜ違う値を見たのかーーMemory Barrier - ユニファ開発者ブログ&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>2018-08-03 10:17:42</published>
  <title>なぜ違う値を見たのかーーMemory Barrier</title>
  <type>rich</type>
  <url>https://tech.unifa-e.com/entry/2018/08/03/101742</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
