From: Jerry DeLisle Date: Wed, 16 Nov 2016 21:54:25 +0000 (+0000) Subject: re PR libfortran/51119 (MATMUL slow for large matrices) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d174eb6541dc457ada0297dfbbb904cc563b5437;p=gcc.git re PR libfortran/51119 (MATMUL slow for large matrices) 2016-11-16 Jerry DeLisle PR libgfortran/51119 * Makefile.am: Remove -fno-protect-parens -fstack-arrays. * Makefile.in: Regenerate. From-SVN: r242518 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 15fe6634eeb..affc7f08e3d 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2016-11-16 Jerry DeLisle + + PR libgfortran/51119 + * Makefile.am: Remove -fno-protect-parens -fstack-arrays. + * Makefile.in: Regenerate. + 2016-11-16 Szabolcs Nagy PR libgfortran/78314 diff --git a/libgfortran/Makefile.am b/libgfortran/Makefile.am index 7f4002dcad4..3db52b85b86 100644 --- a/libgfortran/Makefile.am +++ b/libgfortran/Makefile.am @@ -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 diff --git a/libgfortran/Makefile.in b/libgfortran/Makefile.in index c1a37d78c40..f7b34b943c8 100644 --- a/libgfortran/Makefile.in +++ b/libgfortran/Makefile.in @@ -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