<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yupo5656</author_name>
  <author_url>https://blog.hatena.ne.jp/yupo5656/</author_url>
  <blog_title>memologue</blog_title>
  <blog_url>https://yupo5656.hatenadiary.org/</blog_url>
  <categories>
    <anon>GCC</anon>
  </categories>
  <description>分岐しない4要素のソート、GCC/Linux/x86,x86_64,arm版 こちらに、「分岐しないソート」という記事があります。短いので読んでいただくほうがよいと思いますが、文章＆アセンブリ言語のコードの内容を要約すると、 4要素のソートは、頑張れば5回の比較と5回の交換でできるよ。さらに、交換を Pentium Pro で追加された命令であるCMOVcc(Conditional Move)で行うことにすれば、「cmp b, a して、 b となります。この、「4要素専用・VC++専用の分岐しないソート」を、いつものように(?) GCC向けに書き直してみました。こちら。 分岐しないN要素の …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyupo5656.hatenadiary.org%2Fentry%2F20060617%2Fp1&quot; title=&quot; 分岐しないソート (のジェネレータ） - memologue&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>2006-06-17 00:00:00</published>
  <title> 分岐しないソート (のジェネレータ）</title>
  <type>rich</type>
  <url>https://yupo5656.hatenadiary.org/entry/20060617/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
