| Copyright 2003 Richard Curnow, SuperH (UK) Ltd. |
| This file is subject to the terms and conditions of the GNU General Public |
| License. See the file "COPYING" in the main directory of this archive |
| Tight version of memset for the case of just clearing a page. It turns out |
| that having the alloco's spaced out slightly due to the increment/branch |
| pair causes them to contend less for access to the cache. Similarly, |
| keeping the stores apart from the allocos causes less contention. => Do two |
| separate loops. Do multiple stores per loop to amortise the |
| increment/branch cost a little. |
| r2 : source effective address (start of page) |
| Always clears 4096 bytes. |
| Note : alloco guarded by synco to avoid TAKum03020 erratum |
| .section .text..SHmedia32,"ax" |