From: Russell Wallace Newsgroups: comp.os.msdos.djgpp Subject: Re: Performance of -lemu Date: Sun, 21 Jun 1998 15:03:35 +0100 Organization: Ireland On-Line Lines: 57 Message-ID: <358D12B7.35E7@iol.ie> References: Reply-To: manorsof AT iol DOT ie NNTP-Posting-Host: dialup-194.dublin.iol.ie Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Eli Zaretskii wrote: > > On Fri, 19 Jun 1998, Russell Wallace wrote: > > > -O3 21 megaflops > > -O3 -lemu 13 megaflops > > > > My understanding had been that -lemu should make no difference at all if > > the program does in fact end up running on a machine with FP > > hardware. > > This is how it should work, yes. > > > Can anyone explain the reason for this discrepancy, and whether there's > > anything that can be done about it? > > Did you try setting 387=y in the environment? If you did, you will > need to see how exactly does the emulator affect your program. AFAIK, > it shouldn't. I tried that; no difference. > In general, these issues are somewhat less debugged, since almost > everybody has FP hardware these days. Yeah. > > (Short of forgetting about working > > as-is and requiring users of 386s to run one of the .exe emulators, > > which is what I'm planning to do as things currently stand.) > > Why do you need to ``require'' your users? The DJGPP startup code > will automatically load the emulator, it just needs to be in the same > directory as the binary. Ah! I missed that; I thought the emulator had to be run prior to running the program. That's straightforward enough, so I'll go with that option then. Thanks. -- "To summarize the summary of the summary: people are a problem." Russell Wallace manorsof AT iol DOT ie