[BACK]Return to atomic_add.S CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / common / lib / libc / arch / powerpc / atomic

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/common/lib/libc/arch/powerpc/atomic/atomic_add.S between version 1.4 and 1.4.4.2

version 1.4, 2008/02/13 03:55:54 version 1.4.4.2, 2008/06/04 02:02:58
Line 15 
Line 15 
  * 2. Redistributions in binary form must reproduce the above copyright   * 2. Redistributions in binary form must reproduce the above copyright
  *    notice, this list of conditions and the following disclaimer in the   *    notice, this list of conditions and the following disclaimer in the
  *    documentation and/or other materials provided with the distribution.   *    documentation and/or other materials provided with the distribution.
  * 3. All advertising materials mentioning features or use of this software  
  *    must display the following acknowledgement:  
  *      This product includes software developed by the NetBSD  
  *      Foundation, Inc. and its contributors.  
  * 4. Neither the name of The NetBSD Foundation nor the names of its  
  *    contributors may be used to endorse or promote products derived  
  *    from this software without specific prior written permission.  
  *   *
  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS   * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED   * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
Line 40 
Line 33 
   
         .text          .text
   
 ENTRY_NOPROFILE(_atomic_add_32)  ENTRY(_atomic_add_32)
 1:      lwarx   %r10,0,%r3  1:      lwarx   %r10,0,%r3
         add     %r10,%r10,%r4          add     %r10,%r10,%r4
         stwcx.  %r10,0,%r3          stwcx.  %r10,0,%r3
Line 56  ATOMIC_OP_ALIAS(atomic_add_ptr,_atomic_a
Line 49  ATOMIC_OP_ALIAS(atomic_add_ptr,_atomic_a
 STRONG_ALIAS(_atomic_add_ptr,_atomic_add_32)  STRONG_ALIAS(_atomic_add_ptr,_atomic_add_32)
 #endif  #endif
   
 ENTRY_NOPROFILE(_atomic_add_32_nv)  ENTRY(_atomic_add_32_nv)
 1:      lwarx   %r10,0,%r3  1:      lwarx   %r10,0,%r3
         add     %r10,%r10,%r4          add     %r10,%r10,%r4
         stwcx.  %r10,0,%r3          stwcx.  %r10,0,%r3

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.4.2

CVSweb <webmaster@jp.NetBSD.org>