Add a missing "nop" in a delay slot in the floating-point exception
handler. Gradual underflow and fp emulation now work correctly. Proper denorms also fix strtod() inaccuracies and Gcc's "enquire" program.
This commit is contained in:
parent
5a955f3527
commit
b543578236
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: locore.S,v 1.15 1995/09/21 23:28:31 jonathan Exp $ */
|
/* $NetBSD: locore.S,v 1.16 1995/09/28 20:02:50 jonathan Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -2689,6 +2689,7 @@ NON_LEAF(MachFPInterrupt, STAND_FRAME_SIZE, ra)
|
||||||
*/
|
*/
|
||||||
srl a3, a0, MACH_OPCODE_SHIFT
|
srl a3, a0, MACH_OPCODE_SHIFT
|
||||||
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
||||||
|
nop
|
||||||
/*
|
/*
|
||||||
* Send a floating point exception signal to the current process.
|
* Send a floating point exception signal to the current process.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: locore_r2000.S,v 1.15 1995/09/21 23:28:31 jonathan Exp $ */
|
/* $NetBSD: locore_r2000.S,v 1.16 1995/09/28 20:02:50 jonathan Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -2689,6 +2689,7 @@ NON_LEAF(MachFPInterrupt, STAND_FRAME_SIZE, ra)
|
||||||
*/
|
*/
|
||||||
srl a3, a0, MACH_OPCODE_SHIFT
|
srl a3, a0, MACH_OPCODE_SHIFT
|
||||||
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
||||||
|
nop
|
||||||
/*
|
/*
|
||||||
* Send a floating point exception signal to the current process.
|
* Send a floating point exception signal to the current process.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: locore_r4000.S,v 1.15 1995/09/21 23:28:31 jonathan Exp $ */
|
/* $NetBSD: locore_r4000.S,v 1.16 1995/09/28 20:02:50 jonathan Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -2689,6 +2689,7 @@ NON_LEAF(MachFPInterrupt, STAND_FRAME_SIZE, ra)
|
||||||
*/
|
*/
|
||||||
srl a3, a0, MACH_OPCODE_SHIFT
|
srl a3, a0, MACH_OPCODE_SHIFT
|
||||||
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
||||||
|
nop
|
||||||
/*
|
/*
|
||||||
* Send a floating point exception signal to the current process.
|
* Send a floating point exception signal to the current process.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: locore.S,v 1.15 1995/09/21 23:28:31 jonathan Exp $ */
|
/* $NetBSD: locore.S,v 1.16 1995/09/28 20:02:50 jonathan Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -2689,6 +2689,7 @@ NON_LEAF(MachFPInterrupt, STAND_FRAME_SIZE, ra)
|
||||||
*/
|
*/
|
||||||
srl a3, a0, MACH_OPCODE_SHIFT
|
srl a3, a0, MACH_OPCODE_SHIFT
|
||||||
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
beq a3, MACH_OPCODE_C1, 4f # this should never fail
|
||||||
|
nop
|
||||||
/*
|
/*
|
||||||
* Send a floating point exception signal to the current process.
|
* Send a floating point exception signal to the current process.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue