mirror of
https://github.com/openbsd/src.git
synced 2026-04-16 02:04:12 +00:00
Initialize all FPU registers to all 1 (or -NaN) not only the lower 32.
OK miod@ kettenis@ deraadt@
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: trap.c,v 1.129 2026/03/08 17:07:31 deraadt Exp $ */
|
||||
/* $OpenBSD: trap.c,v 1.130 2026/04/12 13:17:39 claudio Exp $ */
|
||||
/* $NetBSD: trap.c,v 1.73 2001/08/09 01:03:01 eeh Exp $ */
|
||||
|
||||
/*
|
||||
@@ -89,6 +89,8 @@
|
||||
*/
|
||||
const struct fpstate initfpstate = {
|
||||
{ ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0,
|
||||
~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0,
|
||||
~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0,
|
||||
~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0 }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user