[Bug fortran/29549] matmul slow for complex matrices
jb at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 16 22:33:00 GMT 2008
------- Comment #10 from jb at gcc dot gnu dot org 2008-02-16 22:33 -------
Actually, we could compile the entire libgfortran with -fcx-fortran-rules as
well:
Index: Makefile.am
===================================================================
--- Makefile.am (revision 132367)
+++ Makefile.am (working copy)
@@ -28,6 +28,9 @@ AM_CPPFLAGS = -iquote$(srcdir)/io -I$(sr
-I$(srcdir)/$(MULTISRCTOP)../gcc/config \
-I$(MULTIBUILDTOP)../../$(host_subdir)/gcc -D_GNU_SOURCE
+# Fortran rules for complex multiplication and division
+AM_CFLAGS += -fcx-fortran-rules
+
gfor_io_src= \
io/close.c \
io/file_pos.c \
Regtested on i686-pc-linux-gnu. This might benefit other intrinsics using
complex multiplication and division as well, e.g. PRODUCT.
I'll go ahead and write some documentation as well, and submit the entire thing
once 4.4 opens; assigning to myself.
--
jb at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jb at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2006-11-04 14:15:02 |2008-02-16 22:33:12
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29549
More information about the Gcc-bugs
mailing list