Re: [PATCH] S/390: Allow to use r2 to r4 as literal pool base.

2015-12-21 Thread Jakub Jelinek
On Fri, Dec 18, 2015 at 11:21:38AM +0100, Dominik Vogt wrote: > Latest patch for r2 to r4, including a test case. > diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c > index ed684af..cba88bb 100644 > --- a/gcc/config/s390/s390.c > +++ b/gcc/config/s390/s390.c > @@ -9584,10 +9584,17 @@ s3

Re: [PATCH] S/390: Allow to use r2 to r4 as literal pool base.

2015-12-18 Thread Andreas Krebbel
On 12/18/2015 11:21 AM, Dominik Vogt wrote: > Latest patch for r2 to r4, including a test case. gcc/ChangeLog * config/s390/s390.c (s390_init_frame_layout): Try r4 to r2 for the literal pool pointer. gcc/testsuite/ChangeLog * gcc.target/s390/litpool-r3-1.c: New test. Appl

Re: [PATCH] S/390: Allow to use r2 to r4 as literal pool base.

2015-12-18 Thread Dominik Vogt
test. >From 67073c8b769e857d709f5e613919a6fe0120202e Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Fri, 11 Dec 2015 11:33:23 +0100 Subject: [PATCH] S/390: Allow to use r2 to r4 as literal pool base pointer. The old code only considered r5 and r13. --- gcc/config/s390/s39