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: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: fa528,85404311f8041f7a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-07 03:06:39 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!192.50.8.47.MISMATCH!newsfeed.media.kyoto-u.ac.jp!sjc-peer.news.verio.net!news.verio.net!iad-read.news.verio.net.POSTED!kilgallen From: Kilgallen@eisner.decus.org.nospam (Larry Kilgallen) Newsgroups: comp.sys.dec,comp.unix.tru64,comp.arch Subject: Re: Compaq kills Alpha Message-ID: 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> Organization: LJK Software Date: 7 Jul 2001 06:06:25 -0500 NNTP-Posting-Host: 216.44.122.34 X-Complaints-To: abuse@verio.net X-Trace: iad-read.news.verio.net 994500388 216.44.122.34 (Sat, 07 Jul 2001 10:06:28 GMT) NNTP-Posting-Date: Sat, 07 Jul 2001 10:06:28 GMT Xref: archiver1.google.com comp.sys.dec:5359 comp.unix.tru64:3193 comp.arch:13271 In article , "mulp" writes: > 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 !! >> > > -- ============================================================================== Great Inventors of our time: Al Gore -> Internet; Sun Microsystems -> Clusters ==============================================================================