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).

Patch supplied by Richard Earnshaw.
This commit is contained in:
bjh21 2001-03-09 16:17:19 +00:00
parent 8f833ca839
commit 5a6e5a05e3

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpufunc_asm.S,v 1.10 1999/10/26 06:53:41 cgd Exp $ */
/* $NetBSD: cpufunc_asm.S,v 1.11 2001/03/09 16:17:19 bjh21 Exp $ */
/*
* arm8 support code Copyright (c) 1997 ARM Limited
@ -660,7 +660,7 @@ sa110_cache_cleanD_rng_loop:
mov pc, lr
ENTRY(sa110_cache_purgeID_rng)
cmp r1, #0x2000
cmp r1, #0x4000
bcs _C_LABEL(sa110_cache_purgeID)
and r2, r0, #0x1f
@ -679,7 +679,7 @@ sa110_cache_purgeID_rng_loop:
mov pc, lr
ENTRY(sa110_cache_purgeD_rng)
cmp r1, #0x2000
cmp r1, #0x4000
bcs _C_LABEL(sa110_cache_purgeD)
and r2, r0, #0x1f