From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5ac3a610e21de4e22921d368c40a452f.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199711162217.AAA15863@kaarne.cs.tut.fi> Date: Sun, 16 Nov 1997 22:54:37 +0100 (CET) From: Volker Barthelmann Subject: Re: Time to build kernel (kernelbench) In-Reply-To: <937.259T2384T7845497@student.tuwien.ac.at> On 16 Nov 1997, Christoph Zens wrote: > >> generally it can be said that cisc code is faster to comile than risc code > >> (which is an *advantage* of the risc architecture, not a drawback!). > > >Why? Being slower to compile surely seems like a drawback to me. Usually > >it doesn't matter but why should it be an advantage? > > The more you cut down the code into little pieces (load/store/add...) before > running it, the less time is needed by the CPU to interpret the commands at > runtime. That sounds like a gross oversimplification. I only have a 21164 but if you're right byte-loads will be slower on the 21164a, because they are no longer split into several instructions? :-) > And, yes, CICS-CPUs are heavily micro-coded (not hard-wired), and > thus behave like an interpreter. AFAIK current CISC-CPUs do not use microcode for most heavily-used instructions - and RISC basically has only those instructions anyway. > Having to perform only some basic operations, the RISC can take much more > advantage out of syncronous pipes. Ever heard of a CISC-CPU with a 17-stage > pipeline? Of course RISC has advantages. Being able to make them faster and/or cheaper is the single important advantage of RISC. This may imply longer compilation-time and people are willing to accept that drawback to gain the other advantage. Nevertheless longer compilation-times are still a drawback (and I'm not saying that RISC necessarily implies longer compilation-times). > You also would not want to say: > "BASIC is the best coice, because it doesn't need *any* compile-time..." I do say: "An interpreted language usually has the advantage of much shorter turn-around-times." Volker -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com