This is an improvement over the two pshufbs and punpcklqdq we'd get otherwise.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 25129 Build 25128: arc lint + arc unit
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 174521 lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/avg.ll
test/CodeGen/X86/avx-trunc.ll
test/CodeGen/X86/avx2-arith.ll
test/CodeGen/X86/avx2-conversions.ll
test/CodeGen/X86/combine-mul.ll
test/CodeGen/X86/pmul.ll
test/CodeGen/X86/prefer-avx256-mask-extend.ll
test/CodeGen/X86/prefer-avx256-mask-shuffle.ll
test/CodeGen/X86/prefer-avx256-trunc.ll
test/CodeGen/X86/psubus.ll
test/CodeGen/X86/shuffle-vs-trunc-256-widen.ll
test/CodeGen/X86/shuffle-vs-trunc-256.ll
test/CodeGen/X86/vector-mul.ll
test/CodeGen/X86/vector-reduce-mul.ll
test/CodeGen/X86/vector-shift-shl-128.ll
test/CodeGen/X86/vector-trunc-math-widen.ll
test/CodeGen/X86/vector-trunc-math.ll
test/CodeGen/X86/vector-trunc-widen.ll
test/CodeGen/X86/vector-trunc.ll
|