[LLVMdev] Implementing the ARM NEON Intrinsics for PowerPC

Konstantin Tokarev annulen at yandex.ru
Wed Oct 2 04:14:11 PDT 2013


02.10.2013, 13:27, "Stanislav Manilov" <stanislav.manilov at gmail.com>:
> Hello Hal,
>
> I am not very familiar with the DSP capabilities of PowerPC, but I imagine there will be instructions for simple vector operations like vector addition, multiplication, etc. so for these I imagine the implementation would consist of just outputting the correct instruction. However, for NEON instructions like the reciprocal step (see http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0489c/CIHDIACI.html) it is unlikely that there is a corresponding PowerPC vector instruction, so these will need to be emulated, yes.

Here is an example implementation of reciprocal square root with AltiVec intinsics:

http://web.archive.org/web/20090810124308/http://developer.apple.com/hardwaredrivers/ve/algorithms.html

-- 
Regards,
Konstantin



More information about the llvm-dev mailing list