This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch/hppa-linux] MD_FALLBACK_FRAME_STATE_FOR definition


On Thu, May 06, 2004 at 12:27:08AM -0400, John David Anglin wrote:
> > > i == 0?
> > 
> > do you mean i should not restore gr0?
> 
> I can't see why it needs to be restored.  Loading it is a nop except
> for its effect on cache.  I also wondered if this slot in the signal
> context was being used for something else.

It's used to store the PSW, apparently.

[This overloading is pretty typical.  MIPS stores the original syscall
number in the GPR slot for $0.]

-- 
Daniel Jacobowitz


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