HomeFreeBSD

x86: Copy the FPU/XSAVE state from the creating thread to new threads.

Description

x86: Copy the FPU/XSAVE state from the creating thread to new threads.

POSIX states that new threads created via pthread_create() should
inherit the "floating point environment" from the creating thread.

Discussed with: kib
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D29204

Details

Provenance
jhbAuthored on Mar 12 2021, 5:47 PM
Differential Revision
D29204: x86: Copy the FPU/XSAVE state from the creating thread to new threads.
Parents
rG704547ce1ca5: amd64: Cleanups to setting TLS registers for Linux binaries.
Branches
Unknown
Tags
Unknown