From aa2cbb1a6cf59b6bd3215ed2a53cf88ffcda3bc7 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Thu, 2 Feb 2017 12:19:50 +0000 Subject: [PATCH] S/390: Remove unused expanders from vx-builtins.md 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 * config/s390/vx-builtins.md ("vec_ceil", "vec_floor") ("vec_trunc", "vec_roundc", "vec_round"): Remove expanders. From-SVN: r245123 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/vx-builtins.md | 35 ---------------------------------- 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a083ac69991..cc3e98bf605 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-02-02 Andreas Krebbel + + * config/s390/vx-builtins.md ("vec_ceil", "vec_floor") + ("vec_trunc", "vec_roundc", "vec_round"): Remove expanders. + 2017-02-02 Andreas Krebbel * config/s390/s390.md: Add missing comments with the expanded diff --git a/gcc/config/s390/vx-builtins.md b/gcc/config/s390/vx-builtins.md index e53cca811ee..900a8ad3483 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