Subject: Re: Minor performance tweak to bcopy_page.S
To: Ben Harris <bjh21@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-arm32
Date: 03/08/2001 16:38:07
--jI8keyz6grp/JLjh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 08, 2001 at 02:19:01PM +0000, Ben Harris wrote:
> In article <200103072138.f27LbJ500804@buzzard.freeserve.co.uk> you write:
> >Unless folks don't want them here, I'll post some of my performance twea=
ks=20
> >that I've made over the next few days.  Folks are free to criticise or a=
dd=20
> >them to the master sources as they see fit.  Things are changing so=20
> >rapidly at the moment that it is costing me serious amounts of time tryi=
ng=20
> >to keep these in sync with the master sources.
>=20
> One thing I've noticed is that two of your changes have #ifdefs to
> turn them off again.  Do you think these are likely to be necessary?
> It seems to me that if the changes are likely to have an adverse
> effect on some systems, we should either detect those systems at
> run-time, or not apply the changes at all.  Having random undocumented
> #ifdefs all over the place (without even a defopt, usually) is one of
> the things that makes modifying the arm32 sources painful.
>=20
> >This patch is a minor tweak to arm/arm32/bcopy_page.S.
>=20
> Out of curiosity (I've not looked at the code) is there a good reason
> for not using memcpy() here?

Uhm, fixed, known, and especially known to be aligned size (and aligned
addresses)?=20

	-is

--jI8keyz6grp/JLjh
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBOqeX4DCn4om+4LhpAQEt8wf/eAVdtGfbpCxjoLA3Lu8GGhwqxh2Etfrj
bsYHdtik832HPT/FEvfzRTNErLUdk9486tsp7IrOO3f6rpY+SjtdtYf7FOD1VUd5
49kytHcAImecB4sotAVW0SHaOqJmrN/m6qAI/xgwuClSX/hO3xMA377DAjX29vb+
E/pWhekEBwSNg/Km9ISlNyHD1wI5ZU/nGnyzrpfXpsxwJnUy3llibMSRlwAsV284
4ZXwAY+mAP1f+19SolUd3SW53rlkUtGyNGKTZ1r0FlB0m/NnxkkCMvYzEForo3Ae
JARPwEax4cbrHQfgGEkIrnGLFfkm3/+eC3/WQftPIEeGFUr1lXy83Q==
=ALXV
-----END PGP SIGNATURE-----

--jI8keyz6grp/JLjh--