This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Finding out what backend instruction pattern matches instruction
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew Hutchinson <andrewhutchinson at cox dot net>
- Cc: gcc at gcc dot gnu dot org
- Date: 22 Jan 2008 11:40:29 -0800
- Subject: Re: Finding out what backend instruction pattern matches instruction
- References: <4794DD64.9040109@cox.net>
Andrew Hutchinson <andrewhutchinson@cox.net> writes:
> The alternative, perhaps, would be to set each length attribute
> dynamically in each pattern - if that was possible. But that looks
> like way more work.
That is certainly the best way. Search for "length" in mips.md for
one example of how it can be done.
Ian