S/390: Fix vmslg instruction and builtin.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Tue, 26 Sep 2017 10:35:53 +0000 (10:35 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Tue, 26 Sep 2017 10:35:53 +0000 (10:35 +0000)
gcc/ChangeLog:

2017-09-26  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

* config/s390/vx-builtins.md ("vmslg"): Add missing operand in
assembler output.
* config/s390/s390-builtins.def: Fix constraint on op4.

From-SVN: r253198

gcc/ChangeLog
gcc/config/s390/s390-builtins.def
gcc/config/s390/vx-builtins.md

index 430b08b6e10431306eef89a8e585048679bc49e4..87801a43cc3c9db41dd800e4ffad0d79bef9a316 100644 (file)
@@ -1,3 +1,9 @@
+2017-09-26  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/s390/vx-builtins.md ("vmslg"): Add missing operand in
+       assembler output.
+       * config/s390/s390-builtins.def: Fix constraint on op4.
+
 2017-09-26  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
 
        * config/s390/s390.c (s390_expand_vec_compare): Use the new mode
index ddcf370cb234d56e4447292afd63c5d2294e73b3..3f7bae7ca56f65faac2d63b34aa2a27ef112a84a 100644 (file)
@@ -2271,7 +2271,7 @@ OB_DEF_VAR (s390_vec_test_mask_dbl,     s390_vtm,           0,
 B_DEF      (s390_vtm,                   vec_test_mask_intv16qi,0,               B_VX,               0,                  BT_FN_INT_UV16QI_UV16QI)
 
 B_DEF      (s390_vec_msum_u128,         vec_msumv2di,       0,                  B_VXE,              O4_U2,              BT_FN_UV16QI_UV2DI_UV2DI_UV16QI_INT)
-B_DEF      (s390_vmslg,                 vmslg,              0,                  B_VXE,              O4_U2,              BT_FN_INT128_UV2DI_UV2DI_INT128_INT)
+B_DEF      (s390_vmslg,                 vmslg,              0,                  B_VXE,              O4_U4,              BT_FN_INT128_UV2DI_UV2DI_INT128_INT)
 
 OB_DEF     (s390_vec_eqv,               s390_vec_eqv_b8,    s390_vec_eqv_dbl_c, B_VXE,              BT_FN_OV4SI_OV4SI_OV4SI)
 OB_DEF_VAR (s390_vec_eqv_b8,            s390_vnx,           0,                  0,                  BT_OV_BV16QI_BV16QI_BV16QI)
index 4c157e32efb13dcbafa87c9be52f3492df50980f..7fb176c2fa47667e0b2c71b27b0a2d1faee906d9 100644 (file)
                       (match_operand:QI    4 "const_mask_operand" "C")]
                      UNSPEC_VEC_MSUM))]
   "TARGET_VXE"
-  "vmslg\t%v0,%v1,%v2,%v3"
+  "vmslg\t%v0,%v1,%v2,%v3,%4"
   [(set_attr "op_type" "VRR")])
 
 (define_insn "vmslg"
                    (match_operand:QI    4 "const_mask_operand" "C")]
                   UNSPEC_VEC_MSUM))]
   "TARGET_VXE"
-  "vmslg\t%v0,%v1,%v2,%v3"
+  "vmslg\t%v0,%v1,%v2,%v3,%4"
   [(set_attr "op_type" "VRR")])