Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ucsfcca.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!ucbvax!ucsfcgl!ucsfcca!goldman From: goldman@ucsfcca.UUCP (Eric Goldman) Newsgroups: net.micro.6809 Subject: Re: Don't use C "register" Message-ID: <427@ucsfcca.UUCP> Date: Mon, 2-Dec-85 05:51:48 EST Article-I.D.: ucsfcca.427 Posted: Mon Dec 2 05:51:48 1985 Date-Received: Thu, 5-Dec-85 05:32:50 EST References: <593@ihwpt.UUCP> Reply-To: goldman@ucsfcca.UUCP (Eric Goldman) Distribution: net Organization: UCSF Computer Center Lines: 33 [] In article <593@ihwpt.UUCP> knudsen@ihwpt.UUCP (mike knudsen) writes: > >The dhrystone benchmarks just posted >have re-discovered what I've suspected all along: >namely "registers" do no good, and may do harm, in MW C >for the 6809! .... Oops! My fault. I thought I had carefully proofread the "header line" (i.e., the line containing, "The output from... WITH...") for each result in my posting, but I reversed them. Tonight, I reran the benchmarks with and without registers, just to be certain. The results, which I am re-posting, are, indeed, the direct output from the programs; the header lines are now correct: The output from the dhrystone benchmark WITHOUT registers: Dhrystone time for 25000 passes = 238 This machine benchmarks at 105 dhrystones/second ---------------------------------------------------------- The output from the dhrystone benchmark WITH registers: Dhrystone time for 25000 passes = 234 This machine benchmarks at 106 dhrystones/second Admittedly, the results still support your statement that registers do not seem to do much good using OS-9 MW C for the CoCo, at least in this benchmark. But my apologies for the erroneous posting. --Eric S. Goldman, M.D. UCSF School of Medicine ARPA: cope.ucsf!goldman@ucsf-cgl.ARPA UUCP: ucbvax!ucsfmis!cope.ucsf!goldman