This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC][Power10] Implement VSX PCV Generate Operations in LLVM/Clang
ClosedPublic

Authored by amyk on Jun 12 2020, 4:25 PM.

Details

Summary

This patch implements builtins for the following prototypes for the VSX Permute Control Vector Generate with Mask Instructions:

vector unsigned char vec_genpcvm (vector unsigned char, const int);
vector unsigned short vec_genpcvm (vector unsigned short, const int);
vector unsigned int vec_genpcvm (vector unsigned int, const int);
vector unsigned long long vec_genpcvm (vector unsigned long long, const int);

Depends on D80935

Diff Detail

Event Timeline

amyk created this revision.Jun 12 2020, 4:25 PM
lei accepted this revision as: lei.Jun 15 2020, 12:33 PM
lei added a subscriber: lei.

LGTM

This revision is now accepted and ready to land.Jun 15 2020, 12:33 PM
This revision was automatically updated to reflect the committed changes.