apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bri...@apache.org
Subject cvs commit: apr/atomic/solaris_sparc apr_atomic_sparc.s
Date Mon, 22 Apr 2002 03:09:07 GMT
brianp      02/04/21 20:09:07

  Modified:    atomic/solaris_sparc apr_atomic_sparc.s
  Log:
  Removed some extraneous code from the apr_atomic_cas function
  Reviewed by: Justin Erenkrantz
  
  Revision  Changes    Path
  1.5       +0 -6      apr/atomic/solaris_sparc/apr_atomic_sparc.s
  
  Index: apr_atomic_sparc.s
  ===================================================================
  RCS file: /home/cvs/apr/atomic/solaris_sparc/apr_atomic_sparc.s,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apr_atomic_sparc.s	13 Mar 2002 20:39:08 -0000	1.4
  +++ apr_atomic_sparc.s	22 Apr 2002 03:09:07 -0000	1.5
  @@ -110,12 +110,6 @@
           ENTRY(apr_atomic_casptr_sparc)
   
           cas 	[%o0], %o2, %o1
  -        cmp     %o1, %o2        ! if o1 == o2 values weren't swapped
  -        bne,a 	_apr_atomic_cas_ne
  -        mov      %o2, %o0
  -        retl
  -        mov      %o2, %o0
  -_apr_atomic_cas_ne:
           retl
           mov      %o1, %o0
           
  
  
  

Mime
View raw message