diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2017-10-09 12:06:11 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2017-10-09 12:06:11 +0000 |
commit | 3141e768ee22a6dda9a5aaf6201191bdbc46a6e0 (patch) | |
tree | 8b1b56c852a648e0856777b1ac077a1788c3b1d2 /gcc/config | |
parent | 85f59ae75ce1376395dbf32612134a148672abde (diff) | |
download | gcc-3141e768ee22a6dda9a5aaf6201191bdbc46a6e0.zip gcc-3141e768ee22a6dda9a5aaf6201191bdbc46a6e0.tar.gz gcc-3141e768ee22a6dda9a5aaf6201191bdbc46a6e0.tar.bz2 |
S/390: PR82465: Fix vec_sqrt builtin flags
The vector double variant is available with z13. A wrong flag in the
s390-builtins.def file triggered an error when compiling for z13.
gcc/testsuite/ChangeLog:
2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
PR target/82465
* gcc.target/s390/zvector/pr82465.c: New test.
gcc/ChangeLog:
2017-10-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
PR target/82465
* config/s390/s390-builtins.def (vec_sqrt): Fix builtin flags.
From-SVN: r253542
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/s390/s390-builtins.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/s390/s390-builtins.def b/gcc/config/s390/s390-builtins.def index cc87a81..f052466 100644 --- a/gcc/config/s390/s390-builtins.def +++ b/gcc/config/s390/s390-builtins.def @@ -2843,9 +2843,9 @@ OB_DEF (s390_vec_nabs, s390_vec_nabs_flt, s390_vec_nabs_dbl, 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. */ |