gcc/ChangeLog:
commitd782c3b8b57df075182da39c27e593b88c912510
authorcarll <carll@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jul 2017 16:50:22 +0000 (24 16:50 +0000)
committercarll <carll@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Jul 2017 16:50:22 +0000 (24 16:50 +0000)
tree12164755d44c8c937412f89bd6d506d4776f73d5
parentbe601c3e6e9f9023ece53fa53834706e0667b22b
gcc/ChangeLog:

2017-07-24  Carl Love  <cel@us.ibm.com>

* config/rs6000/rs6000-c.c: Add support for built-in functions
vector float vec_extract_fp32_from_shorth (vector unsigned short);
vector float vec_extract_fp32_from_shortl (vector unsigned short);
* config/rs6000/altivec.h (vec_extract_fp_from_shorth,
vec_extract_fp_from_shortl): Add defines for the two builtins.
* config/rs6000/rs6000-builtin.def (VEXTRACT_FP_FROM_SHORTH,
VEXTRACT_FP_FROM_SHORTL): Add BU_P9V_OVERLOAD_1 and BU_P9V_VSX_1
new builtins.
* config/rs6000/vsx.md vsx_xvcvhpsp): Add define_insn.
(vextract_fp_from_shorth, vextract_fp_from_shortl): Add define_expands.
* doc/extend.texi: Update the built-in documentation file for the
new built-in function.

gcc/testsuite/ChangeLog:

2017-07-24  Carl Love  <cel@us.ibm.com>

* gcc.target/powerpc/builtins-3-p9-runnable.c: Add new test file for
the new built-ins.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250477 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rs6000/altivec.h
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000-c.c
gcc/config/rs6000/vsx.md
gcc/doc/extend.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-3-p9-runnable.c [new file with mode: 0644]