Re: [PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-26 Thread Dan Sugalski
At 1:01 PM +0100 10/25/02, Nicholas Clark wrote: On Thu, Oct 24, 2002 at 06:16:55PM -0400, Jason Gloudon wrote: On Thu, Oct 24, 2002 at 04:47:05PM -0400, Josh Wilmes wrote: > It shouldn't at all. It does the check once, when parrot starts up. It will. If you read the following paragraph I

Re: [PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-25 Thread Nicholas Clark
On Thu, Oct 24, 2002 at 06:16:55PM -0400, Jason Gloudon wrote: > On Thu, Oct 24, 2002 at 04:47:05PM -0400, Josh Wilmes wrote: > > It shouldn't at all. It does the check once, when parrot starts up. > > It will. If you read the following paragraph I explained why it will be slower, > and it has n

Re: [PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-24 Thread Josh Wilmes
At 18:16 on 10/24/2002 EDT, Jason Gloudon <[EMAIL PROTECTED]> wrote: > STACK_DIR is a compile time constant, so the multiplies in the following code > are eliminated by the compiler if it does any optimization. By making > STACK_DIR a variable, the compiler is no longer able to do this and has t

Re: [PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-24 Thread Jason Gloudon
On Thu, Oct 24, 2002 at 04:47:05PM -0400, Josh Wilmes wrote: > > > I've got a patch which switches this detection to happen at run-time > > > instead of at build-time. This is going to be necessary for miniparrot > > > (which has no "Configure" step) anyway. > > > > Have you checked how much

Re: [PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-24 Thread Josh Wilmes
At 11:57 on 10/24/2002 EDT, Jason Gloudon <[EMAIL PROTECTED]> wrote: > On Wed, Oct 23, 2002 at 11:23:26PM -0400, Josh Wilmes wrote: > > > I've got a patch which switches this detection to happen at run-time > > instead of at build-time. This is going to be necessary for miniparrot > > (which

Re: [PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-24 Thread Jason Gloudon
On Wed, Oct 23, 2002 at 11:23:26PM -0400, Josh Wilmes wrote: > I've got a patch which switches this detection to happen at run-time > instead of at build-time. This is going to be necessary for miniparrot > (which has no "Configure" step) anyway. Have you checked how much this affects the per

Re: Configuring and DOD problems

2002-10-24 Thread Andy Dougherty
On Wed, 23 Oct 2002, Erik Lechak wrote: Anyways, I am on Win XP using VC++. I look in Config.pm and I see this '#define PARROT_STACK_DIR'. It's not defined to anything, but the code tries to do math with it. What is this? This could well be my fault. I recently changed that test. But looki

RE: Configuring and DOD problems

2002-10-23 Thread Brent Dax
Erik Lechak: # While trying to figure it out I rewrote Config.pl and some supporting # files. They were just a little too complex for my taste. I have # included the files because I don't feel confident enough to # make them a # patch. Can you please *please* PLEASE generate a patch? 'cvs d

[PATCH] Probe stack direction at run-time (was Re: Configuring and DOD problems)

2002-10-23 Thread Josh Wilmes
At 22:58 on 10/23/2002 EDT, Erik Lechak <[EMAIL PROTECTED]> wrote: > I fix the errors then It gets all wierd on the def PARROT_STACK_DIR. So > I tried to figure out that problem. > > Anyways, I am on Win XP using VC++. I look in Config.pm and I see this > '#define PARROT_STACK_DIR'. It's not