Commit aa2cbb1a by Andreas Krebbel Committed by Andreas Krebbel

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
parent 50dc4eed
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
mnemonics.
* config/s390/vector.md: Likewise.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment