re PR libfortran/51119 (MATMUL slow for large matrices)
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 16 Nov 2016 21:54:25 +0000 (21:54 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Wed, 16 Nov 2016 21:54:25 +0000 (21:54 +0000)
2016-11-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR libgfortran/51119
* Makefile.am: Remove -fno-protect-parens -fstack-arrays.
* Makefile.in: Regenerate.

From-SVN: r242518

libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in

index 15fe6634eeb91b376ebeecb2df7b8d4abc681505..affc7f08e3dddd82e886bdf9e89df6cbb294c46d 100644 (file)
@@ -1,3 +1,9 @@
+2016-11-16  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
+
+       PR libgfortran/51119
+       * Makefile.am: Remove -fno-protect-parens -fstack-arrays.
+       * Makefile.in: Regenerate.
+
 2016-11-16  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
        PR libgfortran/78314
index 7f4002dcad48ba0d5a30a02725e38173d4840e62..3db52b85b8660a2424557c9facf6e229863f6d6e 100644 (file)
@@ -850,7 +850,7 @@ intrinsics/dprod_r8.f90 \
 intrinsics/f2c_specifics.F90
 
 # Turn on vectorization and loop unrolling for matmul.
-$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -fno-protect-parens -fstack-arrays -ftree-vectorize -funroll-loops --param max-unroll-times=4 
+$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 
 # Logical matmul doesn't vectorize.
 $(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops
 
index c1a37d78c40bb47abb8a45c459b20b82ac77d40f..f7b34b943c8d4252d61a1a8a997e3a2b5cdd3cbd 100644 (file)
@@ -5956,7 +5956,7 @@ uninstall-am: uninstall-cafexeclibLTLIBRARIES \
 @LIBGFOR_USE_SYMVER_SUN_TRUE@@LIBGFOR_USE_SYMVER_TRUE@  > $@ || (rm -f $@ ; exit 1)
 
 # Turn on vectorization and loop unrolling for matmul.
-$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -fno-protect-parens -fstack-arrays -ftree-vectorize -funroll-loops --param max-unroll-times=4 
+$(patsubst %.c,%.lo,$(notdir $(i_matmul_c))): AM_CFLAGS += -ffast-math -ftree-vectorize -funroll-loops --param max-unroll-times=4 
 # Logical matmul doesn't vectorize.
 $(patsubst %.c,%.lo,$(notdir $(i_matmull_c))): AM_CFLAGS += -funroll-loops