[Info-vax] x86-64 VMS executable image sizes and memory requirements ?
osuvman50 at gmail.com
osuvman50 at gmail.com
Sat Dec 21 16:30:26 EST 2019
On Saturday, December 21, 2019 at 11:16:59 AM UTC-5, already... at yahoo.com wrote:
> Few numbers for clang/LLVM on x86-64 (not VMS, of course)
>
> Option .text size
> -O0 75456
> -Oz 45772
> -Os 44992
> -O1 56836
> -O2 45220
> -O3 46084
>
Clearly, DEC C isn't clang. Building the sqlite3shr shareable image on alpha
with different /optimization levels gives (size in disk blocks):
sqlite3shr-O0.exe;1 2676
sqlite3shr-O1.exe;1 2405
sqlite3shr-O2.exe;1 3513
sqlite3shr-O3.exe;1 3710
sqlite3shr-O4.exe;1 3710
sqlite3shr-O5.exe;1 3820
If I link /notrace, however, the file sizes change to:
sqlite3shr-O0.exe;1 2099
sqlite3shr-O1.exe;1 1835
sqlite3shr-O2.exe;1 1837
sqlite3shr-O3.exe;1 1962
sqlite3shr-O4.exe;1 1962
sqlite3shr-O5.exe;1 2059
I presume line number tracking is a lot more complicated for optimized code.
The respective $CODE$ sizes are:
sqlite3shr-O0.map;1 880492
sqlite3shr-O1.map;1 749156
sqlite3shr-O2.map;1 773240
sqlite3shr-O3.map;1 837496
sqlite3shr-O4.map;1 837496
sqlite3shr-O5.map;1 886824
More information about the Info-vax
mailing list