git: npx: Use 'fldz' in fpu_clean_state() to load dummy zero
Aaron LI
aly at crater.dragonflybsd.org
Tue Jul 6 16:34:26 PDT 2021
commit 6becaabbb80a1d1b37c868ce7f22fca2ef6a743f
Author: Aaron LI <aly at aaronly.me>
Date: Wed Jul 7 07:17:46 2021 +0800
npx: Use 'fldz' in fpu_clean_state() to load dummy zero
The 'fldz' instruction pushs +0.0 onto the FPU register stack. Use it
to replace the 'dummy_variable' variable.
Referred-to: NetBSD
Summary of changes:
sys/platform/pc64/x86_64/npx.c | 3 +--
sys/platform/vkernel64/x86_64/npx.c | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6becaabbb80a1d1b37c868ce7f22fca2ef6a743f
--
DragonFly BSD source repository
More information about the Commits
mailing list