Re: ppc eabi float arguments

2015-09-23 Thread Alan Modra
On Wed, Sep 23, 2015 at 07:09:43PM -0400, Michael Meissner wrote: > On Tue, Sep 22, 2015 at 01:43:55PM -0400, David Edelsohn wrote: > > On Tue, Sep 22, 2015 at 1:39 PM, Bernhard Schommer > > wrote: > > > Hi, > > > > > > if been working with the windriver Diab c compiler for 32bit ppc for and > >

Re: ppc eabi float arguments

2015-09-23 Thread Michael Meissner
On Thu, Sep 24, 2015 at 01:21:07AM +0200, Gabriel Paubert wrote: > You worked on PPC 10 years before the first Power systems were > announced? > > Amazing foresight :-) Ok, I was mis-remembering the dates when I started at Cygnus Solutions (forgetting the Open Software Foundation period). Lets s

Re: ppc eabi float arguments

2015-09-23 Thread Gabriel Paubert
On Wed, Sep 23, 2015 at 07:09:43PM -0400, Michael Meissner wrote: > On Tue, Sep 22, 2015 at 01:43:55PM -0400, David Edelsohn wrote: > > On Tue, Sep 22, 2015 at 1:39 PM, Bernhard Schommer > > wrote: > > > Hi, > > > > > > if been working with the windriver Diab c compiler for 32bit ppc for and > >

Re: ppc eabi float arguments

2015-09-23 Thread Michael Meissner
On Tue, Sep 22, 2015 at 01:43:55PM -0400, David Edelsohn wrote: > On Tue, Sep 22, 2015 at 1:39 PM, Bernhard Schommer > wrote: > > Hi, > > > > if been working with the windriver Diab c compiler for 32bit ppc for and > > encountered an incompatibly with the eabi version of the gcc 4.83. When > > ca

Re: ppc eabi float arguments

2015-09-22 Thread Alan Modra
On Tue, Sep 22, 2015 at 07:39:43PM +0200, Bernhard Schommer wrote: > Does anyone know the reason why the gcc passes the argument as single float? That's how the first powerpc gcc implementation behaved. Once gcc compiled code is out in the field, you need to ask everyone to recompile their code i

Re: ppc eabi float arguments

2015-09-22 Thread Joseph Myers
I advise looking at the "Power Architecture® 32-bit Application Binary Interface Supplement 1.0 - Embedded", not any older EABI documents. There may well be bugs in this ABI document (i.e. it may fail to reflect actual practice), but it's still more reliable as a guide to current practice than

Re: ppc eabi float arguments

2015-09-22 Thread Bernhard Schommer
Am 22.09.2015 um 19:43 schrieb David Edelsohn: On Tue, Sep 22, 2015 at 1:39 PM, Bernhard Schommer wrote: Hi, if been working with the windriver Diab c compiler for 32bit ppc for and encountered an incompatibly with the eabi version of the gcc 4.83. When calling functions with more than 8 floa

Re: ppc eabi float arguments

2015-09-22 Thread David Edelsohn
On Tue, Sep 22, 2015 at 1:39 PM, Bernhard Schommer wrote: > Hi, > > if been working with the windriver Diab c compiler for 32bit ppc for and > encountered an incompatibly with the eabi version of the gcc 4.83. When > calling functions with more than 8 float arguments the gcc stores the 9th > floa

ppc eabi float arguments

2015-09-22 Thread Bernhard Schommer
Hi, if been working with the windriver Diab c compiler for 32bit ppc for and encountered an incompatibly with the eabi version of the gcc 4.83. When calling functions with more than 8 float arguments the gcc stores the 9th float argument (and so on) as a float where as the diab compiler stores th