S/390: Remove unused expanders from vx-builtins.md
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Thu, 2 Feb 2017 12:19:50 +0000 (12:19 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 2 Feb 2017 12:19:50 +0000 (12:19 +0000)
These expanders are currently not used.  The vecintrin.h header file
expands e.g. vec_ceil directly to the vfidb low-level builtin.

gcc/ChangeLog:

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

* config/s390/vx-builtins.md ("vec_ceil", "vec_floor")
("vec_trunc", "vec_roundc", "vec_round"): Remove expanders.

From-SVN: r245123

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

index a083ac699914a14d99f3aa225f8012ae5d87a36b..cc3e98bf60518651b55a1bbcb354f9ec2ce891db 100644 (file)
@@ -1,3 +1,8 @@
+2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/s390/vx-builtins.md ("vec_ceil", "vec_floor")
+       ("vec_trunc", "vec_roundc", "vec_round"): Remove expanders.
+
 2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
 
        * config/s390/s390.md: Add missing comments with the expanded
index e53cca811eef953ea79690eb3d8319ad721e7307..900a8ad348382751a9808f8c441a4bf167090d9d 100644 (file)
   "vfidb\t%v0,%v1,%b2,%b3"
   [(set_attr "op_type" "VRR")])
 
-(define_expand "vec_ceil"
-  [(set (match_operand:V2DI               0 "register_operand" "")
-       (unspec:V2DI [(match_operand:V2DF 1 "register_operand" "")
-                     (const_int VEC_RND_TO_INF)]
-                    UNSPEC_VEC_VFIDB))]
-  "TARGET_VX")
-
-(define_expand "vec_floor"
-  [(set (match_operand:V2DI               0 "register_operand" "")
-       (unspec:V2DI [(match_operand:V2DF 1 "register_operand" "")
-                     (const_int VEC_RND_TO_MINF)]
-                    UNSPEC_VEC_VFIDB))]
-  "TARGET_VX")
-
-(define_expand "vec_trunc"
-  [(set (match_operand:V2DI               0 "register_operand" "")
-       (unspec:V2DI [(match_operand:V2DF 1 "register_operand" "")
-                     (const_int VEC_RND_TO_ZERO)]
-                    UNSPEC_VEC_VFIDB))]
-  "TARGET_VX")
-
-(define_expand "vec_roundc"
-  [(set (match_operand:V2DI               0 "register_operand" "")
-       (unspec:V2DI [(match_operand:V2DF 1 "register_operand" "")
-                     (const_int VEC_RND_CURRENT)]
-                    UNSPEC_VEC_VFIDB))]
-  "TARGET_VX")
-
-(define_expand "vec_round"
-  [(set (match_operand:V2DI               0 "register_operand" "")
-       (unspec:V2DI [(match_operand:V2DF 1 "register_operand" "")
-                     (const_int VEC_RND_NEAREST_TO_EVEN)]
-                    UNSPEC_VEC_VFIDB))]
-  "TARGET_VX")
-
 
 ; Vector load lengthened - V4SF -> V2DF