This is an archive of the discontinued LLVM Phabricator instance.

Clang support for vector quad bit permute and gather instructions through builtins
ClosedPublic

Authored by nemanjai on May 28 2015, 11:28 AM.

Details

Summary

This is for just two instructions and related builtins:
vbpermq
vgbbd

Diff Detail

Repository
rL LLVM

Event Timeline

nemanjai updated this revision to Diff 26708.May 28 2015, 11:28 AM
nemanjai retitled this revision from to Clang support for vector quad bit permute and gather instructions through builtins.
nemanjai updated this object.
nemanjai edited the test plan for this revision. (Show Details)
nemanjai added reviewers: hfinkel, wschmidt, seurer, kbarton.
nemanjai set the repository for this revision to rL LLVM.
nemanjai added a subscriber: Unknown Object (MLST).
wschmidt accepted this revision.Jun 8 2015, 8:37 AM
wschmidt edited edge metadata.

LGTM with small changes to the test case.

test/CodeGen/builtins-ppc-p8vector.c
705

You should have the three checks for both the signed and unsigned versions, not just the unsigned one.

712

Same here.

This revision is now accepted and ready to land.Jun 8 2015, 8:37 AM
nemanjai closed this revision.Jun 10 2015, 11:29 PM

Added the missing checks to the test case.
Committed revision 239506.