This is an archive of the discontinued LLVM Phabricator instance.

[PPC] Add vec_absd functions to altivec.h
ClosedPublic

Authored by sfertile on Oct 28 2016, 6:41 AM.

Details

Summary

Adds three overloads of vec_absd to altivec .h, as well as matching PPC specific builtins:

vector unsigned char vec_absd (vector unsigned char, vector unsigned char);
vector unsigned int vec_absd (vector unsigned int, vector unsigned int);
vector unsigned short vec_absd (vector unsigned short, vector unsigned short);

Diff Detail

Event Timeline

sfertile updated this revision to Diff 76186.Oct 28 2016, 6:41 AM
sfertile retitled this revision from to [PPC] Add vec_absd functions to altivec.h.
sfertile updated this object.
sfertile added a subscriber: cfe-commits.
nemanjai edited edge metadata.Oct 28 2016, 9:54 AM

This patch LGTM. I'll let @kbarton/@echristo have a look as well and have the final say.

kbarton accepted this revision.Oct 31 2016, 8:59 AM
kbarton edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 31 2016, 8:59 AM

Committed revision 285679.
Sean, please close this review pending no buildbot failures.

echristo accepted this revision.Nov 1 2016, 10:22 AM
echristo edited edge metadata.
sfertile closed this revision.Nov 1 2016, 4:58 PM