------- Comment #3 from fxcoudert at gcc dot gnu dot org  2006-10-23 21:56 
-------
(In reply to comment #2)
> We could detect in iresolve.c (gfc_resolve_matmul) that one (or both) of the
> arguments to MATMUL is a call to CONJ, and then rewrite the code to be
> MATMUL(A,B,2) instead of MATMUL(A,CONJG(B)), where the 2 is an extra "hidden"
> integer argument that means here that the second MATMUL arg is to be 
> conjugated
> during the matrix multiplication.

I've create a patch along these lines, and it was too slow. I'm now writing
special functions for every possible case.


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |fxcoudert at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-10-22 23:14:54         |2006-10-23 21:56:37
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29550

Reply via email to