+2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ PR target/82465
+ * config/s390/s390-builtins.def (vec_sqrt): Fix builtin flags.
+
2017-10-09 Jakub Jelinek <jakub@redhat.com>
PR target/82464
OB_DEF_VAR (s390_vec_nabs_flt, s390_vflnsb, 0, 0, BT_OV_V4SF_V4SF)
OB_DEF_VAR (s390_vec_nabs_dbl, s390_vflndb, B_VX, 0, BT_OV_V2DF_V2DF)
-OB_DEF (s390_vec_sqrt, s390_vec_sqrt_flt, s390_vec_sqrt_dbl, B_VXE, BT_FN_OV4SI_OV4SI)
-OB_DEF_VAR (s390_vec_sqrt_flt, s390_vfsqsb, 0, 0, BT_OV_V4SF_V4SF)
-OB_DEF_VAR (s390_vec_sqrt_dbl, s390_vfsqdb, B_VX, 0, BT_OV_V2DF_V2DF)
+OB_DEF (s390_vec_sqrt, s390_vec_sqrt_flt, s390_vec_sqrt_dbl, B_VX, BT_FN_OV4SI_OV4SI)
+OB_DEF_VAR (s390_vec_sqrt_flt, s390_vfsqsb, B_VXE, 0, BT_OV_V4SF_V4SF)
+OB_DEF_VAR (s390_vec_sqrt_dbl, s390_vfsqdb, 0, 0, BT_OV_V2DF_V2DF)
/* Test data class with boolean result *AND* cc mode. */
+2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
+
+ PR target/82465
+ * gcc.target/s390/zvector/pr82465.c: New test.
+
2017-10-09 Wilco Dijkstra <wdijkstr@arm.com>
* gcc.dg/tree-ssa/ssa-dse-26.c (dg-options): Add -fno-short-enums.
--- /dev/null
+/* { dg-do compile { target { s390*-*-* } } } */
+/* { dg-options "-march=z13 -mzarch -mzvector" } */
+
+/* The vector double variant is available with z13. A wrong flag in
+ the s390-builtins.def file triggered an error when compiling for
+ z13. */
+
+typedef __vector double v2df;
+
+#include <vecintrin.h>
+
+v2df
+foo (v2df a)
+{
+ return vec_sqrt(a);
+}