<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eagletmt</author_name>
  <author_url>https://blog.hatena.ne.jp/eagletmt/</author_url>
  <blog_title>EAGLE 雑記</blog_title>
  <blog_url>https://eagletmt.hatenadiary.org/</blog_url>
  <categories>
    <anon>プログラム</anon>
  </categories>
  <description>int v __attribute__((vector_size(16))); とすると、v はサイズが16byteで各要素がint型であるベクタである。 int が 4byte だとすると、結果的に v は4つの要素を持つことになる。 このようにして定義されたベクタは + (add) - (sub) * (mul) / (div) unary minus ^ (xor) | (or) &amp; (and) ~ (not) の演算が可能。 実際に使うときには union を用いると使いやすそうだ。 #include &lt;stdio.h&gt; typedef union { int v __attribut…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feagletmt.hatenadiary.org%2Fentry%2F20090103%2F1230952190&quot; title=&quot; gcc拡張で手軽にベクタ命令 - EAGLE 雑記&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>2009-01-03 12:09:50</published>
  <title> gcc拡張で手軽にベクタ命令</title>
  <type>rich</type>
  <url>https://eagletmt.hatenadiary.org/entry/20090103/1230952190</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
