Re: [PATCH, rs6000] Add support for vec_extract_fp_from_shorth() and vec_extract_fp_from_short

2017-07-13 Thread Segher Boessenkool
Hi Carl, On Wed, Jul 12, 2017 at 04:08:20PM -0700, Carl Love wrote: > * config/rs6000/vsx.md(vsx_xvcvhpsp): Add define_insn. Space before (. > +;; Generate xvcvhpsp instruction > +(define_insn "vsx_xvcvhpsp" > + [(set (match_operand:V4SF 0 "vsx_register_operand" "=wa") > + (unspec:V4S

[PATCH, rs6000] Add support for vec_extract_fp_from_shorth() and vec_extract_fp_from_short

2017-07-12 Thread Carl Love
GCC Maintainers: The following patch adds support for the vec_extract_fp_from_shorth() and vec_extract_fp_from_short builtin functions. The patch has been tested on powerpc64le-unknown-linux-gnu (Power 8 LE) and powerpc64le-unknown-linux-gnu (Power 9 LE). The test generates 1 unsupported test on