From owner-cvs-all Sun Oct 13 0: 7:53 2002 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 5317137B401; Sun, 13 Oct 2002 00:07:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02E7143EDA; Sun, 13 Oct 2002 00:07:52 -0700 (PDT) (envelope-from marcel@FreeBSD.org) Received: from freefall.freebsd.org (marcel@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9D77pCo095299; Sun, 13 Oct 2002 00:07:51 -0700 (PDT) (envelope-from marcel@freefall.freebsd.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9D77pb4095298; Sun, 13 Oct 2002 00:07:51 -0700 (PDT) Message-Id: <200210130707.g9D77pb4095298@freefall.freebsd.org> From: Marcel Moolenaar Date: Sun, 13 Oct 2002 00:07:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf Makefile.ia64 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 2002/10/13 00:07:51 PDT Modified files: sys/conf Makefile.ia64 Log: Build the kernel with -mconstant-gp. This means that function calls, with the exception of indirect function calls, are assumed to be intra load module and thus that GP will be the same. This avoids saving, setting and restoring GP for each function call and reduces the kernel with ~320KB. There's obviously a performance benefit as well. Note that since we generally don't know if calls will be intra or inter load module when we're compiling kernel modules, -mconstant-gp cannot be used for modules. Revision Changes Path 1.53 +2 -0 src/sys/conf/Makefile.ia64 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message