Date: Mon, 15 Jan 2001 19:45:55 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include mutex.h Message-ID: <200101160345.f0G3juR67937@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101160345.f0G3juR67937>