summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-10-13 07:07:51 +0000
committermarcel <marcel@FreeBSD.org>2002-10-13 07:07:51 +0000
commit4e38a7aca149126f267e178522984f3b6c522f98 (patch)
tree1f54e98d559bec3907ded00bbd73081ebab8c31f /gnu
parentec9727e8a45de00a008016614ac6c8083fcb3aad (diff)
downloadFreeBSD-src-4e38a7aca149126f267e178522984f3b6c522f98.zip
FreeBSD-src-4e38a7aca149126f267e178522984f3b6c522f98.tar.gz
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.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud