Sujet : Re: Why VAX Was the Ultimate CISC and Not RISC
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.archDate : 03. Mar 2025, 18:32:09
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Mar3.183209@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6 7
User-Agent : xrn 10.11
Michael S <
already5chosen@yahoo.com> writes:
It seems, newer gcc is much worse than older versions at generation of
compact i386 code.
Yes, a weakness of my measurement method is that if the compiler does
not care much about code size (and compilers usually do what gives
good benchmark timings, not the smallest code), it can easily make the
code a lot bigger in ways that have nothing to do with encoding size,
e.g., by loop unrolling or padding before branch targets,
- anton
-- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>