Subject: Assembler question
To: None <port-sparc@NetBSD.ORG>
From: Krister Walfridsson <cato@df.lth.se>
List: port-sparc
Date: 05/17/1997 00:09:32
Hi!

I'm writing a compiler for a class, and I thought it should be nicer to
do it at home instead of at our overly crowded computer rooms, but this
has given me some problems...

The runtime system needs to hold some global data in registers, and
%g2-%g4 seems to be the  right choice for our Solaris machines (or so my
teacher says anyhow...) The problem is that NetBSD does nasty things with  
(at least) %g2 and %g3... 
...so does anybody know which registers are safe to use on NetBSD?

   /Krister