This is the mail archive of the gcc-patches@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: Ping ** 0.5 patch, fortran] Inline matmul with conjugate complex numbers


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
creating temporaries to make sure we only get n^2 and not n^3
evaluations of whatever function we use.

Thanks for the review!

Committed as rev. 223499.

Regards

	Thomas


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