Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2017-01-23 Thread Richard Earnshaw (lists)
On 20/01/17 18:13, Eric Botcazou wrote: >> This seems to have fallen through a crack. Did you get a chance to try >> either of these suggestions? > > So just: > > /* { dg-do run } */ > /* { dg-options "-mapcs-frame -O -foptimize-sibling-calls > -ffunction-sections" > } */ > > in the header of

Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2017-01-20 Thread Eric Botcazou
> This seems to have fallen through a crack. Did you get a chance to try > either of these suggestions? So just: /* { dg-do run } */ /* { dg-options "-mapcs-frame -O -foptimize-sibling-calls -ffunction-sections" } */ in the header of the tescase? -- Eric Botcazou

Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2017-01-20 Thread Richard Earnshaw (lists)
On 01/09/16 10:03, Richard Earnshaw (lists) wrote: > On 01/09/16 10:03, Richard Earnshaw (lists) wrote: >> On 01/09/16 08:47, Eric Botcazou wrote: Since you're going to need a back-port there should be a PR filed for this. >>> >>> PR target/77439 >>> Have you checked that this works with

Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2016-09-01 Thread Richard Earnshaw (lists)
On 01/09/16 10:03, Richard Earnshaw (lists) wrote: > On 01/09/16 08:47, Eric Botcazou wrote: >>> Since you're going to need a back-port there should be a PR filed for this. >> >> PR target/77439 >> >>> Have you checked that this works with multi-lib dejagnu runs and on >>> hard-float systems? I do

Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2016-09-01 Thread Richard Earnshaw (lists)
On 01/09/16 08:47, Eric Botcazou wrote: >> Since you're going to need a back-port there should be a PR filed for this. > > PR target/77439 > >> Have you checked that this works with multi-lib dejagnu runs and on >> hard-float systems? I doubt this will work in armhf-linux, for example. > > No,

Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2016-09-01 Thread Eric Botcazou
> Since you're going to need a back-port there should be a PR filed for this. PR target/77439 > Have you checked that this works with multi-lib dejagnu runs and on > hard-float systems? I doubt this will work in armhf-linux, for example. No, I guess some dg-skip-if would be in order, but I'm no

Re: [ARM] Fix broken sibcall with longcall, APCS frame and VFP

2016-08-31 Thread Richard Earnshaw (lists)
On 31/08/16 16:35, Eric Botcazou wrote: > Hi, > > this is a regression present on the mainline and 6 branch and introduced by: > > 2014-04-25 Jiong Wang > > * config/arm/predicates.md (call_insn_operand): Add long_call check. > * config/arm/arm.md (sibcall, sibcall_value): Force t

[ARM] Fix broken sibcall with longcall, APCS frame and VFP

2016-08-31 Thread Eric Botcazou
Hi, this is a regression present on the mainline and 6 branch and introduced by: 2014-04-25 Jiong Wang * config/arm/predicates.md (call_insn_operand): Add long_call check. * config/arm/arm.md (sibcall, sibcall_value): Force the address to reg for long_call. * c