delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/01/01:22:28

Date: Sun, 30 Apr 95 22:15 MDT
From: mat AT ardi DOT com (Mat Hostetter)
To: antony AT werple DOT mira DOT net DOT au
Subject: Re: [bug] ebp optimization problem
References: <m0s5h3H-000GOeC AT gwar DOT ardi DOT com> <dmGflapRCLp5078yn AT werple DOT mira DOT net DOT au>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

>>>>> "Antony" == Antony Suter <antony AT werple DOT mira DOT net DOT au> writes:

    Antony> Yes, but now where does your stack go? You changed the
    Antony> segment but haven't even touched %sp.

    Antony> This works?

Of course.  Any pointer valid for %ss is valid for %ds (but not
vice-versa).  Otherwise, how would arrays on the stack (etc.) work at
all?

The drawback is that you lose the ability to nicely catch when you
blow your stack.

-Mat

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019