diff options
author | Roger Sayle <roger@eyesopen.com> | 2005-03-15 04:24:02 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2005-03-15 04:24:02 +0000 |
commit | b87a02062059c9bedf31471c1e080daf49f2ae3e (patch) | |
tree | fd1306387b9c3baa836922299f7959de1d960916 /gcc/optabs.c | |
parent | 223c8158927a356b3a49eaa209c3ba9f57a0c6dd (diff) | |
download | gcc-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/optabs.c')
-rw-r--r-- | gcc/optabs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/optabs.c b/gcc/optabs.c index f0c336e..d41a234 100644 --- a/gcc/optabs.c +++ b/gcc/optabs.c @@ -2182,7 +2182,7 @@ expand_absneg_bit (enum rtx_code code, enum machine_mode mode, if (fmt == NULL) return NULL_RTX; - bitpos = fmt->signbit; + bitpos = fmt->signbit_rw; if (bitpos < 0) return NULL_RTX; @@ -2882,7 +2882,7 @@ expand_copysign (rtx op0, rtx op1, rtx target) if (fmt == NULL || !fmt->has_signed_zero) return NULL_RTX; - bitpos = fmt->signbit; + bitpos = fmt->signbit_rw; if (bitpos < 0) return NULL_RTX; |