通用SIMD技术 [英] Common SIMD techniques

查看:367
本文介绍了通用SIMD技术的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在哪里可以找到关于常见的招数SIMD信息?我有一个指令集,并知道如何写不靠谱SIMD code,但我知道,现在SIMD更加强大。它可以容纳复杂的条件网点code。结果
例如(的ARMv6 ),下面的指令序列集等于Ra和Rb的对应字节的无符号最小路的每个字节:

Where can I find information about common SIMD tricks? I have an instruction set and know, how to write non-tricky SIMD code, but I know, SIMD now is much more powerful. It can hold complex conditional branchless code.
For example (ARMv6), the following sequence of instructions sets each byte of Rd equal to the unsigned minimum of the corresponding bytes of Ra and Rb:

USUB8 Rd, Ra, Rb
SEL Rd, Rb, Ra

教程的链接/少见SIMD技术是好的太:) 的ARMv6 是最有趣的我,但 86 (SSE,...)/ 霓虹灯(用于ARMv7)/别人都不错。

Links to tutorials / uncommon SIMD techniques are good too :) ARMv6 is the most interesting for me, but x86(SSE,...)/Neon(in ARMv7)/others are good too.

推荐答案

一个最好的SIMD资源曾是旧的AltiVec邮件列表。虽然PowerPC的/ AltiVec的具体我怀疑这份名单上有很多的材料将是普遍关心的人与其他SIMD架构的工作。可悲的是这个名单现在似乎是被移动到power.org一个论坛后解散,但你可以找到它的归档版本。 (如果没有,那么让我知道 - 我有pretty很多都从2000年的职位 - 2007年)

One of the best SIMD resources ever was the old AltiVec mailing list. Although PowerPC/AltiVec-specific I suspect that a lot of the material on this list would be of general interest to anyone working with other SIMD architectures. Sadly this list seems now to be defunct after being moved to a forum on power.org, but you may be able to find archived versions of it. (If not then let me know - I have pretty much all the posts from 2000 - 2007.)

也有许多关于AltiVec技术,SSE,SIMD矢量化和性能一般潜在有用的信息在<一个href=\"http://developer.apple.com/hardwaredrivers/ve/index.html\">http://developer.apple.com/hardwaredrivers/ve/index.html,其中一个很好的协议可能会转移到其他SIMD架构。

There is also a lot of potentially useful info on AltiVec, SSE, SIMD vectorization and performance in general at http://developer.apple.com/hardwaredrivers/ve/index.html, a good deal of which may be transferable to other SIMD architectures.

这篇关于通用SIMD技术的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆