aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/Makefile.am
diff options
context:
space:
mode:
authorJanne Blomqvist <jb@gcc.gnu.org>2005-12-10 23:22:16 +0200
committerJanne Blomqvist <jb@gcc.gnu.org>2005-12-10 23:22:16 +0200
commit74f04a6a44feaa4374946a71e73910251bf4199c (patch)
tree4db684a0e9d85b18710d6aab97582596a668514f /libgfortran/Makefile.am
parent181c9f4a9ba6b2d64c7c0b56b777ad366e05a9c1 (diff)
downloadgcc-74f04a6a44feaa4374946a71e73910251bf4199c.zip
gcc-74f04a6a44feaa4374946a71e73910251bf4199c.tar.gz
gcc-74f04a6a44feaa4374946a71e73910251bf4199c.tar.bz2
Makefile.am: Enable loop unrolling for matmul.
2005-12-10 Janne Blomqvist <jb@gcc.gnu.org> * Makefile.am: Enable loop unrolling for matmul. * configure: Regenerated. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. From-SVN: r108359
Diffstat (limited to 'libgfortran/Makefile.am')
-rw-r--r--libgfortran/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am
index 553636c..c5f1abb 100644
--- a/libgfortran/Makefile.am
+++ b/libgfortran/Makefile.am
@@ -575,8 +575,10 @@ $(gfor_built_specific2_src) \
intrinsics/dprod_r8.f90 \
intrinsics/f2c_specifics.F90
-# Turn on vectorization for matmul.
-$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ftree-vectorize
+# Turn on vectorization and loop unrolling for matmul.
+$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ftree-vectorize -funroll-loops
+# Logical matmul doesn't vectorize.
+$(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops
BUILT_SOURCES=$(gfor_built_src) $(gfor_built_specific_src) \
$(gfor_built_specific2_src)