NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/49995 CVS commit: [netbsd-7] src/common/lib/libc/arch/m68k/atomic



The following reply was made to PR lib/49995; it has been noted by GNATS.

From: "Soren Jacobsen" <snj%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/49995 CVS commit: [netbsd-7] src/common/lib/libc/arch/m68k/atomic
Date: Thu, 16 Jul 2015 21:45:52 +0000

 Module Name:	src
 Committed By:	snj
 Date:		Thu Jul 16 21:45:52 UTC 2015
 
 Modified Files:
 	src/common/lib/libc/arch/m68k/atomic [netbsd-7]: atomic_cas.S
 
 Log Message:
 Pull up following revision(s) (requested by isaki in ticket #865):
 	common/lib/libc/arch/m68k/atomic/atomic_cas.S: revisions 1.11, 1.12
 atomic_cas_{8,16}:
  - Correct the wrong offset in stack.
 __sync_bool_compare_and_swap_{1,2,4}:
  - Correct the wrong offset in stack.
  - D3 must be preserved in subroutines.
 PR/49995.
 --
 Improve the code in __sync_bool_compare_and_swap_{1,2,4}.
 - bccs is smaller and faster than bcc(.w) in this case.
 - it can be used movql in this case (assembler optimise it though).
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.10 -r1.10.4.1 \
     src/common/lib/libc/arch/m68k/atomic/atomic_cas.S
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index