[tremor] ARM ASM performance gains, EVC vs. GCC
marc dukette
dukette at adelphia.net
Wed Oct 23 18:14:24 PDT 2002
Just an update, the latest Tremor(using _LOW_ACCURACY_) now uses about 12%
CPU on a 128kbit vorbis file, compiled under eVC. This is definitely better
than even PocketDivx's optimized version of MAD MP3 decoder.
Great job to all those who contributed to getting this project in shape so
fast. Vorbis will now be the audio of choice for PocketDivx videos, at
least on SA based devices. Still testing performance on MIPS 150mhz
devices, though it is definitely fast enough for HQ audio at least.
----- Original Message -----
From: "Werner Sharp" <werner at sharp-software.com>
To: <tremor at xiph.org>
Sent: Wednesday, October 09, 2002 5:43 PM
Subject: Re: [tremor] ARM ASM performance gains, EVC vs. GCC
<p>> Hi Marc,
>
> I don't have any ideas about the inline expansion. What are your project
> setting for the inline optimization? I have it set to "Only __inline"
but
> there's also "Any suitable". Maybe choosing the latter would get it
> inlined.
>
> One of us EVC wimps should really get GCC installed and see if it provides
> better performance for this. I just haven't found the time to get it
done.
> Do all I need is the cygwin tools installed with gcc? Or is there a
> special ARM-COFF version that I would need to get?
>
> -Werner
>
> ----- Original Message -----
> From: "marc dukette" <dukette at adelphia.net>
> To: <tremor at xiph.org>
> Sent: Wednesday, October 09, 2002 5:08 PM
> Subject: Re: [tremor] ARM ASM performance gains, EVC vs. GCC
>
>
> > ok, this is Bizarre, eVC should actually accept the __inline for
function
> in
> > an included header file. In fact if you look at the assembly from the
> last
> > go around I think you will see the MULT31 is actually generated
properly,
> > however the XPROD function is not. Interestingly this was the case with
> > both my and Werner's compile(we are not sharing projects). Now for the
> > real mystery... in the codebase you provided with your patch this now
> works
> > for the XPROD functions and I do see a minimal performance improvement
by
> > replacing the MACROS with your inline functions. I can however go back
to
> > the last codebase, with the same eVC project file, and it will NOT allow
> the
> > XPROD functions to be inlined. I will continue digging on this, Werner,
> any
> > ideas? I guess I should check some of my other projects to make sure
the
> > functions that are suppose to be inline really are.
> >
> > That aside PocketDivx will now be switching to Tremor as it now
> outperforms
> > Nicholas' original port of vorbis. Nice job!!
> >
> > ----- Original Message -----
> > From: "Nicolas Pitre" <nico at cam.org>
> > To: "marc dukette" <dukette at adelphia.net>
> > Cc: <tremor at xiph.org>
> > Sent: Wednesday, October 09, 2002 3:34 PM
> > Subject: Re: [tremor] ARM ASM performance gains, EVC vs. GCC
> >
> >
> > > On Wed, 9 Oct 2002, marc dukette wrote:
> > >
> > > > well as for making eVC use the inline, yeah I had missed this. eVC
> will
> > only
> > > > respect inline functions in the same file. It'll be a little ugly,
> but
> > I
> > > > should be able to make this work.
> > >
> > > Does this include files which are #included as well? If so that's the
> > case
> > > for GCC as well.
> > >
> > >
> > > Nicolas
> > >
> > > --- >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.
> >
> > --- >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.
> >
>
> --- >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.
--- >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