]> granicus.if.org Git - clang/commit
[PowerPC] [Clang] Port SSE2 intrinsics to PowerPC
authorZi Xuan Wu <wuzish@cn.ibm.com>
Wed, 12 Jun 2019 05:25:40 +0000 (05:25 +0000)
committerZi Xuan Wu <wuzish@cn.ibm.com>
Wed, 12 Jun 2019 05:25:40 +0000 (05:25 +0000)
commit307f8b7438d0c6185c2b59f6b3f9dc6646427417
treedd4672e6b2616de29b511811616a965d265b4706
parentd8700d49c08485d602cc0e03af2bd6717ff65e0f
[PowerPC] [Clang] Port SSE2 intrinsics to PowerPC

Port emmintrin.h which include Intel SSE2 intrinsics implementation to PowerPC platform (using Altivec).

The new headers containing those implemenations are located into a directory named ppc_wrappers
which has higher priority when the platform is PowerPC on Linux. They are mainly developed by Steven Munroe,
with contributions from Paul Clarke, Bill Schmidt, Jinsong Ji and Zixuan Wu.

It's a follow-up patch of D62121.

Patched by: Qiu Chaofan <qiucf@cn.ibm.com>

Differential Revision: https://reviews.llvm.org/D62569

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363122 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/CMakeLists.txt
lib/Headers/ppc_wrappers/emmintrin.h [new file with mode: 0644]
test/CodeGen/ppc-emmintrin.c [new file with mode: 0644]
test/Headers/ppc-sse2-intrinsics.c [new file with mode: 0644]