Re: Speed question: save/restore vs push/pop

2003-03-17 Thread Dan Sugalski
At 8:52 AM +0100 3/17/03, Leopold Toetsch wrote: Benjamin Goldberg wrote: How many "save"s does it take to be to be slower than one "push"? This really depends on the architecture, the running core and so on. But Dan estimated a cutoff value of 3, this test program indicates a cutoff of 2: For

Re: Speed question: save/restore vs push/pop

2003-03-17 Thread Benjamin Goldberg
Steve Fink wrote: > > On Mar-17, Benjamin Goldberg wrote: > > > > The answer to this question varies from platform to platform, and > > I've only go windows to test on... > > > > If I do 32 "save"s in a row, this will certainly be slower than > > doing a single "push". > > > > If I do 1 "save", th

Re: Speed question: save/restore vs push/pop

2003-03-17 Thread Leopold Toetsch
Benjamin Goldberg wrote: The answer to this question varies from platform to platform, and I've only go windows to test on... If I do 32 "save"s in a row, this will certainly be slower than doing a single "push". If I do 1 "save", this will (hopefully) be faster than 1 "push". Yep slightly. Ho

Re: Speed question: save/restore vs push/pop

2003-03-16 Thread Steve Fink
On Mar-17, Benjamin Goldberg wrote: > > The answer to this question varies from platform to platform, and I've > only go windows to test on... > > If I do 32 "save"s in a row, this will certainly be slower than doing a > single "push". > > If I do 1 "save", this will (hopefully) be faster than 1

Speed question: save/restore vs push/pop

2003-03-16 Thread Benjamin Goldberg
The answer to this question varies from platform to platform, and I've only go windows to test on... If I do 32 "save"s in a row, this will certainly be slower than doing a single "push". If I do 1 "save", this will (hopefully) be faster than 1 "push". How many "save"s does it take to be to be