aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-10-21 00:15:12 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-10-21 00:15:12 +0000
commitc0b5fcf6922574a5facf8c31f7066e6d6341cd82 (patch)
treed30d6d063210021987de423119dad961973c67d9 /sbin/ifconfig
parenta2b559df1eb550c58264c2dd9aa7a892963c697f (diff)
downloadsrc-c0b5fcf6922574a5facf8c31f7066e6d6341cd82.tar.gz
src-c0b5fcf6922574a5facf8c31f7066e6d6341cd82.zip
Improve FPU Tag Word reconstruction on i386 to indicate register states.
Improve the code reconstructing en_tw in struct fpreg32 from FXSAVE results so that all register states are indicated correctly. The previous code unconditionally mapped non-empty register state to 'normalized value' constant. The new code explicitly distinguishes the 'zero value' and 'special value' constants as well. This improves consistency between real FSAVE and translation from FXSAVE, and ensures that tests using PT_GETFPREGS can rely on a single correct value independently of the underlying implementation. PR: 250454 Sponsored by: The FreeBSD Foundation Obtained from: Moritz Systems Submitted by: Michał Górny <mgorny@moritz.systems> Discussed with: emaste MFC after: 1 week Differential revision: https://reviews.freebsd.org/D26856
Notes
Notes: svn path=/head/; revision=366904
Diffstat (limited to 'sbin/ifconfig')
0 files changed, 0 insertions, 0 deletions