[U-Boot] arm: arm64: only use general regs

Tom Rini
2017-12-03T04:02:17Z

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 <peng.fan@nxp.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20171202/97f51135/attachment.sig>