If we have BWI instructions we can widen to v32i16 to do the multiply instead of splitting.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D38305
[X86] Use BWI instructions to improve lowering of v32i8 MULHU/S ClosedPublic Authored by craig.topper on Sep 26 2017, 10:30 PM.
Details Summary If we have BWI instructions we can widen to v32i16 to do the multiply instead of splitting.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Sep 28 2017, 5:53 AM Closed by commit rL314432: [X86] Use BWI instructions to improve lowering of v32i8 MULHU/S (authored by ctopper). · Explain WhySep 28 2017, 10:02 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 116760 lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/vector-idiv-sdiv-256.ll
test/CodeGen/X86/vector-idiv-udiv-256.ll
|