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

Stefan Roese sr at denx.de
Tue May 7 12:42:02 UTC 2019


On 07.05.19 14:18, 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>

Thanks,
Stefan


More information about the U-Boot mailing list