[ds at schleef.org: Re: [gst-devel] SPARC optimized atomic functions]

David Schleef ds at schleef.org
Mon May 12 12:17:02 CEST 2003


----- Forwarded message from David Schleef <ds at schleef.org> -----

From: David Schleef <ds at schleef.org>
To: James A Morrison <ja2morri at student.math.uwaterloo.ca>
Subject: Re: [gst-devel] SPARC optimized atomic functions
Reply-To: David Schleef <ds at schleef.org>

On Mon, May 12, 2003 at 10:31:14AM -0400, James A Morrison wrote:
> 
>  Hi,
> 
>   I've gone and fixed the SPARC atomic functions.  Thanks go to David Miller
> for the idea of putting the lock in the lowest 8 bits of a word.  Actually,
> the instructions are taken from ___atomic_sub and __atomic_add in 
> [linux]/arch/sparc/lib/atomic.S, but David Miller doesn't care what people do
> with the code, so I adapted it, and here it is.
> 
>   So far I have been able to run net-rhythmbox and 
> ./gst-launch fakesrc ! { queue ! fakesink } without any trouble.  I've also
> only tried compiling this with gcc 3.2.

This code was disabled because it didn't compile.  Does your code
compile for all sparc subarchitectures?  (I'm not an expert here,
I just understand broken build logs.)



dave...


----- End forwarded message -----




More information about the gstreamer-devel mailing list