This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Add vector conversion builtins to altivec.h - clang portion
ClosedPublic

Authored by nemanjai on Nov 4 2016, 2:02 PM.

Details

Summary

This patch adds the following interfaces:

vector double vec_double (vector signed long long);
vector double vec_double (vector unsigned long long);
vector double vec_doublee (vector signed int);
vector double vec_doublee (vector unsigned int);
vector double vec_doublee (vector float);
vector double vec_doubleh (vector signed int);
vector double vec_doubleh (vector unsigned int);
vector double vec_doubleh (vector float);
vector double vec_doublel (vector signed int);
vector double vec_doublel (vector unsigned int);
vector double vec_doublel (vector float);
vector double vec_doubleo (vector signed int);
vector double vec_doubleo (vector unsigned int);
vector double vec_doubleo (vector float);
vector float vec_float (vector signed int);
vector float vec_float (vector unsigned int);
vector float vec_float2 (vector signed long long, vector signed long long);
vector float vec_float2 (vector unsigned long long, vector unsigned long long);
vector float vec_float2 (vector double, vector double);
vector float vec_floate (vector signed long long);
vector float vec_floate (vector unsigned long long);
vector float vec_floate (vector double);
vector float vec_floato (vector signed long long);
vector float vec_floato (vector unsigned long long);
vector float vec_floato (vector double);
vector signed int vec_signed (vector float);
vector signed long long vec_signed (vector double);
vector signed int vec_signed2 (vector double, vector double);
vector signed int vec_signede (vector double);
vector signed int vec_signedo (vector double);
vector unsigned int vec_unsigned (vector float);
vector unsigned long long vec_unsigned (vector double);
vector unsigned int vec_unsigned2 (vector double, vector double);
vector unsigned int vec_unsignede (vector double);
vector unsigned int vec_unsignedo (vector double);

Diff Detail

Repository
rL LLVM

Event Timeline

nemanjai updated this revision to Diff 76939.Nov 4 2016, 2:02 PM
nemanjai retitled this revision from to [PowerPC] Add vector conversion builtins to altivec.h - clang portion.
nemanjai updated this object.
nemanjai set the repository for this revision to rL LLVM.
nemanjai added a subscriber: cfe-commits.
kbarton accepted this revision.Nov 8 2016, 10:34 AM
kbarton edited edge metadata.

LGTM

This revision is now accepted and ready to land.Nov 8 2016, 10:34 AM
nemanjai closed this revision.Nov 11 2016, 12:19 PM

Committed revision 286627.