Module Name:    src
Committed By:   tsutsui
Date:           Sat Feb 26 12:02:02 UTC 2011

Modified Files:
        src/sys/arch/mips/mips: fp.S

Log Message:
Use mips_fpuillinst() instead of fpemul_trapsignal() to deliver SIGILL.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/mips/mips/fp.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/fp.S
diff -u src/sys/arch/mips/mips/fp.S:1.40 src/sys/arch/mips/mips/fp.S:1.41
--- src/sys/arch/mips/mips/fp.S:1.40	Fri Feb 25 11:44:56 2011
+++ src/sys/arch/mips/mips/fp.S	Sat Feb 26 12:02:01 2011
@@ -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)

Reply via email to