From: Tom Rini Date: Sat, 4 Aug 2018 19:40:20 -0400 Subject: [U-Boot] [U-Boot,1/2] armv8: Reduce exception handling code In-Reply-To: <20180724235701.29811-2-andre.przywara@arm.com> References: <20180724235701.29811-2-andre.przywara@arm.com> Message-ID: <20180804234020.GB32145@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: