From owner-cvs-all Tue Sep 12 15:45:47 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id BE0E937B423; Tue, 12 Sep 2000 15:45:44 -0700 (PDT) Received: (from dfr@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA69821; Tue, 12 Sep 2000 15:45:44 -0700 (PDT) (envelope-from dfr@FreeBSD.org) Message-Id: <200009122245.PAA69821@freefall.freebsd.org> From: Doug Rabson Date: Tue, 12 Sep 2000 15:45:44 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/include atomic.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dfr 2000/09/12 15:45:44 PDT Modified files: sys/alpha/include atomic.h Log: * Redo the cmpset inlines to use one less register. This incidentally fixes a serious problem with the previous version where an input could have been placed in the same register as an output which would stop the inline from working properly. * Redo atomic_{set,clear,add,subtract}_{32,64} as inlines since the code sequence is shorter than the call sequence to the code in atomic.s. I will remove the functions from atomic.s after a grace period to allow people to rebuild kernel modules. Revision Changes Path 1.4 +158 -24 src/sys/alpha/include/atomic.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message