Boost C++ Libraries: Ticket #9237: Vectorizer friendly code
https://svn.boost.org/trac10/ticket/9237
<ul><li>use aligned storage (also statically attributed as such, with compiler specific attributes, not just allocated as aligned)
</li><li>mind <span class="underline">vectorcall and its ability to pass and return tuples! <a class="ext-link" href="http://blogs.msdn.com/b/vcblog/archive/2013/07/12/introducing-vector-calling-convention.aspx"><span class="icon"></span>http://blogs.msdn.com/b/vcblog/archive/2013/07/12/introducing-vector-calling-convention.aspx</a>
</span></li><li>use native/builtin arbitrary sized vectors
</li></ul><p>
<a class="ext-link" href="http://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html"><span class="icon"></span>http://gcc.gnu.org/onlinedocs/gcc/Vector-Extensions.html</a>
<a class="ext-link" href="http://clang.llvm.org/docs/LanguageExtensions.html#vectors-and-extended-vectors"><span class="icon"></span>http://clang.llvm.org/docs/LanguageExtensions.html#vectors-and-extended-vectors</a>
</p>
en-usBoost C++ Libraries/htdocs/site/boost.png
https://svn.boost.org/trac10/ticket/9237
Trac 1.4.3John MaddockFri, 11 Oct 2013 17:45:35 GMT
<link>https://svn.boost.org/trac10/ticket/9237#comment:1 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9237#comment:1</guid>
<description>
<p>
Can you please explain what you had in mind here? Note that cpp_int's are not simply arrays, so cannot be passed by value using a <code>__vectorcall</code> as far as I can see.
</p>
<p>
Use of builtin vector types might be interesting, but the only operations I can see being easily vectorised are the bitwise operations? I suspect the problems may outweigh the benefits here: for example gcc only supports array sizes that are powers of 2, I'm not certain the arrays support 64-bit chunks either...
</p>
</description>
<category>Ticket</category>
</item>
<item>
<dc:creator>Domagoj Šarić</dc:creator>
<pubDate>Wed, 10 Feb 2016 12:28:17 GMT</pubDate>
<title/>
<link>https://svn.boost.org/trac10/ticket/9237#comment:2 </link>
<guid isPermaLink="false">https://svn.boost.org/trac10/ticket/9237#comment:2</guid>
<description>
<p>
Sorry, still had no time to revisit this (and answer the questions above), however I ran into this recently:
<a class="ext-link" href="https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html"><span class="icon"></span>https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html</a>
<a class="ext-link" href="http://clang.llvm.org/docs/LanguageExtensions.html#checked-arithmetic-builtins"><span class="icon"></span>http://clang.llvm.org/docs/LanguageExtensions.html#checked-arithmetic-builtins</a>
and thought you may find it useful (while on the topic of compiler extensions)...
</p>
</description>
<category>Ticket</category>
</item>
</channel>
</rss>