This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, fortran] Remove bounds checking in DO loops for inline matmul
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Thomas Koenig <tkoenig at netcologne dot de>
- Cc: "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: Sun, 10 Jun 2018 08:13:33 -0700
- Subject: Re: [patch, fortran] Remove bounds checking in DO loops for inline matmul
- References: <3c202f86-fbfb-f072-6e9d-b365a70eafff@netcologne.de>
- Reply-to: sgk at troutmask dot apl dot washington dot edu
On Sun, Jun 10, 2018 at 02:50:56PM +0200, Thomas Koenig wrote:
>
> the attached patch was motivated by the desire to reduce the runtime
> of programs with -fcheck=bounds with (some) optimization, in order
> to make debugging less time consuming.
>
> This patch removes the run-time bounds checks with -fcheck=bounds
> in the DO loops created by matmul inlining. The Necessary checks are
> already performed outside the loop, so the inner tests are not needed.
>
> OK for trunk?
>
Yes.
--
Steve