summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtins-ppc-p9vector.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove reliance on lax vector conversions from altivec.h in VSX mode.Richard Smith2019-09-171-1/+9
| | | | llvm-svn: 372061
* NFC - Fix type in builtins-ppc-p9vector.c testGabor Buella2018-07-041-1/+1
| | | | llvm-svn: 336264
* Remove the -faltivec alias option and replace it with -maltivec everywhere.Eric Christopher2017-03-211-2/+2
| | | | | | | | | | | The alias was only ever used on darwin and had some issues there, and isn't used in practice much. Also fixes a problem with -mno-altivec not turning off -maltivec. Also add a diagnostic for faltivec/fno-altivec that directs users to use maltivec options and include the altivec.h file explicitly. llvm-svn: 298449
* [PowerPC] Fix the wrong implementation of builtin vec_rlnm.Tony Jiang2017-01-111-4/+8
| | | | llvm-svn: 291702
* Add vec_insert4b and vec_extract4b functions to altivec.hSean Fertile2017-01-051-6/+41
| | | | | | | | | Add builtins for the functions and custom codegen mapping the builtins to their corresponding intrinsics and handling the endian related swapping. https://reviews.llvm.org/D26546 llvm-svn: 291179
* vector load store with length (left justified) clang portionZaara Syeda2016-11-151-2/+197
| | | | llvm-svn: 286994
* [PPC] altivec.h functions for converting half precision to single precision.Sean Fertile2016-11-141-0/+18
| | | | | | | | | | Adds 2 vector functions for converting from a vector of unsigned short to a vector of float. One converts the low 4 halfwords and one converts the high 4 halfwords. Differential Revision: https://reviews.llvm.org/D26534 llvm-svn: 286863
* [PPC] add extract sig/exp test data class for vec float and vec double.Sean Fertile2016-11-141-0/+42
| | | | | | | | | | Add vector extract exponent/significand functions to altivec.h, as well as functions (and related constants) to test the data class of vector float and vector double. Differential Revision: https://reviews.llvm.org/D26271 llvm-svn: 286830
* [PowerPC] Implement remaining permute builtins in altivec.h - Clang portionNemanja Ivanovic2016-11-111-1/+98
| | | | | | | | | This patch corresponds to review: https://reviews.llvm.org/D26479 It adds the remaining vector permute/rotate builtins to altivec.h. llvm-svn: 286650
* [PowerPC] Implement vector shift builtins - clang portionNemanja Ivanovic2016-11-011-6/+15
| | | | | | | This patch corresponds to review https://reviews.llvm.org/D26092. Committing on behalf of Tony Jiang. llvm-svn: 285694
* [PPC] Add vec_absd functions to altivec.hNemanja Ivanovic2016-11-011-0/+16
| | | | | | | This patch corresponds to review https://reviews.llvm.org/D26073. Committing on behalf of Sean Fertile. llvm-svn: 285679
* NFC - Reorder test case names in a PPC test caseNemanja Ivanovic2016-10-311-28/+28
| | | | | | | A few recent commits have messed up the order of some tests in a PPC test case. This just reorders them in a sensible way. llvm-svn: 285623
* Implement vector count leading/trailing bytes with zero lsb and vector parityNemanja Ivanovic2016-10-281-0/+77
| | | | | | | | | builtins - clang portion This patch corresponds to review: https://reviews.llvm.org/D26002 Committing on behalf of Zaara Syeda. llvm-svn: 285436
* [PowerPC] Implement vector_insert_exp builtins - clang portionNemanja Ivanovic2016-10-261-0/+28
| | | | | | | This patch corresponds to review https://reviews.llvm.org/D25956. Committing on behalf of Zaara Syeda. llvm-svn: 285229
* Removing optimization from the RUN lines and adjusting the checksNemanja Ivanovic2016-10-051-50/+2
| | | | | | to not rely on optimization. llvm-svn: 283363
* [Power9] Builtins for ELF v.2 ABI conformance - front end portionNemanja Ivanovic2016-09-271-0/+748
This patch corresponds to review: https://reviews.llvm.org/D24397 It adds the __POWER9_VECTOR__ macro and the -mpower9-vector option along with a number of altivec.h functions (refer to the code review for a list). llvm-svn: 282481
OpenPOWER on IntegriCloud