This is an improvement over the two pshufbs and punpcklqdq we'd get otherwise.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D54671
[X86] Lower v16i16->v8i16 truncate using an 'and' with 255, an extract_subvector, and a packuswb instruction. ClosedPublic Authored by craig.topper on Nov 17 2018, 4:01 PM.
Details Summary This is an improvement over the two pshufbs and punpcklqdq we'd get otherwise.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 18 2018, 4:57 AM Closed by commit rL347171: [X86] Lower v16i16->v8i16 truncate using an 'and' with 255, an… (authored by ctopper). · Explain WhyNov 18 2018, 10:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 174542 llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
llvm/trunk/test/CodeGen/X86/avg.ll
llvm/trunk/test/CodeGen/X86/avx-trunc.ll
llvm/trunk/test/CodeGen/X86/avx2-arith.ll
llvm/trunk/test/CodeGen/X86/avx2-conversions.ll
llvm/trunk/test/CodeGen/X86/combine-mul.ll
llvm/trunk/test/CodeGen/X86/pmul.ll
llvm/trunk/test/CodeGen/X86/prefer-avx256-mask-extend.ll
llvm/trunk/test/CodeGen/X86/prefer-avx256-mask-shuffle.ll
llvm/trunk/test/CodeGen/X86/prefer-avx256-trunc.ll
llvm/trunk/test/CodeGen/X86/psubus.ll
llvm/trunk/test/CodeGen/X86/shuffle-vs-trunc-256-widen.ll
llvm/trunk/test/CodeGen/X86/shuffle-vs-trunc-256.ll
llvm/trunk/test/CodeGen/X86/vector-mul.ll
llvm/trunk/test/CodeGen/X86/vector-reduce-mul.ll
llvm/trunk/test/CodeGen/X86/vector-shift-shl-128.ll
llvm/trunk/test/CodeGen/X86/vector-trunc-math-widen.ll
llvm/trunk/test/CodeGen/X86/vector-trunc-math.ll
llvm/trunk/test/CodeGen/X86/vector-trunc-widen.ll
llvm/trunk/test/CodeGen/X86/vector-trunc.ll
|