Re: Using PPC asm (from Linux kernel) in xine

2002-05-23 Thread Albert D. Cahalan
Michel Lanners writes: > On 22 May, this message from Albert D. Cahalan echoed through cyberspace: >> Michel Lanners writes: >>> On 22 May, this message from Albert D. Cahalan echoed through cyberspace: =?iso-8859-1?Q?Rog writes: >>> And don't forget the loop counter and some increment... >

Re: Using PPC asm (from Linux kernel) in xine

2002-05-23 Thread Michel Lanners
On 22 May, this message from Albert D. Cahalan echoed through cyberspace: > Michel Lanners writes: >> On 22 May, this message from Albert D. Cahalan echoed through cyberspace: >>> =?iso-8859-1?Q?Rog writes: > >> [about fast memcopy in asm] >> >>> dcbt eight,src/* prefetch the next cac

Re: Using PPC asm (from Linux kernel) in xine

2002-05-22 Thread David Schleef
On Wed, May 22, 2002 at 10:52:56PM +0200, Michel Lanners wrote: > On 22 May, this message from Albert D. Cahalan echoed through cyberspace: > > =?iso-8859-1?Q?Rog writes: > [abot fast memcopy in asm] > > > > dcbt eight,src/* prefetch the next cache line */ > > loop_top: > > dcba eig

Re: Using PPC asm (from Linux kernel) in xine

2002-05-22 Thread Albert D. Cahalan
Michel Lanners writes: > On 22 May, this message from Albert D. Cahalan echoed through cyberspace: >> =?iso-8859-1?Q?Rog writes: > [abot fast memcopy in asm] > >> dcbt eight,src/* prefetch the next cache line */ >> loop_top: >> dcba eight,dst/* allocate a cache line */ >>

Re: Using PPC asm (from Linux kernel) in xine

2002-05-22 Thread Michel Lanners
On 22 May, this message from Albert D. Cahalan echoed through cyberspace: > =?iso-8859-1?Q?Rog writes: [abot fast memcopy in asm] > > dcbt eight,src/* prefetch the next cache line */ > loop_top: > dcba eight,dst/* allocate a cache line */ > lfd f11,8,(src) > lfd f12,

Re: Using PPC asm (from Linux kernel) in xine

2002-05-22 Thread Albert D. Cahalan
=?iso-8859-1?Q?Rog writes: > According to my tests, cacheable_memcpy is approximately 40% > faster than the original glibc version, which is quite an > improvement: with my tests, the glibc version took approx. 69s > to run, while the cacheable_memcpy took only 42s (repeate

Re: Using PPC asm (from Linux kernel) in xine

2002-05-21 Thread Michel Lanners
On 20 May, this message from Rogério Brito echoed through cyberspace: > Anyway, one of the first things I see is that xine uses a > function called xine_fast_memcpy, which is an alternative > memcpy function possibly written in assembly (if available) or > the standard glib

Re: [xine-user] Using PPC asm (from Linux kernel) in xine

2002-05-21 Thread Rogério Brito
On May 21 2002, Ralf Ertzinger wrote: > Rogério Brito <[EMAIL PROTECTED]> wrote: > > Anyway, one of the first things I see is that xine uses a > > function called xine_fast_memcpy, which is an alternative > > memcpy function possibly written in assembly (if available) or > > the sta

Re: [xine-user] Using PPC asm (from Linux kernel) in xine

2002-05-21 Thread Ralf Ertzinger
Hi. Rogério Brito <[EMAIL PROTECTED]> wrote: > Anyway, one of the first things I see is that xine uses a > function called xine_fast_memcpy, which is an alternative > memcpy function possibly written in assembly (if available) or > the standard glibc, if no other version i

Using PPC asm (from Linux kernel) in xine

2002-05-20 Thread Rogério Brito
Dear people, As you probably know, I am trying what I can to play DVDs well in my (now outdated) :-) iBook 600MHz, combo, which features a G3 processor. I starting to learn PPC assembly and just from reading a bit of Motorola's MPC750 User's Guide,