This emits SADD_SAT/SSUB_SAT generic intrinsics for the SSE signed saturated math intrinsics.
LLVM counterpart: https://reviews.llvm.org/D55894
Paths
| Differential D55890
[X86][SSE] Auto upgrade PADDS/PSUBS intrinsics to SADD_SAT/SSUB_SAT generic intrinsics (clang) ClosedPublic Authored by RKSimon on Dec 19 2018, 8:25 AM.
Details
Summary This emits SADD_SAT/SSUB_SAT generic intrinsics for the SSE signed saturated math intrinsics. LLVM counterpart: https://reviews.llvm.org/D55894
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Dec 19 2018, 12:57 PM Closed by commit rL349743: [X86][SSE] Auto upgrade PADDS/PSUBS intrinsics to SADD_SAT/SSUB_SAT generic… (authored by RKSimon). · Explain WhyDec 20 2018, 3:57 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 179036 cfe/trunk/lib/CodeGen/CGBuiltin.cpp
cfe/trunk/test/CodeGen/avx2-builtins.c
cfe/trunk/test/CodeGen/avx512bw-builtins.c
cfe/trunk/test/CodeGen/avx512vlbw-builtins.c
cfe/trunk/test/CodeGen/sse2-builtins.c
|