* Re: Code density and performance?
[not found] ` <1121540813.310826.229730@z14g2000cwz.googlegroups.com>
@ 2005-07-17 17:56 ` John Ahlstrom
0 siblings, 0 replies; only message in thread
From: John Ahlstrom @ 2005-07-17 17:56 UTC (permalink / raw)
toby wrote:
-- snip snip
> Even a casual inspection shows that the VAX instruction set was
> modelled after the imagined needs of high level languages (string
> processing and diverse numeric types come to mind, as well as several
> instructions which correspond directly to HL control constructs, such
> as CASE. I'm away from my VAX references so I won't try to dredge up
> the rest from memory).
>
> In hindsight the effort largely went to waste; compiler designers by
> and large shunned the "assists" - ironically, ignoring them probably
> made the compiler simpler - and two decades later we know RISC was the
> better direction. I doubt that was considered proven in 1975, if that's
> what you're getting at. The VAX was one of the most ambitious (albeit
> doomed) experiments in the CISC direction.
IIRC the initial U of Washington Pascal compiler for the VAX was based on
a (the U of W?) Pascal compiler for the CDC 6600 and generated code that
used the most 6600-like instructions and addressing modes of the VAX
perhaps like
a:= b+c
load 1 a
load 2 b
add 1 2
store 2 c
IIRC a later version of compiler generated more VAX-like instructions
and addressing modes
perhaps like
add c, a, b
Does anyone else remember this?
Does anyone have any records of sizes and performances of the two kinds
of output?
JKA
[Heavily encoded architectures like the VAX made sense when microcode
ROM was faster than RAM and RAM was expensive. Unfortunately, that
era ended around the time the VAX was introduced making it an instant
dinosaur. -John]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-17 17:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1121268916.121222.132360@g49g2000cwa.googlegroups.com>
[not found] ` <1121333201.729594.240150@g47g2000cwa.googlegroups.com>
[not found] ` <db5blb$kl8$1@gemini.csx.cam.ac.uk>
[not found] ` <7zhdexr8z2.fsf@app-4.diku.dk>
[not found] ` <db5fr8$cn$1@gemini.csx.cam.ac.uk>
[not found] ` <1121540813.310826.229730@z14g2000cwz.googlegroups.com>
2005-07-17 17:56 ` Code density and performance? John Ahlstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox