From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,3567d4ae1ce1d0a3 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,3567d4ae1ce1d0a3 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,1d6673b85a87920a X-Google-Attributes: gid110292,public From: pieper@mink.zko.dec.com (John Pieper) Subject: Re: P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Date: 1996/07/17 Message-ID: <4sj2li$tph@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 169315399 references: <31E94588.2B34@swcp.com> <4shiht$ed5@news.iastate.edu> organization: Digital Equipment Corporation newsgroups: comp.sys.intel,comp.sys.dec,comp.arch In article <4shiht$ed5@news.iastate.edu>, John Hascall wrote: >Zalman Stern wrote: >}H.W. Stockman (hwstock@swcp.com) wrote: >}: why has is been >}: so damn hard to get "optimized" Word and Excel... or is it that >}: those apps, which do lots of character-oriented instructions, >}: are really not that great guns on RISC? Most of the slowness of porting applications from x86 to RISC is not anything to do with RISC. It has to do with applications being written in assembly code, or being written in C relying on non-standard features of a particular compiler. If an application is only ever intended to run on Wintel, no effort is put into making it portable, and the first port is very hard. The ISV's who care about performance on Alpha are companies like Oracle and Sybase and Informix, and you'll see that Alpha does quite well on their code, because they put in the effort to tune it. The performance of Word and Excel on Alpha hasn't been a priority for Microsoft, because that isn't where their market is. Applications where performance is an important selling point (like CAD) do tend to be tuned for Alpha when they are ported, and they run well. In short, if the company that owns the source code cares about performance, it tends to make sense for them to spend money on porting to Alpha NT because that is where they can get the best performance. If a company owns the source code to a DOS application where features are more important than performance, it makes more sense to spend their R&D money on feature-building than on porting and tuning for a low-volume processor, no matter how fast it is. >} >}Please replace that with "...on Alpha." Most RISC architectures do just >}fine manipulating 8-bit bytes. > > Or more precisely, "...on early iterations of Alphas." > >} (And in actuality, Alpha can do well there >}too if the code is written to do 64-bit loads and stores. This is really >}hard to do in a lot of cases though.) The DEC compilers for Alpha know how to issue very good code for doing byte operations, even on early implementations. In some cases, we use 64-bit loads and stores to do "vector" operations on bytes. Even when that is not possible, considerable effort is spent to merge several byte operations on the same word into one memory load/store. That this technology works when it can be applied is borne out by the fact that Alpha has led the Specint race pretty much since it came to market. In general, Alpha is a "fast-tick" architecture: the architects believe that making byte-accesses relatively expensive is still a win if it means the clock can be sped up enough to make everything else go really, really fast. Complementary compiler technology is used to optimize byte ops on a word-based memory system, to lessen the effect of making some operations more costly. ------------------------------------------------------------------------ The views expressed herein are my own and not those of Digital Equipment Corporation.