Re: [PATCH] S390: Fix PR/77822.

2016-11-11 Thread Andreas Krebbel
On 11/11/2016 10:42 AM, Matthias Klose wrote: > On 11.11.2016 09:58, Andreas Krebbel wrote: >> On 11/08/2016 03:38 PM, Dominik Vogt wrote: >>> The attached patch fixes PR/77822 on s390/s390x dor gcc-6 *only*. >>> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 >>> >>> Bootstrapped and regres

Re: [PATCH] S390: Fix PR/77822.

2016-11-11 Thread Matthias Klose
On 11.11.2016 09:58, Andreas Krebbel wrote: > On 11/08/2016 03:38 PM, Dominik Vogt wrote: >> The attached patch fixes PR/77822 on s390/s390x dor gcc-6 *only*. >> See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 >> >> Bootstrapped and regression tested on s390 and s390x biarch on a >> zEC12. >

Re: [PATCH] S390: Fix PR/77822.

2016-11-11 Thread Andreas Krebbel
On 11/08/2016 03:38 PM, Dominik Vogt wrote: > The attached patch fixes PR/77822 on s390/s390x dor gcc-6 *only*. > See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 > > Bootstrapped and regression tested on s390 and s390x biarch on a > zEC12. > > For gcc-7, there will be a different patch. A

Re: [PATCH] S390: Fix PR/77822.

2016-11-09 Thread Dominik Vogt
xtzv_zEC12") ("*extzv_z10"): Check validity of zero_extend arguments. gcc/testsuite/ChangeLog * gcc.target/s390/pr77822.c: New test for PR/77822. >From ce5616dca250c4735105346111e5ea7934b49b55 Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Tue, 8 Nov 2016 09:54:03 +010

Re: [PATCH] S390: Fix PR/77822.

2016-11-08 Thread Matthias Klose
On 08.11.2016 15:38, Dominik Vogt wrote: > The attached patch fixes PR/77822 on s390/s390x dor gcc-6 *only*. > See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77822 > > Bootstrapped and regression tested on s390 and s390x biarch on a > zEC12. missing the testcase mentioned in the ChangeLog.

[PATCH] S390: Fix PR/77822.

2016-11-08 Thread Dominik Vogt
aa6 Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Tue, 8 Nov 2016 09:54:03 +0100 Subject: [PATCH] S390: Fix PR/77822. Check the range of the arguments in extzv patterns. This avoids generating risbg instructions with an out of range shift count. --- gcc/config/s390/s390.md | 12 ++-- 1