From owner-cvs-src-old@FreeBSD.ORG Tue Jun 7 17:33:55 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB6BC1065787 for ; Tue, 7 Jun 2011 17:33:55 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 998158FC18 for ; Tue, 7 Jun 2011 17:33:55 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p57HXtm6015262 for ; Tue, 7 Jun 2011 17:33:55 GMT (envelope-from marius@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p57HXtfH015261 for cvs-src-old@freebsd.org; Tue, 7 Jun 2011 17:33:55 GMT (envelope-from marius@repoman.freebsd.org) Message-Id: <201106071733.p57HXtfH015261@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marius@repoman.freebsd.org using -f From: Marius Strobl Date: Tue, 7 Jun 2011 17:33:39 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sparc64/include ktr.h src/sys/sparc64/sparc64 exception.S mp_locore.S mp_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2011 17:33:55 -0000 marius 2011-06-07 17:33:39 UTC FreeBSD src repository Modified files: sys/sparc64/include ktr.h sys/sparc64/sparc64 exception.S mp_locore.S mp_machdep.c Log: SVN rev 222828 on 2011-06-07 17:33:39Z by marius Adapt CATR() to r222813. This is somewhat tricky as we can't afford using more than three temporary register in several places CATR() is used so this code trades instructions in for registers. Actually, this still isn't sufficient and CATR() has the side-effect of clobbering %y. Luckily, with the current uses of CATR() this either doesn't matter or we are able to (save and) restore it. Now that there's only one use of AND() and TEST() left inline these. Revision Changes Path 1.9 +28 -16 src/sys/sparc64/include/ktr.h 1.86 +54 -40 src/sys/sparc64/sparc64/exception.S 1.18 +6 -2 src/sys/sparc64/sparc64/mp_locore.S 1.68 +0 -3 src/sys/sparc64/sparc64/mp_machdep.c