This is the first patch of several to come to add support for quad-precision floating point operations.
Legalize and emit code for quad-precision floating point operations:
- xsaddqp
- xssubqp
- xsdivqp
- xsmulqp
Paths
| Differential D44506
[Power9]Legalize and emit code for quad-precision add/div/mul/sub ClosedPublic Authored by lei on Mar 14 2018, 10:43 PM.
Details Summary This is the first patch of several to come to add support for quad-precision floating point operations. Legalize and emit code for quad-precision floating point operations:
Diff Detail Event TimelineComment Actions LGTM. Please add the requested test case on the commit - no need for an additional review.
This revision is now accepted and ready to land.Mar 16 2018, 5:24 PM Closed by commit rL327878: [PowerPC][Power9]Legalize and emit code for quad-precision add/div/mul/sub (authored by lei). · Explain WhyMar 19 2018, 11:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 138492 lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCInstrVSX.td
test/CodeGen/PowerPC/f128-arith.ll
|
Can you please add an additional test case for this. We want to make sure no future patches break it. Something along these lines should suffice:
We need to make sure we emit LXVX and STXVX here rather than their D-Form analogs.