[U-Boot] [PATCH] arm: arm64: only use general regs
Simon Glass
sjg at chromium.org
Tue Nov 28 05:00:27 UTC 2017
On 27 November 2017 at 19:09, Peng Fan <peng.fan at nxp.com> 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 at nxp.com>
> ---
> arch/arm/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list