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

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR kern/60426; it has been noted by GNATS.

From: "Taylor R Campbell" <[email protected]>
To: [email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.