[patch, fortran-dev] Use fixed variable sizes for stride calculations

Janne Blomqvist blomqvist.janne@gmail.com
Fri Apr 13 17:32:00 GMT 2012


On Wed, Apr 11, 2012 at 10:51, Thomas Koenig <tkoenig@netcologne.de> wrote:
> Hi,
>
>
>> this patch uses division by known sizes (which can usually be replaced
>> by a simple shift because intrinsics have sizes of power of two) instead
>> of division by the size extracted from the array descriptor itself.
>>
>> This should save about 20 cycles for a single calculation.
>>
>> I'll go through the rest of the library to identify other possibilities
>> for this.
>>
>> Regression-tested, no new failures.
>>
>> OK for the branch?
>
>
> Full patch at http://gcc.gnu.org/ml/fortran/2012-03/msg00120.html
>
> Ping?
>
>        Thomas

I thought I already approved this a few weeks ago
(http://gcc.gnu.org/ml/fortran/2012-03/msg00144.html)? Or if it has
been decided that I'm no longer a GFortran reviewer, it would be nice
if I'd be informed of this as well.


-- 
Janne Blomqvist



More information about the Gcc-patches mailing list