New target check for double<->int conversions
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 4 Oct 2017 11:59:30 +0000 (11:59 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 4 Oct 2017 11:59:30 +0000 (11:59 +0000)
commit30d027da83cdcc174747ce19381525a16c4a4503
tree5aeec85f033603ace711571b98c84aba26cf9b7c
parentc059a92eccd96d00ffd23801d032eba14ff2a244
New target check for double<->int conversions

gcc/ChangeLog:

2017-10-04  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* doc/sourcebuild.texi: Document vect_intdouble_cvt and
vect_doubleint_cvt.

gcc/testsuite/ChangeLog:

2017-10-04  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* gcc.dg/vect/pr66251.c: Replace vect_floatint_cvt with
vect_doubleint_cvt and vect_intfloat_cvt with vect_intdouble_cvt.
* gcc.dg/vect/vect-floatint-conversion-2.c: Replace
vect_floatint_cvt with vect_doubleint_cvt.
* gcc.dg/vect/vect-intfloat-conversion-3.c: Replace
vect_intfloat_cvt with vect_intdouble_cvt.
* gfortran.dg/vect/pr60510.f: Require vect_intdouble_cvt.
* gfortran.dg/vect/vect-8.f90: Make number of vectorized loops
depend on vect_intdouble_cvt.
* lib/target-supports.exp
(check_effective_target_vect_doubleint_cvt)
(check_effective_target_vect_intdouble_cvt): New procs.

From-SVN: r253406
gcc/ChangeLog
gcc/doc/sourcebuild.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr66251.c
gcc/testsuite/gcc.dg/vect/vect-floatint-conversion-2.c
gcc/testsuite/gcc.dg/vect/vect-intfloat-conversion-3.c
gcc/testsuite/gfortran.dg/vect/pr60510.f
gcc/testsuite/gfortran.dg/vect/vect-8.f90
gcc/testsuite/lib/target-supports.exp