aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2003-10-06 22:47:32 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-10-06 22:47:32 +0000
commit70a01792d85cdeb0baefdccc840444735f8cd396 (patch)
tree972d12bd6146ca789109687592f05e46952b0f67 /gcc/config/mips
parentba9b12d1d29019dc0f200cbfaea484e7a3762481 (diff)
downloadgcc-70a01792d85cdeb0baefdccc840444735f8cd396.zip
gcc-70a01792d85cdeb0baefdccc840444735f8cd396.tar.gz
gcc-70a01792d85cdeb0baefdccc840444735f8cd396.tar.bz2
real.h (REAL_MODE_FORMAT): New macro.
* real.h (REAL_MODE_FORMAT): New macro. * c-cppbuiltin.c, optabs.c, real.c, config/alpha/alpha.c * config/c4x/c4x.c, config/i370/i370.c, config/i386/freebsd.h * config/i386/i386.c, config/i960/i960.c, config/ia64/ia64.c * config/m68k/m68k.c, config/mips/mips.c, config/rs6000/rs6000.c * config/vax/vax.c: Use REAL_MODE_FORMAT instead of referring directly to real_format_for_mode array, wherever possible. From-SVN: r72168
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/mips.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 6c9d5ec..9478ec1 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4859,12 +4859,12 @@ override_options (void)
flag_delayed_branch = 0;
}
- real_format_for_mode[SFmode - QFmode] = &mips_single_format;
- real_format_for_mode[DFmode - QFmode] = &mips_double_format;
+ REAL_MODE_FORMAT (SFmode) = &mips_single_format;
+ REAL_MODE_FORMAT (DFmode) = &mips_double_format;
#ifdef MIPS_TFMODE_FORMAT
- real_format_for_mode[TFmode - QFmode] = &MIPS_TFMODE_FORMAT;
+ REAL_MODE_FORMAT (TFmode) = &MIPS_TFMODE_FORMAT;
#else
- real_format_for_mode[TFmode - QFmode] = &mips_quad_format;
+ REAL_MODE_FORMAT (TFmode) = &mips_quad_format;
#endif
mips_print_operand_punct['?'] = 1;