]> granicus.if.org Git - clang/commit
[PowerPC] [Clang] Port SSE intrinsics to PowerPC
authorZi Xuan Wu <wuzish@cn.ibm.com>
Wed, 29 May 2019 05:17:03 +0000 (05:17 +0000)
committerZi Xuan Wu <wuzish@cn.ibm.com>
Wed, 29 May 2019 05:17:03 +0000 (05:17 +0000)
commit4f36ab6061601fcb533f255dedf8e8c286f4b275
treeb684cc38ab1b8adf3187aea3c90e9fe3d6e22c00
parent86873839af7530176e3a062ecbf7edf74048922c
[PowerPC] [Clang] Port SSE intrinsics to PowerPC

Port xmmintrin.h which include Intel SSE 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.

Patched by: Qiu Chaofan <qiucf@cn.ibm.com>
Reviewed By: Jinsong Ji

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361928 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/CMakeLists.txt
lib/Headers/ppc_wrappers/mm_malloc.h [new file with mode: 0644]
lib/Headers/ppc_wrappers/xmmintrin.h [new file with mode: 0644]
test/CodeGen/ppc-mm-malloc.c [new file with mode: 0644]
test/CodeGen/ppc-mmintrin.c
test/CodeGen/ppc-xmmintrin.c [new file with mode: 0644]
test/Headers/ppc-intrinsics.c [deleted file]
test/Headers/ppc-mmx-intrinsics.c [new file with mode: 0644]
test/Headers/ppc-sse-intrinsics.c [new file with mode: 0644]