This is the mail archive of the gcc@gcc.gnu.org mailing 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]

Re: define_insn : order of matching patterns


Alexandre Oliva wrote:

> On Dec  4, 2001, jeroen dobbelaere <jeroen.dobbelaere@acunia.com> wrote:
> 
> 
>>1. Why doesn't the original pattern ('*mulhisi3addsi_left') get a match ?
>>
> 
> Read about pattern canonicalization in the GCC manual.
> 
> 

Ok. Found it there :

<http://gcc.gnu.org/onlinedocs/gcc_21.html#SEC246>

     * For commutative and comparison operators, [..]
       if only one operand is a neg, not, mult, plus, or minus expression, it will be the first operand.

Thanks !

--
Jeroen Dobbelaere
Embedded Software Engineer

ACUNIA Embedded Solutions
http://www.acunia.com



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]