Deutsch English Français Italiano |
<vq4qav$1dksd$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: Why VAX Was the Ultimate CISC and Not RISC Date: Mon, 3 Mar 2025 17:53:35 -0000 (UTC) Organization: A noiseless patient Spider Lines: 37 Message-ID: <vq4qav$1dksd$1@dont-email.me> References: <vpufbv$4qc5$1@dont-email.me> <2025Mar1.125817@mips.complang.tuwien.ac.at> <vpvrn5$2hq0$1@gal.iecc.com> <2025Mar1.232526@mips.complang.tuwien.ac.at> <vq2dfr$2skk$1@gal.iecc.com> <2025Mar2.234011@mips.complang.tuwien.ac.at> <5pkg9l-kipt.ln1@msc27.me.uk> <2025Mar3.174417@mips.complang.tuwien.ac.at> Injection-Date: Mon, 03 Mar 2025 18:53:36 +0100 (CET) Injection-Info: dont-email.me; posting-host="c90bf8509c5883da1109a8531dc5dd31"; logging-data="1495949"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+trW3+ApHm4sNEaVMfzZrAcK2Hu7jUYjk=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:GndMSop/9lcyubkeFgSETNhy0X4= Bytes: 2740 Anton Ertl <anton@mips.complang.tuwien.ac.at> schrieb: > MarkC <usenet@em-ess-see-twenty-seven.me.uk> writes: >>NetBSD still has a VAX port, so the sizes of pre-built packages from >>there might be informative. > > Thanks. The NetBSD pkgsrc is not limited to NetBSD, and there is a > wide variety of prebuilt stuff there. I took those that sound like > architecture names (and probably belong to NetBSD): aarch64 alpha > amd64 earmv7hf i386 m68k mips64eb mipsel powerpc sparc sparc64 vax > > Unfortunately, they do not seem to port to RISC-V in any form yet, and > their earmv7hf port uses ARM A32, not T32. So the NetBSD competition > is performed without entries for those two instruction set encodings > that showed the smallest code sizes on Debian. Anyway, here are the > results: > > bash grep xz > 710838 42236 m68k > 748354 159304 40930 vax > 829077 176836 42840 amd64 > 855400 164188 aarch64 > 877284 186924 48032 sparc > 882847 187203 49866 i386 > 898532 179844 earmv7hf > 962128 205776 54704 powerpc > 1004864 192256 53632 sparc64 > 1025136 51160 mips64eb > 1147664 232688 63456 alpha > 1172692 mipsel Utilities are often compiled with a medium to high level of optimizationo (like -O2), which can do loop unrolling, inlining and function cloning, all of which can increase code size. These decisions can also depend on the number of available register. If your aim is small code size, it is better to compare output compiled with -Os.