[gst-devel] SPARC optimized atomic functions

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


On Mon, May 12, 2003 at 03:41:50PM -0400, James A Morrison wrote:
>  Well, the code does compile with gcc 3.2.  The old failure on sparc was that
> ___atomic_{add,sub} weren't defined.  Now they aren't needed.  The patch I
> gave just took ___atomic_{add,sub} and ported it to user-space.  So, it will
> work anywhere linux does.  As for subarchitectures, this code works at least
> on sparc v8, I read the spec.  I think it will also work for sparc v7 
> (which isn't common) since linux uses the same code.  As for working on 
> sparc v9 systems, most of those, such as GNU/Linux have a 32 bit userspace 
> which means they just have a superset of instructions over v8, it works on
> v9 systems, like my ultra 5 just fine.  Does that answer your question?

Well, kind of.  But it was a bad question, so I went and checked
it myself.  It works.  (I was specifically checking to see if the
Debian package compiled.)



dave...





More information about the gstreamer-devel mailing list