Subject: Re: undefined stack.
To: Chris Gilbert <chris@paradox.demon.co.uk>
From: Mike Pumford <mpumford@black-star.demon.co.uk>
List: port-arm32
Date: 08/04/2001 18:41:23
> Hi,
> 
> I was just looking over the code and noticed that we currently use a per 
> process undefined instruction stack.  I was wondering if anyone knew why?
> 
Could it be remains from the time when the port used FPE rather than 
soft-float for floating point support. When doing FP by instruction emulation 
wouldn't every process need its own state whilst processing an undefined 
instruction to maintains FP state for each process?

> We appear to actually setup a global one but then create one for every 
> process created.
> 
> I'd rather like to switch to using a global one as it means that we don't 
> have to keep saving and restoring the undef instr stack pointer, and so 
> simplifies the code.
> 
Unfortunately the only thing I can suggest is to try it and see if anything 
breaks.

Mike