This is my first attempt to implement mul instruction legalization for wider-than-legal types.
It reduces one full precision mul to 8 half precision muls using basic school approach. It is probably only useful up to i512 types.
Paths
| Differential D8770
Multiplication for wider-than-legal types Needs ReviewPublic Authored by chfast on Apr 1 2015, 7:16 AM. This revision needs review, but there are no reviewers specified.
Details
Summary This is my first attempt to implement mul instruction legalization for wider-than-legal types. It reduces one full precision mul to 8 half precision muls using basic school approach. It is probably only useful up to i512 types.
Diff Detail
Revision Contents
Diff 23049 lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
test/CodeGen/X86/mul.ll
|