Received: by mail.netbsd.org (Postfix, from userid 605) id 6B22B14A24E; Thu, 16 Jul 2015 21:45:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 628EA14A251 for ; Thu, 16 Jul 2015 21:45:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id l1owl4wJGkTS for ; Thu, 16 Jul 2015 21:45:52 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 6E2C114A23F for ; Thu, 16 Jul 2015 21:45:52 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 681EA98; Thu, 16 Jul 2015 21:45:52 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 16 Jul 2015 21:45:52 +0000 From: "Soren Jacobsen" Subject: CVS commit: [netbsd-7] src/common/lib/libc/arch/m68k/atomic To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20150716214552.681EA98@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Soren Jacobsen" Mail-Followup-To: source-changes-d@NetBSD.org 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.