Subject: Re: CVS commit: src/sys/arch/mips/mips
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 05/04/2003 13:06:16
Jason Thorpe wrote:

> On Saturday, May 3, 2003, at 07:53  PM, Simon Burge wrote:
> 
> > Module Name:	src
> > Committed By:	simonb
> > Date:		Sun May  4 02:53:54 UTC 2003
> >
> > Modified Files:
> > 	src/sys/arch/mips/mips: locore.S
> >
> > Log Message:
> > Use 64-bit "sd" in mips_pagezero() if we're compiled for MIPS{3,4,64}
> > (the actual check is !MIPS1 && !MIPS32).
> >
> > Do the ".set push", ".set mips3", ".set pop" dance if we use 64-bit
> > instructions.
> 
> Is this actually safe if the trap handlers don't save/restore all 64 
> bits of the register?

This patch only enables 64-bit ops for the pagezero case.  We only use
stores of $0 here, which is safe.

Simon.
--
Simon Burge                            <simonb@wasabisystems.com>
NetBSD Support and Service:         http://www.wasabisystems.com/