This is an archive of the discontinued LLVM Phabricator instance.

Implement vector count leading/trailing bytes with zero lsb and vector parity builtins - clang portion
ClosedPublic

Authored by syzaara on Oct 26 2016, 11:40 AM.

Details

Summary

Implement builtins for prototypes:
signed int vec_cntlz_lsbb (vector signed char);
signed int vec_cntlz_lsbb (vector unsigned char);
signed int vec_cnttz_lsbb (vector signed char);
signed int vec_cnttz_lsbb (vector unsigned char);
vector unsigned int vec_parity_lsbb (vector signed int);
vector unsigned int vec_parity_lsbb (vector unsigned int);
vector unsigned int128 vec_parity_lsbb (vector signed int128);
vector unsigned int128 vec_parity_lsbb (vector unsigned int128);
vector unsigned long long vec_parity_lsbb (vector signed long long);
vector unsigned long long vec_parity_lsbb (vector unsigned long long);

Diff Detail

Event Timeline

syzaara updated this revision to Diff 75920.Oct 26 2016, 11:40 AM
syzaara retitled this revision from to Implement vector count leading/trailing bytes with zero lsb and vector parity builtins - clang portion.
syzaara updated this object.
syzaara added subscribers: cfe-commits, echristo.
nemanjai edited edge metadata.Oct 27 2016, 12:57 AM

Other than the minor nit, this LGTM.

include/clang/Basic/BuiltinsPPC.def
275

No need for this extra blank line.

kbarton accepted this revision.Oct 27 2016, 1:10 PM
kbarton edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 27 2016, 1:10 PM
syzaara updated this revision to Diff 76110.Oct 27 2016, 2:59 PM
syzaara edited edge metadata.

Remove extra blank line.

echristo accepted this revision.Oct 27 2016, 4:18 PM
echristo added a reviewer: echristo.

Committed revision 285436.
Zaara, please close this review if there are no buildbot failures.

syzaara closed this revision.Oct 31 2016, 12:28 PM