Date: Fri, 18 Jan 2008 17:03:44 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133558 for review Message-ID: <200801181703.m0IH3iPS096316@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133558 Change 133558 by imp@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801181703.m0IH3iPS096316>