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 Use fpemul_fpuillinst() instead of fpemul...
details: https://anonhg.NetBSD.org/src/rev/c6a52f4b71c7
branches: trunk
changeset: 762718:c6a52f4b71c7
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Feb 26 11:16:12 2011 +0000
description:
Use fpemul_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL.
diffstat:
sys/arch/mips/mips/bds_emul.S | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (21 lines):
diff -r 1e9fb971f4b7 -r c6a52f4b71c7 sys/arch/mips/mips/bds_emul.S
--- a/sys/arch/mips/mips/bds_emul.S Sat Feb 26 11:05:54 2011 +0000
+++ b/sys/arch/mips/mips/bds_emul.S Sat Feb 26 11:16:12 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bds_emul.S,v 1.2 2011/02/20 07:45:47 matt Exp $ */
+/* $NetBSD: bds_emul.S,v 1.3 2011/02/26 11:16:12 tsutsui Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -621,9 +621,8 @@
REG_EPILOGUE
move ra, t3 # restore ra
- move a2, a0 # code = instruction
+ move a1, a0 # code = instruction
move a0, MIPS_CURLWP # get current process
- li a1, SIGILL
- j _C_LABEL(fpemul_trapsignal)
+ j _C_LABEL(fpemul_fpuillinst)
END(mips_emul_branchdelayslot)
Home |
Main Index |
Thread Index |
Old Index