From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,b3ec7c85d0f0a083 X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,b3ec7c85d0f0a083 X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1992-05-26 12:12:13 PST Xref: sparky comp.unix.ultrix:4641 comp.sys.dec:3183 Newsgroups: comp.unix.ultrix,comp.sys.dec Path: sparky!uunet!decwrl!pa.dec.com!mogul From: mogul@pa.dec.com (Jeffrey Mogul) Subject: false theories about crashme Message-ID: <1992May26.230550.11461@PA.dec.com> Sender: news@PA.dec.com (News) Organization: DEC Western Research References: <1992May26.155820.13838@bronze.ucs.indiana.edu> Date: Tue, 26 May 92 23:05:50 GMT In article <1992May26.155820.13838@bronze.ucs.indiana.edu> mdchaney@bronze.ucs.indiana.edu (M Darrin Chaney) writes: >Generally, crashme doesn't work on CISC architectures (3/60 has a >Motorola 68030). It works on RISC architectures by making the processor >very unhappy. RISC processors simply aren't provided with alot of the >built-in checks that CISC processors are provided with. Speed is >improved, at the cost of having to hope that bad instruction sequences >are never executed. This is simply false. RISC CPUs, in general, are no more likely to act incorrectly on strange instruction sequences than CISC machines. The difference is that the RISC philosophy is "leave the unusual stuff to be handled by software". The "crashme" program sometimes finds cases where the software is buggy. Yes, software support (in kernels and in compilers) for RISC machines is a little harder than for CISC machines, but it's not all that different. When George Carette first wrote the crashme program, his theory was that RISC designers cut corners. He managed to prove his theory was wrong (find a list of which machines crash and which don't, and see if the RISC machines are noticably worse). I'm not an expert at computer architecture, but I know that the RISC performance advantage has nothing to do with "not providing built-in" checks. RISC designers aren't any less careful than CISC designers. I wouldn't make an issue of this except that, for some reason, this foolish theory keeps popping up when it seems to be safely buried. -Jeff