NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60426 CVS commit: src/tests/kernel/arch/x86



The following reply was made to PR kern/60426; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60426 CVS commit: src/tests/kernel/arch/x86
Date: Wed, 15 Jul 2026 02:08:19 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Wed Jul 15 02:08:18 UTC 2026
 
 Modified Files:
 	src/tests/kernel/arch/x86: sig_fpu.c
 
 Log Message:
 t_signal_and_fpu: Fix XMM register trashing.
 
 The units we read from memory into registers are 16 bytes (128 bits)
 each, not 32 bytes (256 bits).
 
 Fortunately, this mistake didn't prevent the test from generally
 working: reading past the end of our stack frame will just give us
 other garbage that is unlikely to coincide with the register content
 that the interrupted code expects.
 
 PR kern/60426: Signal handler corrupts AVX (YMM) registers
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/arch/x86/sig_fpu.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index