Re: reassociation pass and built-in functions

2007-02-22 Thread Daniel Berlin
at the reassociation pass do for similar accumulation instruction that is not in built-in function) Currently MVE fails as it expects the pattern: x = x + something while it finds: x = something + x I could fix this in the MVE code, but I was wondering about the relations of reassociation pass and bu

Re: reassociation pass and built-in functions

2007-02-20 Thread Andrew Pinski
> > > Hello, > > We saw that the reassociation pass does not operate on built-in functions, > for example: > > vp3 = vec_madd (vp1, vp2, vp3); One thing which could be done is expand the builtins into tree code instead of keeping around a builtin function. This might also help other cases too

reassociation pass and built-in functions

2007-02-20 Thread Revital1 Eres
that is not in built-in function) Currently MVE fails as it expects the pattern: x = x + something while it finds: x = something + x I could fix this in the MVE code, but I was wondering about the relations of reassociation pass and built-in functions in general. Thanks, Revital