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 mips_fpuillinst() instead of fpemul_t...
details: https://anonhg.NetBSD.org/src/rev/70baf93832e5
branches: trunk
changeset: 762720:70baf93832e5
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Feb 26 12:02:01 2011 +0000
description:
Use mips_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL.
diffstat:
sys/arch/mips/mips/fp.S | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r e3a0e9986805 -r 70baf93832e5 sys/arch/mips/mips/fp.S
--- a/sys/arch/mips/mips/fp.S Sat Feb 26 11:27:59 2011 +0000
+++ b/sys/arch/mips/mips/fp.S Sat Feb 26 12:02:01 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fp.S,v 1.40 2011/02/25 11:44:56 tsutsui Exp $ */
+/* $NetBSD: fp.S,v 1.41 2011/02/26 12:02:01 tsutsui Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -4559,10 +4559,9 @@
REG_S a2, TF_REG_CAUSE(a1)
REG_EPILOGUE
- move a2, a0 # code = instruction
+ move a1, a0 # code = instruction
move a0, MIPS_CURLWP # get current lwp
- li a1, SIGILL
- j _C_LABEL(fpemul_trapsignal)
+ j _C_LABEL(mips_fpuillinst)
END(fpemul_sigill)
STATIC_LEAF(fpemul_sigfpe)
Home |
Main Index |
Thread Index |
Old Index