This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Soliciting help with libstdc++ and exceptions


On Dec 21, 1999, "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de> wrote:

>> Of course.  Otherwise, how do you expect the exception-handling
>> framework to be able to properly restore the contents of registers?

> That sounds like the architecture was "growing" new hard registers -
> so short before its death :-)

I wasn't thinking about IA32 in particular.  Anyway, one could think
about MMX registers or any other kind of stuff that wouldn't apply to
the full x86 series, but only to some of the newer processors.

> I wonder if we could live without these two extra registers (flags,
> fpsr) in the frame state. Is it possible to construct an example
> where that would lead to incorrect behaviour?

I doubt it, since at least flags are not saved across function calls.
I don't know what fpsr is.

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]