This is an archive of the discontinued LLVM Phabricator instance.

[PPC] Implement vmrgew and vmrgow instructions
ClosedPublic

Authored by kbarton on Jun 24 2015, 1:07 PM.

Details

Summary

This patch adds support for the vector merge even word and vector merge odd word instructions introduced in POWER8.

Diff Detail

Event Timeline

kbarton updated this revision to Diff 28387.Jun 24 2015, 1:07 PM
kbarton retitled this revision from to [PPC] Implement vmrgew and vmrgow instructions.
kbarton updated this object.
kbarton edited the test plan for this revision. (Show Details)
kbarton added reviewers: wschmidt, hfinkel, seurer, nemanjai.
kbarton added a subscriber: Unknown Object (MLST).
wschmidt accepted this revision.Jun 24 2015, 3:31 PM
wschmidt edited edge metadata.

Other than a nit in the test case commentary, this LGTM. Thanks for handling this very confusing stuff and documenting it well!

test/CodeGen/PowerPC/vec_mergeow.ll
36

In this case, the swapped input registers comment doesn't matter.

85

Same comment here.

This revision is now accepted and ready to land.Jun 24 2015, 3:31 PM
kbarton closed this revision.Jun 25 2015, 8:18 AM

Committed revision 240650.