This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to clean up i386 machine description?
- To: law at cygnus dot com
- Subject: Re: How to clean up i386 machine description?
- From: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>
- Date: Fri, 20 Nov 1998 17:38:22 +1300 (NZDT)
- Cc: Michael Hayes <m dot hayes at elec dot canterbury dot ac dot nz>, Colin Douglas Howell <howell at cs dot stanford dot edu>, amylaar at cygnus dot co dot uk (Joern Rennecke), hubicka at horac dot ta dot jcu dot cz, rth at cygnus dot com, pcg at goof dot com, egcs at cygnus dot com
- References: <"13903.43029.876619.202723"@ongaonga.elec.canterbury.ac.nz><14457.911534088@hurl.cygnus.com>
Jeffrey A Law writes:
> Note that you have to be careful about using conditions in named
> patterns that the tree->rtl converter knows about. Conditions on
> those patterns can only check TARGET_XXX stuff, they can not be
> dependent on the operands. Easy tidbit to forget.
Good point. The approach I employed was to use define_expand for
these named patterns and to force operands into registers when the
operand combinations were invalid.
Michael.