diff options
author | Dominik Vogt <vogt@linux.vnet.ibm.com> | 2016-09-23 09:49:58 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2016-09-23 09:49:58 +0000 |
commit | c2586c82cd3c03d20d5f00f5e4e8fded7652d4bc (patch) | |
tree | 577296687eeb1bfcaa7acb595af6db7eb1729a43 /gcc/hooks.h | |
parent | 822f18cd922fba668a3068a6226ee120f7448d81 (diff) | |
download | gcc-c2586c82cd3c03d20d5f00f5e4e8fded7652d4bc.zip gcc-c2586c82cd3c03d20d5f00f5e4e8fded7652d4bc.tar.gz gcc-c2586c82cd3c03d20d5f00f5e4e8fded7652d4bc.tar.bz2 |
S/390: Enable wraparound in s390_contiguous_bitmask_p.
gcc/ChangeLog:
2016-09-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
* config/s390/predicates.md ("contiguous_bitmask_operand"): Adapt to new
interface of s390_contiguous_bitmask_p.
("contiguous_bitmask_nowrap_operand"): New predicate.
* ("*anddi3_cc", "*anddi3_cconly", "*anddi3"): Replace NxxDq with NxxDw.
* config/s390/constraints.md ("NxxDw", "NxxSq"): Adapt to new interface
of s390_contiguous_bitmask_p.
* ("NxxDw"): Rename NxxDq constraint to NxxDw.
("NxxSw"): New constraint.
* config/s390/s390.md ("*andsi3_zarch"): Enable bitmask wraparound.
* config/s390/s390-protos.h (s390_contiguous_bitmask_p): Updated
interface.
(s390_contiguous_bitmask_nowrap_p): Export.
* config/s390/s390.c (s390_contiguous_bitmask_nowrap_p): New name of
former s390_contiguous_bitmask_p.
(s390_contiguous_bitmask_p): Use s390_contiguous_bitmask_nowrap_p to
detect contiguous bit ranges with wraparound. Change signature to
return START and END position instead of POS and LENGTH.
(s390_contiguous_bitmask_vector_p): Remove extra code for continous bit
ranges with wraparound.
(s390_extzv_shift_ok): Use s390_contiguous_bitmask_nowrap_p.
(s390_contiguous_bitmask_vector_p,s390_extzv_shift_ok,print_operand):
Adapt to new signature of s390_contiguous_bitmask_p.
From-SVN: r240413
Diffstat (limited to 'gcc/hooks.h')
0 files changed, 0 insertions, 0 deletions