summaryrefslogtreecommitdiff
path: root/gcc/genmodes.c
diff options
context:
space:
mode:
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-11 07:22:22 +0000
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-11 07:22:22 +0000
commit63bebd1832125714446541ead84f89ce713e41dd (patch)
tree7e9ffab1e41b3278631e216182099e5e5842cb29 /gcc/genmodes.c
parent88a02186a9f58e546238736dcd02155aa9608024 (diff)
downloadgcc-63bebd1832125714446541ead84f89ce713e41dd.tar.gz
+2003-10-11 Andrew Pinski <pinskia@physics.uc.edu>
+ + * genmodes.c (emit_mode_mask) Change MASK to MODE_MASK. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72333 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genmodes.c')
-rw-r--r--gcc/genmodes.c8
1 files changed, 4 insertions, 4 deletions
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 ();
}