aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2005-03-15 04:24:02 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2005-03-15 04:24:02 +0000
commitb87a02062059c9bedf31471c1e080daf49f2ae3e (patch)
treefd1306387b9c3baa836922299f7959de1d960916 /gcc/real.c
parent223c8158927a356b3a49eaa209c3ba9f57a0c6dd (diff)
downloadgcc-b87a02062059c9bedf31471c1e080daf49f2ae3e.zip
gcc-b87a02062059c9bedf31471c1e080daf49f2ae3e.tar.gz
gcc-b87a02062059c9bedf31471c1e080daf49f2ae3e.tar.bz2
real.h (struct real_format): Split the signbit field into two two fields, signbit_ro and signbit_rw.
* real.h (struct real_format): Split the signbit field into two two fields, signbit_ro and signbit_rw. * real.c (ieee_single_format, mips_single_format, ieee_double_format, mips_double_format, ieee_extended_motorola_format, ieee_extended_intel_96_format, ieee_extended_intel_96_round_53_format, ieee_extended_intel_128_format, ibm_extended_format, mips_extended_format, ieee_quad_format, mips_quad_format, vax_f_format, vax_d_format, vax_g_format, i370_single_format, i370_double_format, c4x_single_format, c4x_extended_format, real_internal_format): Update initializers for new field. * builtins.c (expand_builtin_signbit): Use signbit_ro field of the real_format structure. * optabs.c (expand_absneg_bit, expand_copysign): Use signbit_rw field of the real_format structure. From-SVN: r96471
Diffstat (limited to 'gcc/real.c')
-rw-r--r--gcc/real.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/gcc/real.c b/gcc/real.c
index 5d1a79f..bed2fb0 100644
--- a/gcc/real.c
+++ b/gcc/real.c
@@ -2651,6 +2651,7 @@ const struct real_format ieee_single_format =
-125,
128,
31,
+ 31,
true,
true,
true,
@@ -2669,6 +2670,7 @@ const struct real_format mips_single_format =
-125,
128,
31,
+ 31,
true,
true,
true,
@@ -2874,6 +2876,7 @@ const struct real_format ieee_double_format =
-1021,
1024,
63,
+ 63,
true,
true,
true,
@@ -2892,6 +2895,7 @@ const struct real_format mips_double_format =
-1021,
1024,
63,
+ 63,
true,
true,
true,
@@ -3221,6 +3225,7 @@ const struct real_format ieee_extended_motorola_format =
-16382,
16384,
95,
+ 95,
true,
true,
true,
@@ -3239,6 +3244,7 @@ const struct real_format ieee_extended_intel_96_format =
-16381,
16384,
79,
+ 79,
true,
true,
true,
@@ -3257,6 +3263,7 @@ const struct real_format ieee_extended_intel_128_format =
-16381,
16384,
79,
+ 79,
true,
true,
true,
@@ -3277,6 +3284,7 @@ const struct real_format ieee_extended_intel_96_round_53_format =
-16381,
16384,
79,
+ 79,
true,
true,
true,
@@ -3361,6 +3369,7 @@ const struct real_format ibm_extended_format =
53,
-1021 + 53,
1024,
+ 127,
-1,
true,
true,
@@ -3379,6 +3388,7 @@ const struct real_format mips_extended_format =
53,
-1021 + 53,
1024,
+ 127,
-1,
true,
true,
@@ -3646,6 +3656,7 @@ const struct real_format ieee_quad_format =
-16381,
16384,
127,
+ 127,
true,
true,
true,
@@ -3664,6 +3675,7 @@ const struct real_format mips_quad_format =
-16381,
16384,
127,
+ 127,
true,
true,
true,
@@ -3961,6 +3973,7 @@ const struct real_format vax_f_format =
-127,
127,
15,
+ 15,
false,
false,
false,
@@ -3979,6 +3992,7 @@ const struct real_format vax_d_format =
-127,
127,
15,
+ 15,
false,
false,
false,
@@ -3997,6 +4011,7 @@ const struct real_format vax_g_format =
-1023,
1023,
15,
+ 15,
false,
false,
false,
@@ -4172,6 +4187,7 @@ const struct real_format i370_single_format =
-64,
63,
31,
+ 31,
false,
false,
false, /* ??? The encoding does allow for "unnormals". */
@@ -4190,6 +4206,7 @@ const struct real_format i370_double_format =
-64,
63,
63,
+ 63,
false,
false,
false, /* ??? The encoding does allow for "unnormals". */
@@ -4398,6 +4415,7 @@ const struct real_format c4x_single_format =
-126,
128,
-1,
+ -1,
false,
false,
false,
@@ -4416,6 +4434,7 @@ const struct real_format c4x_extended_format =
-126,
128,
-1,
+ -1,
false,
false,
false,
@@ -4459,6 +4478,7 @@ const struct real_format real_internal_format =
-MAX_EXP,
MAX_EXP,
-1,
+ -1,
true,
true,
false,