PERFORCE change 133558 for review
    Warner Losh 
    imp at FreeBSD.org
       
    Fri Jan 18 09:03:45 PST 2008
    
    
  
http://perforce.freebsd.org/chv.cgi?CH=133558
Change 133558 by imp at imp_paco-paco on 2008/01/18 17:03:31
	Add a needed nop before an 'la' instruction.
	Also, allow AT to be stored in the pcb by telling the compiler that
	we're not using AT at that point in the code.
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/mips/exception.S#4 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/mips/exception.S#4 (text+ko) ====
@@ -453,7 +453,10 @@
 	mtlo	t0
 	mthi	t1
 	RESTORE_U_PCB_REG(a0, PC, a1)
+	.set	push
+	.set	noat
 	RESTORE_U_PCB_REG(AT, AST, a1)
+	.set	pop
 	RESTORE_U_PCB_REG(v0, V0, a1)
 	dmtc0	a0, COP_0_EXC_PC	# set return address
 
@@ -658,6 +661,7 @@
 	jalr	s0
 	nop
 	beq	s2, zero, 4f
+	nop
 	la	s0, _C_LABEL(ast)
 	jalr	s0
 	addu	a0, s3, U_PCB_REGS	# only arg is frame
    
    
More information about the p4-projects
mailing list