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: hubicka at horac dot ta dot jcu dot cz (Jan Hubicka)
- Subject: Re: How to clean up i386 machine description?
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 16 Nov 1998 11:19:21 +0000 (GMT)
- Cc: m dot hayes at elec dot canterbury dot ac dot nz, howell at cs dot stanford dot edu, amylaar at cygnus dot co dot uk, rth at cygnus dot com, law at cygnus dot com, pcg at goof dot com, egcs at cygnus dot com
> If I understand correctly it does by alternative, always tries to
> match and use the condition filed from insn pattern?
> So for example if I use "m,r" constraint and
> in condition I use GET_CODE(oeprands[x])!=MEM
> I will get "r" constraint?
> (just simple example :)
No, the idea is that you reject with the insn predicate combinations that
are not valid acording to the constraints, so that the passes before
reload can't recognize the invalid insns, and reload has less work.
reload itself is still constraint driven.