Fix register usage in the swap operation in tlb_update_addr.
This should help LOONGSON and hpcmips
This commit is contained in:
parent
daba771f89
commit
e55e183684
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: mipsX_subr.S,v 1.79 2016/08/05 15:35:32 skrll Exp $ */
|
/* $NetBSD: mipsX_subr.S,v 1.80 2016/08/05 15:39:09 skrll Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright 2002 Wasabi Systems, Inc.
|
* Copyright 2002 Wasabi Systems, Inc.
|
||||||
|
@ -2164,7 +2164,7 @@ LEAF(MIPSX(tlb_update_addr))
|
||||||
nop
|
nop
|
||||||
move t3, a2 # swap a2 and t0
|
move t3, a2 # swap a2 and t0
|
||||||
move a2, t0 #
|
move a2, t0 #
|
||||||
move t0, a3 #
|
move t0, t3 #
|
||||||
4:
|
4:
|
||||||
_MTC0 t0, MIPS_COP_0_TLB_LO0 # init low reg0.
|
_MTC0 t0, MIPS_COP_0_TLB_LO0 # init low reg0.
|
||||||
_MTC0 a2, MIPS_COP_0_TLB_LO1 # init low reg1.
|
_MTC0 a2, MIPS_COP_0_TLB_LO1 # init low reg1.
|
||||||
|
|
Loading…
Reference in New Issue