Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/include Explain our implementation choice for...



details:   https://anonhg.NetBSD.org/src/rev/417c0e682861
branches:  trunk
changeset: 356847:417c0e682861
user:      maya <maya%NetBSD.org@localhost>
date:      Tue Oct 17 00:26:35 2017 +0000

description:
Explain our implementation choice for implementation-defined values

diffstat:

 sys/arch/alpha/include/fpu.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 10e49e90306e -r 417c0e682861 sys/arch/alpha/include/fpu.h
--- a/sys/arch/alpha/include/fpu.h      Mon Oct 16 17:52:10 2017 +0000
+++ b/sys/arch/alpha/include/fpu.h      Tue Oct 17 00:26:35 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu.h,v 1.6 2008/05/10 15:31:04 martin Exp $ */
+/* $NetBSD: fpu.h,v 1.7 2017/10/17 00:26:35 maya Exp $ */
 
 /*-
  * Copyright (c) 2001 Ross Harvey
@@ -91,8 +91,8 @@
 #define        IEEE_TRAP_ENABLE_INV _FP_C_DEF(1)
 
 #define        IEEE_INHERIT _FP_C_DEF(14)
-#define        IEEE_MAP_UMZ _FP_C_DEF(13)
-#define        IEEE_MAP_DMZ _FP_C_DEF(12)
+#define        IEEE_MAP_UMZ _FP_C_DEF(13)      /* Map underflowed outputs to zero */
+#define        IEEE_MAP_DMZ _FP_C_DEF(12)      /* Map denormal inputs to zero */
 
 #define FP_C_MIRRORED (IEEE_STATUS_INE | IEEE_STATUS_UNF | IEEE_STATUS_OVF\
                                | IEEE_STATUS_DZE | IEEE_STATUS_INV)



Home | Main Index | Thread Index | Old Index