diff options
author | bde <bde@FreeBSD.org> | 1996-09-07 20:18:04 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-07 20:18:04 +0000 |
commit | ae2d4189ebc2a6a1720a3b8539abfa71c137af43 (patch) | |
tree | 7e8bb1d9b48d81f35122c66959a73b7d21757fa4 /usr.sbin/ctm | |
parent | f3d5d92b3d83f19a2cb4d4cbcdcf60cea4a53ba0 (diff) | |
download | FreeBSD-src-ae2d4189ebc2a6a1720a3b8539abfa71c137af43.zip FreeBSD-src-ae2d4189ebc2a6a1720a3b8539abfa71c137af43.tar.gz |
Saved 48 bytes (56 before padding) by moving a variable declaration.
gcc always generates large code for accesses to globals. For locals
it only generates large code if there are more than 128 bytes of
locals. It sorts scalar locals after array locals to pessimize for
space in the usual case when there are more (static) references to
scalars than to arrays.
Saved another 16 bytes (13 before padding) by adding a `continue'.
Fall-through tests normally save space, but here one of them made
gcc do space-unoptimal register allocation (it allocates ch in %bl
because preserving this register across function calls is "free",
but comparisions with %bl take one byte fewer than comparsions with
%bl).
Diffstat (limited to 'usr.sbin/ctm')
0 files changed, 0 insertions, 0 deletions