This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[Committed] S/390: Remove unused expanders from vx-builtins.md
- From: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Feb 2017 13:20:40 +0100
- Subject: [Committed] S/390: Remove unused expanders from vx-builtins.md
- Authentication-results: sourceware.org; auth=none
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.
---
gcc/config/s390/vx-builtins.md | 35 -----------------------------------
1 file changed, 35 deletions(-)
diff --git a/gcc/config/s390/vx-builtins.md b/gcc/config/s390/vx-builtins.md
index e53cca8..900a8ad 100644
--- a/gcc/config/s390/vx-builtins.md
+++ b/gcc/config/s390/vx-builtins.md
@@ -1745,41 +1745,6 @@
"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
--
2.9.1