Re: kern/60426 (Signal handler corrupts AVX (YMM) registers)

"Robert Elz via gnats" <[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: Robert Elz <[email protected]>
To: Taylor R Campbell <[email protected]>
Cc: [email protected], [email protected], [email protected],
        [email protected]
Subject: Re: kern/60426 (Signal handler corrupts AVX (YMM) registers)
Date: Thu, 09 Jul 2026 18:35:56 +0700

     Date:        Thu, 9 Jul 2026 10:29:18 +0000
     From:        Taylor R Campbell <[email protected]>
     Message-ID:  <[email protected]>
 
 
   | The xmm registers, which have always been available on amd64 since the
   | beginning, are aliases for the low halves of the ymm registers.  Any
   | SSE2 instruction (again: available on amd64 since the beginning)
   | writing to xmmN will generally zero the high half of ymmN as a side
   | effect.
 
 Ugh.   OK - I know zero about the architecture, I am still fuming that
 IBM picked the 8080 when the NetSemi equiv (the identity of which I have
 forgotten) was so much nicer.   Even the z80 was (slightly) better.
 I assume that so few people wanted 8080s (in quantity) that they got
 a good deal...
 
 That however sounds like yet another horrid Intel design choice.
 
 kre
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.