Re: [Tinycc-devel] Generating better i386 code

2013-09-25 Thread Daniel Glöckner
Hi Jason, On Thu, Sep 26, 2013 at 03:39:45PM +1000, Jason Hood wrote: > * 4- & 8-byte structs copy as int/long long (all targets); did you check if the structure is aligned to a multiple of 4 bytes? Otherwise it will crash on ARM. Daniel ___ Tinycc-

Re: [Tinycc-devel] Generating better i386 code

2013-09-25 Thread Robert Clausecker
Looks like a nice patch. I have some issues though. > * 4- & 8-byte structs copy as int/long long (all targets); > * passing structs <= 8 bytes will be treated as int/long long; > * returning structs <= 8 bytes is done via (edx)eax (PE only); > * added ebx to the register list (increasing prolog b

Re: [Tinycc-devel] Generating better i386 code

2013-09-25 Thread Yann Collet
that's brillliant 2013/9/26 Jason Hood > Greetings. > > It's rather funny timing that a couple of topics have come up about > optimization and exe size, as I've just spent the past couple of weeks > improving the generated i386 code (most of which would also apply to > x86-64, but I've not done

[Tinycc-devel] Generating better i386 code

2013-09-25 Thread Jason Hood
Greetings. It's rather funny timing that a couple of topics have come up about optimization and exe size, as I've just spent the past couple of weeks improving the generated i386 code (most of which would also apply to x86-64, but I've not done that). Not sure what the protocol regarding patches

Re: [Tinycc-devel] inline assembly and optimization passes

2013-09-25 Thread Jared Maddox
> Date: Tue, 24 Sep 2013 05:31:40 +0200 > From: Sylvain BERTRAND > To: tinycc-devel@nongnu.org > Subject: Re: [Tinycc-devel] inline assembly and optimization passes > Message-ID: <20130924033140.GG754@freedom> > Content-Type: text/plain; charset=us-ascii > Thoughts? >>> >>> Wow... :) You tot