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  <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
This commit is contained in:
Andreas Krebbel 2017-02-02 12:19:50 +00:00 committed by Andreas Krebbel
parent 50dc4eedfe
commit aa2cbb1a6c
2 changed files with 5 additions and 35 deletions

View 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

View File

@ -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