re PR target/84760 (Finish implementation of __builtin_altivec_lvx_v1ti)
authorKelvin Nilsen <kelvin@gcc.gnu.org>
Thu, 22 Mar 2018 15:42:39 +0000 (15:42 +0000)
committerKelvin Nilsen <kelvin@gcc.gnu.org>
Thu, 22 Mar 2018 15:42:39 +0000 (15:42 +0000)
commitb51b0c9dc0a44c20e40deda3b0452007a979bbb1
tree96df36a041edc9e872f6fe0ede541e7e4b24aabd
parent7c69a7d9bdabb4d0200718edfff54a139e488b7f
re PR target/84760 (Finish implementation of __builtin_altivec_lvx_v1ti)

gcc/ChangeLog:

2018-03-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/84760
* doc/extend.texi: Add four new prototypes for vec_ld.
* config/rs6000/rs6000-builtin.def (LVX_V1TI): Reorder symbol
definitions for more logical presentation.
* config/rs6000/rs6000-c.c: (altivec_overloaded_builtins): Add
entries for V1TI variants of __builtin_altivec_ld builtin.
* config/rs6000/rs6000.c: (altivec_expand_lv_builtin): Add test and
handling of V1TI variant of LVX icode pattern.
(altivec_expand_builtin): Add case for ALTIVEC_BUILTIN_LVX_V1TI.
(rs6000_gimple_fold_builtin): Likewise.
(altivec_init_builtins): Add code to define
__builtin_altivec_lvx_v1ti function.

gcc/testsuite/ChangeLog:

2018-03-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>

PR target/84760
* gcc.target/powerpc/altivec-ld-1.c: New test.

From-SVN: r258774
gcc/ChangeLog
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000-c.c
gcc/config/rs6000/rs6000.c
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/altivec-ld-1.c [new file with mode: 0644]