[tremor] [PATCH] eliminate alloca() usage
timmy brolin
timmy at home.se
Thu Oct 17 19:25:43 PDT 2002
> > Nicolas Pitre wrote:
> >
>> > If your compiler doesn't support variable-length automatic arrays nor a
>> > proper alloca() implementation then please do yourself a favor by trashing
>> > it and install GCC instead.
>>
>> GCC doesn't generate very fast code on most targets.
>Well it was certainly the case for gcc versions < 3, especially on ARM.
>With the latest gcc this claim might not be true anymore.
Are there any comparisons or performance analysis to back up that claim?
I know that GCC 2 produced much less efficient code for ARM7 than other highly optimizing compilers, and I'am told from several ppl that GCC 3 isn't that much better.
I have access to a highly optimizing ARM7 compiler (IAR Systems), I tried to get tremor to compile on it. First try: over 900 errors and a few hundred warnings :)
IAR lacks alloca(), and it has trouble with the inline instruction and one or two other calls.
I tried for some time to make it work, but I failed.
--
Timmy
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'tremor-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Tremor
mailing list