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.

Sponsored by: Netflix

(cherry picked from commit 755efb8d8fcacc6607bc46469750d78497f89378)

Details

Provenance
jhbAuthored on Mar 12 2021, 5:47 PM
Parents
rG77dfa7cfafb7: amd64: Cleanups to setting TLS registers for Linux binaries.
Branches
Unknown
Tags
Unknown