From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-06 21:03:34 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!cyclone.bc.net!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail From: "mulp" Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch References: <3B37351D.5080503@cli.de> <4495ef1f.0106281109.4b460a70@posting.google.com> <8PS_6.265783$p33.5339568@news1.sttls1.wa.home.com> <9hhtur$1oj9$2@info.cs.uofs.edu> <9hi2q1$hbs@augusta.math.psu.edu> <9hj3ch$qmi$1@pyrite.mv.net> <_Ay07.62$G_1.10702@newsread2.prod.itd.earthlink.net> <3B462723.8938B09B@peoplepc.com> Subject: Re: Compaq kills Alpha X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: Date: Sat, 07 Jul 2001 04:03:39 GMT NNTP-Posting-Host: 4.54.155.166 X-Complaints-To: abuse@earthlink.net X-Trace: newsread2.prod.itd.earthlink.net 994478619 4.54.155.166 (Fri, 06 Jul 2001 21:03:39 PDT) NNTP-Posting-Date: Fri, 06 Jul 2001 21:03:39 PDT Organization: EarthLink Inc. -- http://www.EarthLink.net X-Received-Date: Fri, 06 Jul 2001 21:01:13 PDT (newsmaster1.prod.itd.earthlink.net) Xref: archiver1.google.com comp.sys.dec:5352 comp.unix.tru64:3187 comp.arch:13256 The Alpha architecture did not define byte/word load/store instruction when every other competitive CPU did. If SPARC didn't initially have byte/word ops and only had long and quad, then Sun must have added them by the time that Alpha was defined. The reason for not implementing byte/word ops was to avoid having to do a read/modify/write operation to update memory. To write a byte into memory, you must read the longword containing the byte, do any required ECC corrections, insert the byte, compute a new ECC, and then update memory. This could be done in the memory controller which was the implementation used on VAX systems, or it could be done in the CPU which would require the CPU reading the longword from memory and writing the updated longword back. At the time, writeback cache was not standard. Btw, Dick Sites wanted to make a quadword (64 bits) be the smallest memory transaction. The idea was that if you were writing memory, say as part of a bcopy, the limiting factor would be the memory read + memory write speed which could be increased by multiple memory banks. What this did not consider was that the transaction unit between the CPU and memory would shift to a cache line. Once the cache line is the unit of transaction and then it becomes writeback, the assumptions that drove that particular design choice became suboptimal; in the above bcopy, the CPU reads the cache line in order to write the first portion of the cache line. There were two architectural changes made at almost the same time to correct this incorrect assumption: The byte/word memory ops were added AND an instruction was added that hints that an entire cache line will be written. This allows the CPU to do the bcopy without reading the destination memory. Unaligned data became a major issue only for NT, but the penalty of unaligned data was minor compared to the penalty caused by the lack of byte/word memory ops. For unix, C compilers were already largely generating aligned data. For VMS, the value of aligned data was known on VAX, so the compilers did everything they could to align the data. For Alpha, the efforts in this area were redoubled and customers/ISVs were encouraged to align the data. Still, where SPARC would use ldb or stb, Alpha had to do ldq_u/extb and ldq_l/mask/insv/stq_c/beq to over simplify. And byte data is always aligned, right? "Jack Patteeuw" wrote in message news:3B462723.8938B09B@peoplepc.com... > mulp wrote: > > > ... > > In order to achieve the maximum possible speed up in clock rate, there was > > a decision to avoid read/modify/write sequences, either in the CPU or in > > the memory system. > > Off hand, I don't know of any "RISC" architectures today that support R/M/W > atomic instruction except in a few special cases. As a matter of fact, a > friend of mine says that the RISC acronym is incorrect ! They should be > called FLILSA, Fixed Length Instruction, Load/Store Architecture. > > > > The result was that Alpha had no byte/word memory ops. > > Eh ? I don't believe the 2 concepts are directly related. Many (most?) > RISC architectures of that time also had no byte/word operations. The > "Hardware Boys" thought the software could easily be modified to make > up for this. The real hit on EV4 and EV5 was exception for handling > mis-aligned data !! >