Re: Ping ** 0.5 patch, fortran] Inline matmul with conjugate complex numbers

2015-05-21 Thread Thomas Koenig
Hi Mikael, > There is little that is specific to conjg (any elemental function would > work roughly the same), but anyway, the patch is OK. Conjg has the advantage that it is an extremely cheap function - essentially zero cost. For an arbitrary elemental function, we would have to think about cr

Re: Ping ** 0.5 patch, fortran] Inline matmul with conjugate complex numbers

2015-05-21 Thread Mikael Morin
Le 21/05/2015 19:51, Thomas Koenig a écrit : > Am 18.05.2015 um 00:05 schrieb Thomas Koenig: >> this patch extends the inline matmul functionality to conjugate >> complex numbers. >> >> Regression-tested. OK for trunk? > > OK (with the trivial change in the follow-up e-mail)? > > I'd like to star

Ping ** 0.5 patch, fortran] Inline matmul with conjugate complex numbers

2015-05-21 Thread Thomas Koenig
Am 18.05.2015 um 00:05 schrieb Thomas Koenig: > this patch extends the inline matmul functionality to conjugate > complex numbers. > > Regression-tested. OK for trunk? OK (with the trivial change in the follow-up e-mail)? I'd like to start extending this to TRANSPOSE(CONJG(A)) :-) Thoma

[patch, fortran] Inline matmul with conjugate complex numbers

2015-05-17 Thread Thomas Koenig
Hello world, this patch extends the inline matmul functionality to conjugate complex numbers. Regression-tested. OK for trunk? Regards Thomas 2015-05-17 Thomas Koenig PR fortran/66176 * frontend-passes.c (check_conjg_variable): New function. (inline_matmul_