diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2016-06-25 21:57:55 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2016-07-01 20:43:12 -0400 |
commit | c183cd86045c09fcbba056a606ae50f11c9c5b5a (patch) | |
tree | 07cce0d4876a59e076b0d420c4baf0985b9e2113 /config_h.SH | |
parent | ee4b19b959afbc7b1778ed123bdc8612e6fb0cd6 (diff) | |
download | perl-c183cd86045c09fcbba056a606ae50f11c9c5b5a.tar.gz |
VAX: Configure changes for VAX floats
Detect the VAX floating point formats D and G.
And the F float, but that is float (duh), never likely to be
the double, but do it for consistency (we detect IEEE single
precision floats, too).
The T float and X float are the IEEE 64-bit and 128-bit,
but those were available only on the Alpha.
Tested on vax-netbsd.
Diffstat (limited to 'config_h.SH')
-rwxr-xr-x | config_h.SH | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config_h.SH b/config_h.SH index 6e8cd3b350..9d3b5d8eae 100755 --- a/config_h.SH +++ b/config_h.SH @@ -3965,6 +3965,9 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un * DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE * DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE + * DOUBLE_IS_VAX_F_FLOAT + * DOUBLE_IS_VAX_D_FLOAT + * DOUBLE_IS_VAX_G_FLOAT * DOUBLE_IS_UNKNOWN_FORMAT */ #define DOUBLEKIND $doublekind /**/ @@ -3976,6 +3979,9 @@ sed <<!GROK!THIS! >$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un #define DOUBLE_IS_IEEE_754_128_BIT_BIG_ENDIAN 6 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_LE_BE 7 #define DOUBLE_IS_IEEE_754_64_BIT_MIXED_ENDIAN_BE_LE 8 +#define DOUBLE_IS_VAX_F_FLOAT 9 +#define DOUBLE_IS_VAX_D_FLOAT 10 +#define DOUBLE_IS_VAX_G_FLOAT 11 #define DOUBLE_IS_UNKNOWN_FORMAT -1 #$d_PRIfldbl PERL_PRIfldbl $sPRIfldbl /**/ #$d_PRIgldbl PERL_PRIgldbl $sPRIgldbl /**/ |