From 379f1861d3d143f28098ceb8a32a7ddcd81c936b Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 11 Oct 2003 07:22:22 +0000 Subject: [PATCH] +2003-10-11 Andrew Pinski + + * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK. From-SVN: r72333 --- gcc/ChangeLog | 4 ++++ gcc/genmodes.c | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2c837bbc8e..f24744b75b6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-10-11 Andrew Pinski + + * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK. + 2003-10-11 Kazu Hirata * config/m68k/m68k-protos.h: Remove the prototype for diff --git a/gcc/genmodes.c b/gcc/genmodes.c index 7a5d2951b1b..c2919f4bdbe 100644 --- a/gcc/genmodes.c +++ b/gcc/genmodes.c @@ -790,18 +790,18 @@ emit_mode_mask (void) print_decl ("unsigned HOST_WIDE_INT", "mode_mask_array", "NUM_MACHINE_MODES"); puts ("\ -#define MASK(m) \\\n\ +#define MODE_MASK(m) \\\n\ ((m) >= HOST_BITS_PER_WIDE_INT) \\\n\ ? ~(unsigned HOST_WIDE_INT) 0 \\\n\ : ((unsigned HOST_WIDE_INT) 1 << (m)) - 1\n"); for_all_modes (c, m) if (m->bitsize != (unsigned int)-1) - tagged_printf ("MASK (%u)", m->bitsize, m->name); + tagged_printf ("MODE_MASK (%u)", m->bitsize, m->name); else - tagged_printf ("MASK (%u*BITS_PER_UNIT)", m->bytesize, m->name); + tagged_printf ("MODE_MASK (%u*BITS_PER_UNIT)", m->bytesize, m->name); - puts ("#undef MASK"); + puts ("#undef MODE_MASK"); print_closer (); }