[patch, fortran] Handle MATMUL(TRANSPOSE(A),B) in inline matmul

Thomas Koenig tkoenig@netcologne.de
Wed May 24 18:52:00 GMT 2017


Hi Jerry,
> On 05/17/2017 02:41 PM, Thomas Koenig wrote:
>> Hello world,
>>
>> after receiving no negative feedback on my RFC patch, I have deciced
>> to submit the patch.
>>
>> The attached patch handles MATMUL(TRANSPOSE(A),B) in inlining matmul.
>> Speed is a bit faster than the library version.
>>
>> Regression-tested.  OK for trunk?
>>
> 
> OK and thanks for patch.

Committed as rev.  248425.

Thanks for the review!

I am going to close PR 66094 now.  Any other cases
would be silly.  With a vector v and a matrix a,

matmul(transpose(a),v) can be replaced by matmul(v,a)
matmul(v,transpose(a)) can be replaced by matmul(a,v)

And as for matmul(transpose(a), transpose(b)), well...

Regards

	Thomas



More information about the Fortran mailing list