Richard Henderson - Re: [m32c] reject illegal subregs of hard regs (original) (raw)
This is the mail archive of the gcc-patches@gcc.gnu.orgmailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: Richard Henderson
- To: DJ Delorie
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 8 Feb 2007 16:26:54 -0800
- Subject: Re: [m32c] reject illegal subregs of hard regs
- References: <200702082222.l18MMsai028179@greed.delorie.com>
On Thu, Feb 08, 2007 at 05:22:54PM -0500, DJ Delorie wrote:
+static struct {
- enum machine_mode outer_mode_size;
- enum machine_mode inner_mode_size;
- unsigned int regno;
- int byte_mask;
- int legal_when; +} legal_subregs[] = {
- {1, 2, R0_REGNO, 0x03, 1}, /* r0h r0l */
outer_mode_size and inner_mode_size should probably be unsigned char; you're not actually using a machine mode here. If you change that, move byte_mask and legal_when next to them, and make them unsigned char too.
Make the whole array const.
r~
- Follow-Ups:
- Re: [m32c] reject illegal subregs of hard regs
* From: DJ Delorie
- Re: [m32c] reject illegal subregs of hard regs
- References:
- [m32c] reject illegal subregs of hard regs
* From: DJ Delorie
- [m32c] reject illegal subregs of hard regs
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |