This enables Intel intrinsics support on FreeBSD.
Thanks to @pkubaj who noticed this feature was missing
Paths
| Differential D113451
[PowerPC] [Clang] Enable Intel intrinsics support on FreeBSD ClosedPublic Authored by adalava on Nov 8 2021, 6:46 PM.
Details
Summary This enables Intel intrinsics support on FreeBSD. Thanks to @pkubaj who noticed this feature was missing
Diff Detail
Event TimelineHerald added subscribers: shchenz, kbarton, krytarowski and 3 others. · View Herald TranscriptNov 8 2021, 6:46 PM adalava retitled this revision from [PowerPC] [Clang] Add MMX intrinsics support to FreeBSD to [PowerPC] [Clang] Enable Intel intrinsics support on FreeBSD. Comment Actionsadd more ppc_wrappers This revision is now accepted and ready to land.Nov 11 2021, 6:42 AM Comment Actions
Thanks for reviewing it. If you and others with merge permissions think it's ready, please merge it (I don't have the permissions) Thanks!!
Closed by commit rG8e2fd879e6f9: [PowerPC] [Clang] Enable Intel intrinsics support on FreeBSD (authored by adalava, committed by jsji). · Explain WhyNov 22 2021, 12:43 PM This revision was automatically updated to reflect the committed changes. Comment Actions Test case clang/test/CodeGen/ppc-mm-malloc.c fails on powerpc BE buildbots with this changeset ******************* TEST 'Clang :: CodeGen/ppc-mm-malloc.c' FAILED ******************** Script: -- : 'RUN: at line 9'; /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/bin/clang -target powerpc64-unknown-linux-gnu -S -emit-llvm /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/clang/test/CodeGen/ppc-mm-malloc.c -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/bin/FileCheck /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/clang/test/CodeGen/ppc-mm-malloc.c : 'RUN: at line 10'; /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/bin/clang -target powerpc64-unknown-freebsd13.0 -S -emit-llvm /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/clang/test/CodeGen/ppc-mm-malloc.c -fno-discard-value-names -mllvm -disable-llvm-optzns -o - | llvm-cxxfilt | /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/bin/FileCheck /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/clang/test/CodeGen/ppc-mm-malloc.c -- Exit Code: 2 Command Output (stderr): -- In file included from /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/clang/test/CodeGen/ppc-mm-malloc.c:12: In file included from /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/lib/clang/14.0.0/include/ppc_wrappers/mm_malloc.h:15: In file included from /usr/include/stdlib.h:25: In file included from /usr/include/bits/libc-header-start.h:33: In file included from /usr/include/features.h:434: /usr/include/gnu/stubs.h:14:11: fatal error: 'gnu/stubs-64-v2.h' file not found # include <gnu/stubs-64-v2.h> ^~~~~~~~~~~~~~~~~~~ 1 error generated. FileCheck error: '<stdin>' is empty. FileCheck command line: /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/stage1/bin/FileCheck /home/buildbots/ppc64be-clang-multistage-test/clang-ppc64be-multistage/llvm/clang/test/CodeGen/ppc-mm-malloc.c -- ******************** Comment Actions
Thanks @kamaub ! Removed the offending line in b0784d1d14246e5d662172e9af6e85776b81fdf0.
Revision Contents
Diff 389001 clang/lib/Driver/CMakeLists.txt
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/PPCFreeBSD.h
clang/lib/Driver/ToolChains/PPCFreeBSD.cpp
clang/lib/Headers/ppc_wrappers/emmintrin.h
clang/lib/Headers/ppc_wrappers/mm_malloc.h
clang/lib/Headers/ppc_wrappers/mmintrin.h
clang/lib/Headers/ppc_wrappers/pmmintrin.h
clang/lib/Headers/ppc_wrappers/smmintrin.h
clang/lib/Headers/ppc_wrappers/tmmintrin.h
clang/lib/Headers/ppc_wrappers/xmmintrin.h
clang/test/CodeGen/ppc-mm-malloc.c
clang/test/CodeGen/ppc-mmintrin.c
clang/test/CodeGen/ppc-pmmintrin.c
clang/test/CodeGen/ppc-smmintrin.c
clang/test/CodeGen/ppc-tmmintrin.c
clang/test/CodeGen/ppc-xmmintrin.c
|