Skip to content

Commit

Permalink
[PowerPC] [Clang] Port SSE2 intrinsics to PowerPC
Browse files Browse the repository at this point in the history
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

llvm-svn: 363122
  • Loading branch information
wuzish committed Jun 12, 2019
1 parent 549991e commit cc12f68
Show file tree
Hide file tree
Showing 4 changed files with 5,586 additions and 0 deletions.
1 change: 1 addition & 0 deletions clang/lib/Headers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ set(ppc_wrapper_files
ppc_wrappers/mmintrin.h
ppc_wrappers/xmmintrin.h
ppc_wrappers/mm_malloc.h
ppc_wrappers/emmintrin.h
)

set(openmp_wrapper_files
Expand Down
Loading

0 comments on commit cc12f68

Please sign in to comment.