S/390: Use VEC_INEXACT/VEC_NOINEXACT instead of magic numbers.
2018-12-13 Andreas Krebbel <krebbel@linux.ibm.com> * config/s390/vx-builtins.md ("vec_ctd_s64", "vec_ctd_u64") ("vec_ctsl", "vec_ctul"): Replace 0 with VEC_NOINEXACT. ("vec_double_s64", "vec_double_u64"): Replace 4 with VEC_INEXACT. From-SVN: r267083
This commit is contained in:
parent
bc51a764a3
commit
99daf8e848
@ -1,3 +1,9 @@
|
|||||||
|
2018-12-13 Andreas Krebbel <krebbel@linux.ibm.com>
|
||||||
|
|
||||||
|
* config/s390/vx-builtins.md ("vec_ctd_s64", "vec_ctd_u64")
|
||||||
|
("vec_ctsl", "vec_ctul"): Replace 0 with VEC_NOINEXACT.
|
||||||
|
("vec_double_s64", "vec_double_u64"): Replace 4 with VEC_INEXACT.
|
||||||
|
|
||||||
2018-12-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
2018-12-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||||
|
|
||||||
* doc/invoke.texi (-msve-vector-bits): Clarify -msve-vector-bits=128
|
* doc/invoke.texi (-msve-vector-bits): Clarify -msve-vector-bits=128
|
||||||
|
@ -1606,7 +1606,7 @@
|
|||||||
(define_expand "vec_ctd_s64"
|
(define_expand "vec_ctd_s64"
|
||||||
[(set (match_operand:V2DF 0 "register_operand" "")
|
[(set (match_operand:V2DF 0 "register_operand" "")
|
||||||
(unspec:V2DF [(match_operand:V2DI 1 "register_operand" "")
|
(unspec:V2DF [(match_operand:V2DI 1 "register_operand" "")
|
||||||
(const_int 4) ; inexact suppressed
|
(const_int VEC_NOINEXACT)
|
||||||
(const_int VEC_RND_CURRENT)]
|
(const_int VEC_RND_CURRENT)]
|
||||||
UNSPEC_VEC_VCDGB))
|
UNSPEC_VEC_VCDGB))
|
||||||
(use (match_operand:QI 2 "const_int_operand" ""))
|
(use (match_operand:QI 2 "const_int_operand" ""))
|
||||||
@ -1637,7 +1637,7 @@
|
|||||||
(define_expand "vec_ctd_u64"
|
(define_expand "vec_ctd_u64"
|
||||||
[(set (match_operand:V2DF 0 "register_operand" "")
|
[(set (match_operand:V2DF 0 "register_operand" "")
|
||||||
(unspec:V2DF [(match_operand:V2DI 1 "register_operand" "")
|
(unspec:V2DF [(match_operand:V2DI 1 "register_operand" "")
|
||||||
(const_int 4) ; inexact suppressed
|
(const_int VEC_NOINEXACT)
|
||||||
(const_int VEC_RND_CURRENT)]
|
(const_int VEC_RND_CURRENT)]
|
||||||
UNSPEC_VEC_VCDLGB))
|
UNSPEC_VEC_VCDLGB))
|
||||||
(use (match_operand:QI 2 "const_int_operand" ""))
|
(use (match_operand:QI 2 "const_int_operand" ""))
|
||||||
@ -1671,7 +1671,7 @@
|
|||||||
(match_dup 3)))
|
(match_dup 3)))
|
||||||
(set (match_operand:V2DI 0 "register_operand" "")
|
(set (match_operand:V2DI 0 "register_operand" "")
|
||||||
(unspec:V2DI [(match_dup 4)
|
(unspec:V2DI [(match_dup 4)
|
||||||
(const_int 4) ; inexact suppressed
|
(const_int VEC_NOINEXACT)
|
||||||
(const_int VEC_RND_CURRENT)]
|
(const_int VEC_RND_CURRENT)]
|
||||||
UNSPEC_VEC_VCGDB))]
|
UNSPEC_VEC_VCGDB))]
|
||||||
"TARGET_VX"
|
"TARGET_VX"
|
||||||
@ -1704,7 +1704,7 @@
|
|||||||
(match_dup 3)))
|
(match_dup 3)))
|
||||||
(set (match_operand:V2DI 0 "register_operand" "")
|
(set (match_operand:V2DI 0 "register_operand" "")
|
||||||
(unspec:V2DI [(match_dup 4)
|
(unspec:V2DI [(match_dup 4)
|
||||||
(const_int 4) ; inexact suppressed
|
(const_int VEC_NOINEXACT)
|
||||||
(const_int VEC_RND_CURRENT)]
|
(const_int VEC_RND_CURRENT)]
|
||||||
UNSPEC_VEC_VCLGDB))]
|
UNSPEC_VEC_VCLGDB))]
|
||||||
"TARGET_VX"
|
"TARGET_VX"
|
||||||
@ -2025,7 +2025,7 @@
|
|||||||
(define_expand "vec_double_s64"
|
(define_expand "vec_double_s64"
|
||||||
[(set (match_operand:V2DF 0 "register_operand")
|
[(set (match_operand:V2DF 0 "register_operand")
|
||||||
(unspec:V2DF [(match_operand:V2DI 1 "register_operand")
|
(unspec:V2DF [(match_operand:V2DI 1 "register_operand")
|
||||||
(const_int 0) ; inexact suppression disabled
|
(const_int VEC_INEXACT)
|
||||||
(const_int VEC_RND_CURRENT)]
|
(const_int VEC_RND_CURRENT)]
|
||||||
UNSPEC_VEC_VCDGB))]
|
UNSPEC_VEC_VCDGB))]
|
||||||
"TARGET_VX")
|
"TARGET_VX")
|
||||||
@ -2033,7 +2033,7 @@
|
|||||||
(define_expand "vec_double_u64"
|
(define_expand "vec_double_u64"
|
||||||
[(set (match_operand:V2DF 0 "register_operand")
|
[(set (match_operand:V2DF 0 "register_operand")
|
||||||
(unspec:V2DF [(match_operand:V2DI 1 "register_operand")
|
(unspec:V2DF [(match_operand:V2DI 1 "register_operand")
|
||||||
(const_int 0) ; inexact suppression disabled
|
(const_int VEC_INEXACT)
|
||||||
(const_int VEC_RND_CURRENT)]
|
(const_int VEC_RND_CURRENT)]
|
||||||
UNSPEC_VEC_VCDLGB))]
|
UNSPEC_VEC_VCDLGB))]
|
||||||
"TARGET_VX")
|
"TARGET_VX")
|
||||||
|
Loading…
Reference in New Issue
Block a user