Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util VAXin...



details:   https://anonhg.NetBSD.org/xsrc/rev/17fed26fd6ce
branches:  trunk
changeset: 10261:17fed26fd6ce
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Apr 07 15:34:46 2019 +0000

description:
VAXinate (No IEEE math)

diffstat:

 external/mit/MesaLib/dist/src/gallium/auxiliary/util/u_format_tests.c |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (23 lines):

diff -r 8be7dd91f26e -r 17fed26fd6ce external/mit/MesaLib/dist/src/gallium/auxiliary/util/u_format_tests.c
--- a/external/mit/MesaLib/dist/src/gallium/auxiliary/util/u_format_tests.c     Sat Apr 06 10:00:13 2019 +0000
+++ b/external/mit/MesaLib/dist/src/gallium/auxiliary/util/u_format_tests.c     Sun Apr 07 15:34:46 2019 +0000
@@ -921,15 +921,19 @@
 
 #if !defined(PIPE_CC_MSVC)
 
+#ifdef NAN
    /* NaNs */
    {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0x7c01), UNPACKED_1x1(        NAN, 0.0, 0.0, 1.0)},
    {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0xfc01), UNPACKED_1x1(       -NAN, 0.0, 0.0, 1.0)},
    {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0x7fff), UNPACKED_1x1(        NAN, 0.0, 0.0, 1.0)},
    {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0xffff), UNPACKED_1x1(       -NAN, 0.0, 0.0, 1.0)},
+#endif
 
+#ifdef INFINITY
    /* Inf */
    {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0x7c00), UNPACKED_1x1(        INFINITY, 0.0, 0.0, 1.0)},
    {PIPE_FORMAT_R16_FLOAT, PACKED_1x16(0xffff), PACKED_1x16(0xfc00), UNPACKED_1x1(       -INFINITY, 0.0, 0.0, 1.0)},
+#endif
 
 #endif
 



Home | Main Index | Thread Index | Old Index