Common SIMD techniques
Posted
by zxcat
on Stack Overflow
See other posts from Stack Overflow
or by zxcat
Published on 2010-01-28T17:04:27Z
Indexed on
2010/05/28
9:12 UTC
Read the original article
Hit count: 588
Hi!
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
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.
Thank you.
© Stack Overflow or respective owner