Home
last modified time | relevance | path

Searched hist:"953 a7d7c61f3b2f5351dfe668510ec782ae282e8" (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/arm64/include/
H A Dvfp.hdiff 953a7d7c61f3b2f5351dfe668510ec782ae282e8 Tue Mar 09 20:11:40 CET 2021 Alex Richardson <arichardson@FreeBSD.org> Arch64: Clear VFP state on execve()

I noticed that many of the math-related tests were failing on AArch64.
After a lot of debugging, I noticed that the floating point exception flags
were not being reset when starting a new process. This change resets the
VFP inside exec_setregs() to ensure no VFP register state is leaked from
parent processes to children.

This commit also moves the clearing of fpcr that was added in 65618fdda0f27
from fork() to execve() since that makes more sense: fork() can retain
current register values, but execve() should result in a well-defined
clean state.

Reviewed By: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29060
/freebsd/sys/arm64/arm64/
H A Dvfp.cdiff 953a7d7c61f3b2f5351dfe668510ec782ae282e8 Tue Mar 09 20:11:40 CET 2021 Alex Richardson <arichardson@FreeBSD.org> Arch64: Clear VFP state on execve()

I noticed that many of the math-related tests were failing on AArch64.
After a lot of debugging, I noticed that the floating point exception flags
were not being reset when starting a new process. This change resets the
VFP inside exec_setregs() to ensure no VFP register state is leaked from
parent processes to children.

This commit also moves the clearing of fpcr that was added in 65618fdda0f27
from fork() to execve() since that makes more sense: fork() can retain
current register values, but execve() should result in a well-defined
clean state.

Reviewed By: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29060
H A Delf32_machdep.cdiff 953a7d7c61f3b2f5351dfe668510ec782ae282e8 Tue Mar 09 20:11:40 CET 2021 Alex Richardson <arichardson@FreeBSD.org> Arch64: Clear VFP state on execve()

I noticed that many of the math-related tests were failing on AArch64.
After a lot of debugging, I noticed that the floating point exception flags
were not being reset when starting a new process. This change resets the
VFP inside exec_setregs() to ensure no VFP register state is leaked from
parent processes to children.

This commit also moves the clearing of fpcr that was added in 65618fdda0f27
from fork() to execve() since that makes more sense: fork() can retain
current register values, but execve() should result in a well-defined
clean state.

Reviewed By: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29060
H A Dvm_machdep.cdiff 953a7d7c61f3b2f5351dfe668510ec782ae282e8 Tue Mar 09 20:11:40 CET 2021 Alex Richardson <arichardson@FreeBSD.org> Arch64: Clear VFP state on execve()

I noticed that many of the math-related tests were failing on AArch64.
After a lot of debugging, I noticed that the floating point exception flags
were not being reset when starting a new process. This change resets the
VFP inside exec_setregs() to ensure no VFP register state is leaked from
parent processes to children.

This commit also moves the clearing of fpcr that was added in 65618fdda0f27
from fork() to execve() since that makes more sense: fork() can retain
current register values, but execve() should result in a well-defined
clean state.

Reviewed By: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29060
H A Dmachdep.cdiff 953a7d7c61f3b2f5351dfe668510ec782ae282e8 Tue Mar 09 20:11:40 CET 2021 Alex Richardson <arichardson@FreeBSD.org> Arch64: Clear VFP state on execve()

I noticed that many of the math-related tests were failing on AArch64.
After a lot of debugging, I noticed that the floating point exception flags
were not being reset when starting a new process. This change resets the
VFP inside exec_setregs() to ensure no VFP register state is leaked from
parent processes to children.

This commit also moves the clearing of fpcr that was added in 65618fdda0f27
from fork() to execve() since that makes more sense: fork() can retain
current register values, but execve() should result in a well-defined
clean state.

Reviewed By: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29060
/freebsd/sys/arm64/linux/
H A Dlinux_sysvec.cdiff 953a7d7c61f3b2f5351dfe668510ec782ae282e8 Tue Mar 09 20:11:40 CET 2021 Alex Richardson <arichardson@FreeBSD.org> Arch64: Clear VFP state on execve()

I noticed that many of the math-related tests were failing on AArch64.
After a lot of debugging, I noticed that the floating point exception flags
were not being reset when starting a new process. This change resets the
VFP inside exec_setregs() to ensure no VFP register state is leaked from
parent processes to children.

This commit also moves the clearing of fpcr that was added in 65618fdda0f27
from fork() to execve() since that makes more sense: fork() can retain
current register values, but execve() should result in a well-defined
clean state.

Reviewed By: andrew
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29060