]> granicus.if.org Git - clang/commit
re-commit r361928: [PowerPC] [Clang] Port SSE intrinsics to PowerPC
authorZi Xuan Wu <wuzish@cn.ibm.com>
Fri, 31 May 2019 04:42:13 +0000 (04:42 +0000)
committerZi Xuan Wu <wuzish@cn.ibm.com>
Fri, 31 May 2019 04:42:13 +0000 (04:42 +0000)
commiteeee4079f9164143102deec6a9eb002bd3c823c2
treefa0063ef05efed3253a9ed5cfb43c9336daada96
parent04c0211bac2ff73dd299a74c47f54507fb51699e
re-commit r361928: [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@362190 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-le.c [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]