From owner-cvs-all Mon Jan 15 19:46:17 2001 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 1094F37B401; Mon, 15 Jan 2001 19:45:56 -0800 (PST) Received: (from jhb@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f0G3juR67937; Mon, 15 Jan 2001 19:45:56 -0800 (PST) (envelope-from jhb) Message-Id: <200101160345.f0G3juR67937@freefall.freebsd.org> From: John Baldwin Date: Mon, 15 Jan 2001 19:45:55 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include mutex.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG jhb 2001/01/15 19:45:55 PST Modified files: sys/i386/include mutex.h Log: - Use "+a" instead of "=&a" for several constraints. This should fix compiling errors where gcc would run out of registers. - Add "cc" to the list of clobbers for micro-ops where we perform instructions that alter %eflags. - Use xchgl instead of cmpxchgl to release a spin lock. This could allow for more efficient register allocation as we no longer mandate that %eax be used. - Reenable the optimized mutex micro-ops in the non-i386 case. Revision Changes Path 1.23 +20 -26 src/sys/i386/include/mutex.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message