All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: arm64: only use general regs
Date: Mon, 27 Nov 2017 22:00:27 -0700	[thread overview]
Message-ID: <CAPnjgZ07Gda+FQYAbyo-M+bwBAi8htLPwvJcrhvDkd+NVqSUiQ@mail.gmail.com> (raw)
In-Reply-To: <20171128020937.27906-1-peng.fan@nxp.com>

On 27 November 2017 at 19:09, Peng Fan <peng.fan@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@nxp.com>
> ---
>  arch/arm/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg@chromium.org>

  reply	other threads:[~2017-11-28  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-28  2:09 [U-Boot] [PATCH] arm: arm64: only use general regs Peng Fan
2017-11-28  5:00 ` Simon Glass [this message]
2017-12-01 21:46 ` Alexander Graf
2017-12-07  7:25   ` Peng Fan
2017-12-07 13:56     ` Alexander Graf
2017-12-03  4:02 ` [U-Boot] " Tom Rini
2017-12-03 10:37   ` Peng Fan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ07Gda+FQYAbyo-M+bwBAi8htLPwvJcrhvDkd+NVqSUiQ@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.