From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 2 Dec 2017 23:02:17 -0500 Subject: [U-Boot] arm: arm64: only use general regs In-Reply-To: <20171128020937.27906-1-peng.fan@nxp.com> References: <20171128020937.27906-1-peng.fan@nxp.com> Message-ID: <20171203040217.GA29117@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 Tue, Nov 28, 2017 at 10:09:37AM +0800, Peng Fan wrote: > When compiling with android toolchain, there is an instruction > "str q0, [x8],#16", but x8 is not 16bytes aligned, > this instruction will trigger sync abort. > > So, following Linux kernel, only use general regs for arm64. > If not, compiler may use simd registers Q[x]. We need to avoid > using simd registers in U-Boot, because load/store Q[x] has > restriction that 128bits aligned when str/ldr. > > Signed-off-by: Peng Fan > Reviewed-by: Simon Glass This breaks s32v234evb building, please look into that, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: