lkml.org 
[lkml]   [2023]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] x86_64: test xmm/ymm register state after execve(2)
From
On 12/5/23 22:15, Alexey Dobriyan wrote:
>>> +".Ltest_xmm:"
>>> + "movdqu %xmm0, xmm + 16 * 0;"
>>> + "movdqu %xmm1, xmm + 16 * 1;"
>> Does this work on systems without XMMs? I know it's not common these
>> days but it's possible, especially in VMs.
> No. But I think all x86_64 systems have SSE2. So it is up to whoever will
> port this test to i386.
I somehow got it in my head that we can't do XMM's unless XSAVE is in
the picture. But that's wrong. FXSAVE works on XMM's just fine and
it's a requirement for FPU support, and 64-bit requires the FPU.

It would be nice to spell that out explicitly in the changelog if you
get a chance to resend this.

Also, on the license... You as the copyright holder are, of course, free
to distribute it under any license you want yourself. But for the copy
in the kernel, it would be nice if you chose something you could stick
an SPDX label on. That way, a maintainer knows immediately if the
license is OK or not.

\
 
 \ /
  Last update: 2023-12-11 19:58    [W:0.028 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site