This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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: [patch, fortran] Fix PR 69154, inline matmul with WHERE


On Mon, Jan 11, 2016 at 10:58:26PM +0100, Toon Moene wrote:
> 
> Am I correct in assuming that your inlining of MATMUL only treats the 
> form MATMUL(A, B) and not MATMUL(A, TRANSPOSE(B)) ?
> 

program u8
   real a(3,3), b(3,3), c(3,3)
   call random_number(a)
   call random_number(b)
   c = matmul(a,transpose(b))
   print *,c(1,1)
end program u8

% gfc6 -O2 -o z -fdump-tree-original u8.f90 && grep matmul u8.f90.003t.original 
    _gfortran_matmul_r4 (&parm.2, D.3427, D.3429, 0, 0, 0B);

-- 
Steve


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