This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Implement missing instructions.
ClosedPublic

Authored by jtony on Jan 4 2017, 10:27 AM.

Details

Summary

Implement the following missing instructions from ISA 2.06:
fctidu[.], fctiwu[.], ftdiv, ftsqrt

Diff Detail

Event Timeline

jtony updated this revision to Diff 83077.Jan 4 2017, 10:27 AM
jtony retitled this revision from to [PowerPC] Implement missing instructions..
jtony updated this object.
jtony added subscribers: llvm-commits, echristo.
hfinkel added inline comments.Jan 4 2017, 10:48 AM
lib/Target/PowerPC/PPCISelLowering.cpp
1035 ↗(On Diff #83077)

The spacing is off here (but unless you're adding code that uses these, save this for later).

lib/Target/PowerPC/PPCISelLowering.h
51

Please add these only in a patch that uses them.

jtony updated this revision to Diff 83086.Jan 4 2017, 10:58 AM
jtony marked 2 inline comments as done.

Address the comments from Hal.

nemanjai accepted this revision.Jan 4 2017, 2:01 PM
nemanjai edited edge metadata.

I don't think that addressing the one inline comment requires another review - please address it, test it and then commit.

LGTM

lib/Target/PowerPC/PPCInstrInfo.td
2175

I don't think this is necessary on this def or the next.

This revision is now accepted and ready to land.Jan 4 2017, 2:01 PM
jtony marked an inline comment as done.Jan 5 2017, 6:51 AM
jtony closed this revision.Jan 8 2017, 8:12 AM