Re: [PATCH][RFC] Detect and use implementations of BLAS routines

2013-10-02 Thread Alexander Monakov
Hello, You probably want to disable this transformation when the number of iterations is predicted to be small, right? Shouldn't dot product transform be predicated on -fassociative-math? Do you have a vision of a generalized pattern matcher to allow adding other routines easily? I'm curious wh

Re: [PATCH][RFC] Detect and use implementations of BLAS routines

2013-10-02 Thread Tobias Burnus
Richard Biener wrote: > This adds recognition of [sd]axpy and [sd]dot computing partitions > to loop distribution (as an example for a moderately complex kernel > and one kernel involving a reduction). > > To make this a reality we have to control this by an option > (-fblas?) and we have to settl

[PATCH][RFC] Detect and use implementations of BLAS routines

2013-10-02 Thread Richard Biener
This adds recognition of [sd]axpy and [sd]dot computing partitions to loop distribution (as an example for a moderately complex kernel and one kernel involving a reduction). To make this a reality we have to control this by an option (-fblas?) and we have to settle to an ABI we rely on (trailing