This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch to set sizes and smaller types for mode/rtx arrays
- From: Richard Henderson <rth at redhat dot com>
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Dec 2001 15:07:17 -0800
- Subject: Re: Patch to set sizes and smaller types for mode/rtx arrays
- References: <200112170259.VAA03011@caip.rutgers.edu>
On Sun, Dec 16, 2001 at 09:59:04PM -0500, Kaveh R. Ghazi wrote:
> * machmode.h (mode_name, mode_class, mode_size, mode_unit_size,
> mode_bitsize, mode_mask_array, mode_wider_mode): Set array size in
> declaration to NUM_MACHINE_MODES.
> (mode_size, mode_unit_size): Set array type to unsigned char.
> (mode_bitsize): Set array type to unsigned short.
>
> * rtl.c (rtx_length): Set array type to unsigned char.
> (rtx_length, rtx_name, rtx_format, rtx_class): Set array size to
> NUM_RTX_CODE.
> (mode_bitsize): Set array type to unsigned short.
> (mode_size, mode_unit_size): Set array type to unsigned char.
> (mode_name, mode_class, mode_bitsize, mode_size, mode_unit_size,
> mode_wider_mode, mode_mask_array): Set array size to
> NUM_MACHINE_MODES.
>
> rtl.h (rtx_length, rtx_name, rtx_format, rtx_class): Set array
> size in declaration to NUM_RTX_CODE.
Ok.
r~