All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dr. Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only
Date: Wed, 5 Jul 2017 11:38:49 +0200	[thread overview]
Message-ID: <F5F4DF2F-39F3-4D80-A436-84EE8394D7F8@theobroma-systems.com> (raw)
In-Reply-To: <DB6PR04MB32215B09FF6E06C5B40B6F6388D40@DB6PR04MB3221.eurprd04.prod.outlook.com>


> On 05 Jul 2017, at 10:59, Peng Fan <peng.fan@nxp.com> wrote:
> 
>> I just tested the “armv8-a+nosimd” specification on (configured as aarch64-*-
>> linux-gnueabi) 4.9.1, 4.9.3, 5.4.0, 6.3.0 and (configured as aarch64-*-elf) 6.3.0
>> and 7.1.0… …unfortunately this was all that I could find installed on our target
>> systems.
>> 
> 
> Then did you see simd registers are used?

I used some of our compiler tests for vectorisable code and verified the assembly
output: the compiler didn’t try to vectorise and also emitted an assembler directive
that would trigger an assembler error on AdvSIMD instructions.

To check with the U-Boot source, I’ll have to dig a bit deeper and get the full set
of toolchain versions set up in my U-Boot development environment.  However,
I plan to do so in the near future to make sure that we don’t encounter any
surprises when moving to GCC-6.3 for next year’s releases.

>>> There is still "str     q0, [x29,#112] ".  If I use armv8-a+nofp, there is no
>>> such instructions. Then, do you agree using " armv8-a+nofp “?
>> 
>> I don’t mind if we go with +nofp, but I would like to understand how it comes
>> that your GCC differs from the FSF-released GCC source tree… this worries me
>> a bit, as users might encounter similar differences in the field.
> 
> I tried yocto 6.2.0 and android 4.9.x toolchain, both could generate instructions that use
> simd registers, not simd instructions.

Thanks, I’ll take a closer look.

Phil.

      reply	other threads:[~2017-07-05  9:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-03 13:14 [U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only Peng Fan
2017-07-03 13:14 ` [U-Boot] [PATCH 2/2] arm: config: enforce -fno-pic for SPL and normal U-Boot Peng Fan
2017-07-03 16:16   ` Tom Rini
2017-07-04  1:09     ` Peng Fan
2017-07-04  2:47       ` Tom Rini
2017-07-04  3:12         ` Peng Fan
2017-07-04  4:15           ` J. William Campbell
2017-07-04 13:35           ` Tom Rini
2017-07-05  1:02             ` Peng Fan
2017-07-05  1:56               ` Tom Rini
2017-07-04 13:32 ` [U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only Tom Rini
2017-07-04 16:38   ` Dr. Philipp Tomsich
2017-07-04 19:38     ` Tom Rini
2017-07-05  1:04       ` Peng Fan
2017-07-05  1:23       ` Peng Fan
2017-07-05  8:37         ` Dr. Philipp Tomsich
2017-07-05  8:59           ` Peng Fan
2017-07-05  9:38             ` Dr. Philipp Tomsich [this message]

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=F5F4DF2F-39F3-4D80-A436-84EE8394D7F8@theobroma-systems.com \
    --to=philipp.tomsich@theobroma-systems.com \
    --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.