From: Steve Hay Date: Mon, 20 Jun 2005 09:30:23 +0000 (+0000) Subject: Support NV_ZERO_IS_ALLBITS_ZERO on Win32 (re: change 24898) X-Git-Tag: accepted/trunk/20130322.191538~20348 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9be5486593f0ddc941cf3c595bcc9bd8b4c00b5;p=platform%2Fupstream%2Fperl.git Support NV_ZERO_IS_ALLBITS_ZERO on Win32 (re: change 24898) The try.c test program added to Configure by change 24898 outputs "Yes" using each of VC++, GCC and BCC32, so here goes... p4raw-id: //depot/perl@24905 --- diff --git a/win32/config.bc b/win32/config.bc index 5434b33..5b43d2e 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -306,6 +306,7 @@ d_nanosleep='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' +d_nv_zero_is_allbits_zero='define' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config.gc b/win32/config.gc index f86a4a5..604fa62 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -305,6 +305,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' +d_nv_zero_is_allbits_zero='define' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config.vc b/win32/config.vc index 0baf3f5..6c2834a 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -305,6 +305,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='define' +d_nv_zero_is_allbits_zero='define' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config.vc64 b/win32/config.vc64 index c45b6bf..702c539 100644 --- a/win32/config.vc64 +++ b/win32/config.vc64 @@ -305,6 +305,7 @@ d_mymalloc='undef' d_nice='undef' d_nl_langinfo='undef' d_nv_preserves_uv='undef' +d_nv_zero_is_allbits_zero='define' d_off64_t='undef' d_old_pthread_create_joinable='undef' d_oldpthreads='undef' diff --git a/win32/config_H.bc b/win32/config_H.bc index 9a8ab46..adccb81 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -3222,6 +3222,10 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE long /**/ #define UVTYPE unsigned long /**/ #define I8TYPE char /**/ @@ -3250,6 +3254,7 @@ #define NVSIZE 8 /**/ #define NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS 32 +#define NV_ZERO_IS_ALLBITS_ZERO /* IVdf: * This symbol defines the format string used for printing a Perl IV diff --git a/win32/config_H.gc b/win32/config_H.gc index 7511a00..56ab22a 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -3222,6 +3222,10 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE long /**/ #define UVTYPE unsigned long /**/ #define I8TYPE char /**/ @@ -3250,6 +3254,7 @@ #define NVSIZE 8 /**/ #define NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS 32 +#define NV_ZERO_IS_ALLBITS_ZERO /* IVdf: * This symbol defines the format string used for printing a Perl IV diff --git a/win32/config_H.vc b/win32/config_H.vc index 2012c69..b380158 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -3222,6 +3222,10 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE long /**/ #define UVTYPE unsigned long /**/ #define I8TYPE char /**/ @@ -3250,6 +3254,7 @@ #define NVSIZE 8 /**/ #define NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS 32 +#define NV_ZERO_IS_ALLBITS_ZERO /* IVdf: * This symbol defines the format string used for printing a Perl IV diff --git a/win32/config_H.vc64 b/win32/config_H.vc64 index c996d39..a298250 100644 --- a/win32/config_H.vc64 +++ b/win32/config_H.vc64 @@ -3222,6 +3222,10 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE __int64 /**/ #define UVTYPE unsigned __int64 /**/ #define I8TYPE char /**/ @@ -3250,6 +3254,7 @@ #define NVSIZE 8 /**/ #undef NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS 53 +#define NV_ZERO_IS_ALLBITS_ZERO /* IVdf: * This symbol defines the format string used for printing a Perl IV