Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!sun!amdcad!dvorak.amd.com!proton!tim From: tim@proton.amd.com (Tim Olson) Newsgroups: comp.arch Subject: Re: What is the ratio of programs sizes CISC versus RISC Message-ID: <1991Jun13.173122.14824@dvorak.amd.com> Date: 13 Jun 91 17:31:22 GMT References: Sender: usenet@dvorak.amd.com (Usenet News) Reply-To: tim@amd.com (Tim Olson) Organization: Advanced Micro Devices, Austin, TX Lines: 30 In article pb@idca.tds.philips.nl (Peter Brouwer) writes: | Who can give me some information about the ratio of program sizes of RISC | versus CISC. Here is some (somewhat dated) information: 68020 .text Am29000 .text Program (Sun 3/260) MetaWare C ratio ----------------------------------------------------- compress 6600 8792 1.33 dhrystone 1.1 1608 1892 1.17 dhrystone 2.0 2984 3056 1.02 diff 10448 14492 1.39 grep 2640 4288 1.62 nroff 35328 59708 1.69 sipasm 52032 71528 1.37 stanford 9064 9752 1.08 ------------------------------------------------------------ Total 120704 173508 1.44 It is a bit difficult to compare code sizes because the compilers are different, and are performing different optimizations. It would be better to try a comparison using, say, the GNU C compiler. -- -- Tim Olson Advanced Micro Devices (tim@amd.com)