This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/29550] Optimize -fexternal-blas calls for conjg()
- From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Oct 2006 21:56:37 -0000
- Subject: [Bug fortran/29550] Optimize -fexternal-blas calls for conjg()
- References: <bug-29550-1719@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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