Date: Sun, 13 Oct 2002 00:07:51 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf Makefile.ia64 Message-ID: <200210130707.g9D77pb4095298@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210130707.g9D77pb4095298>
