Subject: Re: Significant cleanup of common PowerPC assembly code
To: Matt Thomas <matt@3am-software.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-powerpc
Date: 08/03/2003 21:44:09
Matt Thomas <matt@3am-software.com> writes:

> I've committed new versions of locore_subr.S and the OEA trap_subr.S
> which have no functional changes.  PowerPC64 doesn't have the lmw/stmw
> (load/store multiple word) equivalents (e.g no lmd/stmd).  Thus the
> continued use of those instructions will make code portability between
> PPC32 and PPC64 difficult.  The easy way to avoid those difficult is
> to just stop using them.

This is also generally a performance benefit on modern PowerPC CPUs.

        - Nathan