From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 102b75,f5343a7fd6ae03ee X-Google-Thread: ff499,b37652449f8aac94,start X-Google-Thread: 1164f8,b37652449f8aac94,start X-Google-Attributes: gid102b75,gidff499,gid1164f8,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!newsread.com!news-xfer.newsread.com!newspeer.monmouth.com!news.lightlink.com!xuxa.iecc.com!nerds-end From: John Ahlstrom Newsgroups: comp.arch,comp.compilers,comp.sys.dec Subject: Re: Code density and performance? Followup-To: comp.arch Date: 17 Jul 2005 13:56:37 -0400 Organization: Compilers Central Message-ID: <05-07-072@comp.compilers> References: <1121268916.121222.132360@g49g2000cwa.googlegroups.com> <1121333201.729594.240150@g47g2000cwa.googlegroups.com> <7zhdexr8z2.fsf@app-4.diku.dk> <1121540813.310826.229730@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: tom.iecc.com X-Trace: xuxa.iecc.com 1121622997 12536 208.31.42.38 (17 Jul 2005 17:56:37 GMT) X-Complaints-To: abuse@iecc.com NNTP-Posting-Date: 17 Jul 2005 17:56:37 GMT Keywords: code, architecture Posted-Date: 17 Jul 2005 13:56:37 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: g2news1.google.com comp.arch:6427 comp.compilers:716 comp.sys.dec:852 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]