From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4a212ac2372bd10e X-Google-Attributes: gid1164f8,public From: "H.W. Stockman" Subject: Re: 21164PC demonstration/talk at Microprocessor Forum Date: 1996/11/20 Message-ID: <3293DD18.3A34@swcp.com>#1/1 X-Deja-AN: 197799244 references: <3292A023.2EB3@swcp.com> <19961121024900.VAA29949@ladder01.news.aol.com> content-type: text/plain; charset=us-ascii organization: Southwest Cyberport mime-version: 1.0 reply-to: hwstock@swcp.com newsgroups: comp.sys.dec x-mailer: Mozilla 3.0Gold (Win95; U) agtabby@aol.com wrote: > >Word and Excel are basically written in C. It is up > >to the compiler for the platform to do the optimization, [...] > of word and excel that sped them up .. . . are there > any assembly calles stuck in critical places? > PC magazine said that there was optimization. One > example was spell checking. On the newer word it > was done in real time, took almost no time. The > powerpc version had to slog through. I'm interested in knowing, since this discussion comes up a lot. Can you get the PC Mag reference, perhaps reproduce the paragraph for us here? It would make sense to do some asm optimizations, especially for the x86, which resists HLL optimization (almost every C program I've written for x86 called some asm functions). But couldn't one do the same thing for RISC? Or would that just bring us back to the isue of RISC (supposedly) not needing as many hand-tuned optimizations, because of the large register set and symmetrical instructions, and good compilers? MS Word on a PPro does string searches much faster than MS Word on a Pentium at a similar clock speed. That suggests to me that the searches were using x86 asm string instructions, which were fast on the 386, slow on the 486 and Pentium, and are once again fast on the PPro due to an added hardware trick. If MS had truly optimized Word at the asm level, wouldn't they have replaced the x86 string instructions with atomic equivalents during the long dominance of the 486 and Pentium? All speculation on my part of course, and I'm happy to label it as such.