[U-Boot] [PATCH 07/12] arm: spear: Use PUSH/POP mnemonics when relevant

Tom Rini trini at konsulko.com
Thu Jul 11 22:05:31 UTC 2019


On Tue, May 07, 2019 at 02:18:49PM +0200, Miquel Raynal wrote:

> Quoting ARM "RealView Compilation Tools Assembler Guide v4.0":
> 
>         PUSH and POP are synonyms for STMDB and LDM (or LDMIA), with
>         the base register sp (r13), and the adjusted address written
>         back to the base register.
> 	PUSH and POP are the preferred mnemonic in these cases.
> 
> Let's follow this recommandation to ease the reading and substitute
> LDMIA/STMDB operations with PUSH/POP mnemonics.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> Reviewed-by: Stefan Roese <sr at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190711/de3d9fcf/attachment.sig>


More information about the U-Boot mailing list