This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Reduce stack use in blocked matmul
- From: Jerry DeLisle <jvdelisle at charter dot net>
- To: Thomas Koenig <tkoenig at netcologne dot de>, "fortran at gcc dot gnu dot org" <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 8 May 2017 09:58:41 -0700
- Subject: Re: [patch, fortran] Reduce stack use in blocked matmul
- Authentication-results: sourceware.org; auth=none
- References: <2f81b4a0-79b7-1366-56f3-7355bb9f264a@netcologne.de>
On 05/05/2017 01:31 PM, Thomas Koenig wrote:
> Hello world,
>
> the attached patch reduces the stack usage by the blocked
> version of matmul for cases where we don't need the full buffer.
> This should improve stack usage.
>
> Regression-tested. I also added a stress test (around 3 secs of
> CPU time on my system), it will only run once due to the "dg-do run"
> hack).
>
> OK for trunk?
>
OK, thanks.
Jerry