This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
shrink struct insn_operand_data
- To: gcc-patches at gcc dot gnu dot org
- Subject: shrink struct insn_operand_data
- From: Zack Weinberg <zackw at panix dot com>
- Date: Sun, 12 Aug 2001 02:53:54 -0400
This is good for 8KB off the size of the i386 insn-output.o, as the
structure now fits in three words instead of being four with padding.
There are less than 60 machine modes, but there's no point in making the
field any smaller than 16 bits.
bootstrapped i686-linux.
zw
* recog.h (struct insn_operand_data): Shrink 'mode' field
to 16 bits.
===================================================================
Index: recog.h
--- recog.h 2001/02/18 23:56:34 1.38
+++ recog.h 2001/08/12 06:49:28
@@ -219,7 +219,7 @@ struct insn_operand_data
const char *constraint;
- enum machine_mode mode;
+ ENUM_BITFIELD(machine_mode) mode : 16;
char strict_low;