[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] gcc (was: mono)



Hi,

On Tuesday 02 February 2010, Helmut Karlowski wrote:
> Am 02.02.2010, 22:05 Uhr, schrieb Eero Tamminen <oak@helsinkinet.fi>:
> > I have seen *50x* speed increase in a thing that did graphics
>
> You mean factor 50 = 5000%?

Right.


>> operarations using multiple static function calls per pixel.  Without
>> optimization they had function call overhead, with optimization they were
>> optimized mostly away.
>
> That's not a normal case as I understand it, and it's surely not
> something for .net. You can only write in this way when you know the
> compiler will straighten the code. I'm not sure if I would do this.

Sure, it was an extreme case, an example of how large difference there
can be.


> And (to become on-topic again) I see with a little headache that MiNT-code
> gets more and more gcc-4-specific. So it will become more difficult or
> impossible to use another compiler (like AHCC or whatever) someday.

Gets gcc-4 specific how?

Or did you mean specific to the C-library used with gcc?

Most used gcc extensions have ended in c99 standard and Henk
is adding c99 support to AHCC...


	- Eero