All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only
Date: Wed, 5 Jul 2017 01:23:46 +0000	[thread overview]
Message-ID: <DB6PR04MB322112ECD36612C2032C4DAD88D40@DB6PR04MB3221.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20170704193829.GM9889@bill-the-cat>



> -----Original Message-----
> From: Tom Rini [mailto:trini at konsulko.com]
> Sent: Wednesday, July 05, 2017 3:38 AM
> To: Dr. Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
> Cc: Peng Fan <peng.fan@nxp.com>; u-boot at lists.denx.de
> Subject: Re: [U-Boot] [PATCH 1/2] armv8: apply -mgeneral-regs-only
> 
> On Tue, Jul 04, 2017 at 06:38:10PM +0200, Dr. Philipp Tomsich wrote:
> > Tom,
> >
> > Please note that some GCC versions had a code-generation bug when
> > -mgeneral-regs-only was used (we hit this for a customer in a vendor
> > GCC we maintain):
> > 	https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64304
> >
> > Until everyone upgrades to a recently recent GCC (or until UBoot
> > enforces this next January), some people may hit hard-to-reproduce
> > issues.
> >
> > A better way to suppress SIMD generation would be to use:
> > 	-march=armv8-a+nosimd
> 
> Ah, good to know.  Peng, please re-spin.

According to https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html,
There is no +nosimd for armv8-a. I also tried +nosimd,
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 "?

Thanks,
Peng.

> 
> >
> > Regards,
> > Philipp.
> >
> > > On 04 Jul 2017, at 15:32, Tom Rini <trini@konsulko.com> wrote:
> > >
> > > On Mon, Jul 03, 2017 at 09:14:07PM +0800, Peng Fan wrote:
> > >
> > >> Pass -mgeneral-regs-only to GCC, if not compiler may generate
> > >> instructions that use SIMD registers.
> > >>
> > >> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> > >> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
> > >> Cc: Tom Rini <trini@konsulko.com>
> > >
> > > Reviewed-by: Tom Rini <trini@konsulko.com>
> > >
> > > --
> > > Tom
> > > _______________________________________________
> > > U-Boot mailing list
> > > U-Boot at lists.denx.de
> > > https://lists.denx.de/listinfo/u-boot
> >
> 
> --
> Tom

  parent reply	other threads:[~2017-07-05  1:23 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 [this message]
2017-07-05  8:37         ` Dr. Philipp Tomsich
2017-07-05  8:59           ` Peng Fan
2017-07-05  9:38             ` Dr. Philipp Tomsich

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=DB6PR04MB322112ECD36612C2032C4DAD88D40@DB6PR04MB3221.eurprd04.prod.outlook.com \
    --to=peng.fan@nxp.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.