This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor'
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 07 Oct 2017 12:05:38 +0000
- Subject: [Bug target/82464] s390x z14: vector float: invalid parameter combination for intrinsic '__builtin_s390_vec_xor'
- Auto-submitted: auto-generated
- References: <bug-82464-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82464
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I think:
--- gcc/config/s390/s390-builtins.def.jj 2017-10-06 11:25:44.000000000
+0200
+++ gcc/config/s390/s390-builtins.def 2017-10-07 13:47:34.851529686 +0200
@@ -1621,6 +1621,9 @@ OB_DEF_VAR (s390_vec_xor_s64_c,
OB_DEF_VAR (s390_vec_xor_u64_a, s390_vx, B_DEP,
0, BT_OV_UV2DI_BV2DI_UV2DI)
OB_DEF_VAR (s390_vec_xor_u64_b, s390_vx, 0,
0, BT_OV_UV2DI_UV2DI_UV2DI)
OB_DEF_VAR (s390_vec_xor_u64_c, s390_vx, B_DEP,
0, BT_OV_UV2DI_UV2DI_BV2DI)
+OB_DEF_VAR (s390_vec_xor_flt_a, s390_vx, B_VXE | B_DEP,
0, BT_OV_V4SF_BV4SI_V4SF)
+OB_DEF_VAR (s390_vec_xor_flt_b, s390_vx, B_VXE,
0, BT_OV_V4SF_V4SF_V4SF)
+OB_DEF_VAR (s390_vec_xor_flt_c, s390_vx, B_VXE | B_DEP,
0, BT_OV_V4SF_V4SF_BV4SI)
OB_DEF_VAR (s390_vec_xor_dbl_a, s390_vx, B_DEP,
0, BT_OV_V2DF_BV2DI_V2DF)
OB_DEF_VAR (s390_vec_xor_dbl_b, s390_vx, 0,
0, BT_OV_V2DF_V2DF_V2DF)
OB_DEF_VAR (s390_vec_xor_dbl_c, s390_vx, B_DEP,
0, BT_OV_V2DF_V2DF_BV2DI)
ought to fix it. I'm just don't see any vec_{and,or,xor} tests in the
testsuite, so dunno where to add test for this.