Subject: Re: StrongARM performance tweaks cpufunc_asm.S
To: None <rearnsha@buzzard.freeserve.co.uk, port-arm32@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm32
Date: 03/09/2001 16:30:07
In article <200103072209.f27M9g500929@buzzard.freeserve.co.uk> you write:
>Second tweak: increase the size of regions for which we use the single line
>flush commands -- profiling shows this to be a major win over flushing the
>entire cache (since the likelihood is that such lines won't be in the cache
>anyway).
>
>Finally the correctness fix is to add some calls to drain the write buffers
>-- these are particularly important when we are trying to synchronize I$
>and D$.

I've applied these two, as it was pretty clear they were worthwhile.  I'm
not entirely convinced all those write buffer drains are necessary, but
lacking any documentation of what the precise semantics of cpufunc
operations are meant to be, it's probably safer to have them there.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>