To meet customers' requirement of building their libs in 32 bits targets:
Support 3 builtin functions
_mm_cvtsi128_si64 _mm_cvtsi64_si128 _mm_extract_epi64
for 32-bits targets.
Paths
| Differential D124067
[x86] Support 3 builtin functions for 32-bits targets ClosedPublic Authored by xiangzhangllvm on Apr 19 2022, 10:55 PM.
Details Summary To meet customers' requirement of building their libs in 32 bits targets: _mm_cvtsi128_si64 _mm_cvtsi64_si128 _mm_extract_epi64 for 32-bits targets.
Diff Detail
Event Timeline
Comment Actions I'm updating the sse builtin test files to include i386 coverage - should be done in an hour or so Comment Actions OK - SSE2/SSE41 now have i386 coverage - please can you rebase and update the checks to use CHECK/X64/X86 ? Comment Actions
Hi @RKSimon, I very appreciate your help to update the test! You are very kind! In fact, I should do it before this patch. Thank you very much! xiangzhangllvm marked an inline comment as done. xiangzhangllvm added inline comments.
xiangzhangllvm marked an inline comment as done.
xiangzhangllvm marked an inline comment as done. xiangzhangllvm added inline comments.
This revision is now accepted and ready to land.Apr 21 2022, 3:56 AM xiangzhangllvm added inline comments.
This revision was landed with ongoing or failed builds.Apr 21 2022, 8:29 PM Closed by commit rGafa536e33e10: [x86] Support 3 builtin functions for 32-bits mode (authored by xiangzhangllvm). · Explain Why This revision was automatically updated to reflect the committed changes. Comment Actions close with clang format at
Revision Contents
Diff 424363 clang/include/clang/Basic/BuiltinsX86.def
clang/include/clang/Basic/BuiltinsX86_64.def
clang/lib/Headers/emmintrin.h
clang/lib/Headers/smmintrin.h
clang/test/CodeGen/X86/sse2-builtins.c
clang/test/CodeGen/X86/sse41-builtins.c
|
Why not the vec_set function?