This patch adds the floating point multiply-add instructions. Double precision variants already exist, single precision variants added in ISA 2.07. he following instructions are added:
xsmaddasp
xsmaddmsp
xsmsubasp
xsmsubmsp
xsnmaddasp
xsnmaddmsp
xsnmsubasp
xsnmsubmsp
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Please also include tests corresponding to those in test/CodeGen/PowerPC/vsx-fma-m.ll.
lib/Target/PowerPC/PPCInstrVSX.td | ||
---|---|---|
1093 | This line is too long (please try to keep to 80 cols). Same is true for several lines below. |
I will add those tests in the next review. I'll give it a bit of time to see if any other comments need to be addressed in the next review.
lib/Target/PowerPC/PPCInstrVSX.td | ||
---|---|---|
1093 | OK, sorry I will fix it. I just copied the corresponding double precision ones. |
Added the missing test coverage outlined by Hal.
Also added some support for the single precision loads and stores to fast-isel as that test case involves a run with fast-isel.
The new fast-isel bits look fine to me. If Hal's comfortable with the new FMA tests, this should be ready to go.
This line is too long (please try to keep to 80 cols). Same is true for several lines below.