Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/mips Fix TLB-miss. Don't overwrite t0 before ...
details: https://anonhg.NetBSD.org/src/rev/52c604eb7671
branches: trunk
changeset: 772231:52c604eb7671
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sun Dec 25 11:51:15 2011 +0000
description:
Fix TLB-miss. Don't overwrite t0 before use.
diffstat:
sys/arch/mips/mips/bds_emul.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r cdcb5b200d3a -r 52c604eb7671 sys/arch/mips/mips/bds_emul.S
--- a/sys/arch/mips/mips/bds_emul.S Sun Dec 25 10:37:14 2011 +0000
+++ b/sys/arch/mips/mips/bds_emul.S Sun Dec 25 11:51:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bds_emul.S,v 1.5 2011/08/16 06:55:11 matt Exp $ */
+/* $NetBSD: bds_emul.S,v 1.6 2011/12/25 11:51:15 kiyohara Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -441,8 +441,8 @@
andi t0, a0, 0x3f # get special code
sll t1, t0, 3 # calculate index in specialop
sll t0, PTR_SCALESHIFT
+ PTR_L t9, bcemul_specialtbl(t0)
PTR_LA t0, bcemul_special_op(t1)
- PTR_L t9, bcemul_specialtbl(t0)
jr t9
bcemul_special_3op_prologue:
Home |
Main Index |
Thread Index |
Old Index