[U-Boot] [U-Boot,1/2] armv8: Reduce exception handling code

Tom Rini trini at konsulko.com
Sat Aug 4 23:40:20 UTC 2018


On Wed, Jul 25, 2018 at 12:57:00AM +0100, Andre Przywara wrote:

> The arm64 exception handling code is quite big, mostly due to
> architectural alignment requirements. Each exception entry spans 32
> instructions, which sounds generous, but is too small to fit all of the
> save/branch/restore code in there. So at the moment we use only four
> instructions, branching into shared save and restore routines.
> To not leave the space for those remaining 28 instructions wasted, let's
> split the save and restore routines and stuff them into the gaps.
> This saves about 250 bytes of code, which is helpful for those tight
> SPLs.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>

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/20180804/268eaa71/attachment.sig>


More information about the U-Boot mailing list