From owner-cvs-all Sun Feb 2 1: 7:17 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F07337B405; Sun, 2 Feb 2003 01:07:16 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E184E43F3F; Sun, 2 Feb 2003 01:07:15 -0800 (PST) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1297Fbv080445; Sun, 2 Feb 2003 01:07:15 -0800 (PST) (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1297FeV080444; Sun, 2 Feb 2003 01:07:15 -0800 (PST) Message-Id: <200302020907.h1297FeV080444@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 2 Feb 2003 01:07:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 genassym.c swtch.s X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG marcel 2003/02/02 01:07:15 PST Modified files: sys/ia64/ia64 genassym.c swtch.s Log: Export IA32 from opt_ia32.h to assembly so that we can eliminate saving and restoring ia32 specific registers when switching context and ia32 support has not been compiled-in. The primary reason for this change is that one of the ia32 registers (ar.fcr) is wrongly marked as invalid by the simulator. Now that we avoid using the register when possible, usability is improved. The secundary reason is that it saves us 7 loads and stores. Note that the PCB will continue to have room for these registers, irrespective of the IA32 option. There are no benefits that make it worthwhile. Revision Changes Path 1.32 +6 -0 src/sys/ia64/ia64/genassym.c 1.25 +10 -0 src/sys/ia64/ia64/swtch.s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message