diff options
author | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-25 11:15:44 +0000 |
---|---|---|
committer | krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2017-04-25 11:15:44 +0000 |
commit | 55564e01c431f71474e0b8109d0fb9086fdc8613 (patch) | |
tree | 94b77dba372ebbb62fd4f940bd65646feb8b7023 /gcc/ChangeLog | |
parent | e74853fd41c31a5a1c62a0fd6ee935b1a674a143 (diff) | |
download | gcc-55564e01c431f71474e0b8109d0fb9086fdc8613.tar.gz |
S/390: PR79895: Fix TImode constant handling
The P constraint letter is supposed to match every constant which is
acceptable during reload. However, constraints do not appear to be
able to handle const_wide_int yet. It works with predicates so the
alternative is modelled with a new predicate now.
gcc/ChangeLog:
2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Backport from mainline
2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
PR target/79895
* config/s390/predicates.md (reload_const_wide_int_operand): New
predicate.
* config/s390/s390.md ("movti"): Remove d/P alternative.
("movti_bigconst"): New pattern definition.
gcc/testsuite/ChangeLog:
2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
Backport from mainline
2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
PR target/79895
* gcc.target/s390/pr79895.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-7-branch@247190 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ffeafcbdf05..b5151e00ed8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,14 @@ +2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com> + + Backport from mainline + 2017-04-25 Andreas Krebbel <krebbel@linux.vnet.ibm.com> + + PR target/79895 + * config/s390/predicates.md (reload_const_wide_int_operand): New + predicate. + * config/s390/s390.md ("movti"): Remove d/P alternative. + ("movti_bigconst"): New pattern definition. + 2017-04-25 Dominik Vogt <vogt@linux.vnet.ibm.com> Backport from maineline |