public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: James Greenhalgh <james.greenhalgh@arm.com>
To: Jim Wilson <jim.wilson@linaro.org>
Cc: "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] [ARM/Aarch64] add initial Qualcomm support
Date: Thu, 12 Nov 2015 11:42:00 -0000	[thread overview]
Message-ID: <20151112114201.GA20399@arm.com> (raw)
In-Reply-To: <CABXYE2UE0G9sT_wc+nuzmjpqUCf+2wZZEhh1VcNjO2ON8F-06w@mail.gmail.com>

On Wed, Nov 11, 2015 at 10:34:53AM -0800, Jim Wilson wrote:
> This adds an option for the Qualcomm server parts, qdf24xx, just
> optimizing like a cortex-a57 for now, same as how the initial Samsung
> exynos-m1 support worked.
> 
> This was tested with armv8 and aarch64 bootstraps and make check.
> 
> I had to disable the cortex-a57 fma steering pass in the aarch64 port
> while testing the patch.  A bootstrap for aarch64 configured
> --with-cpu=cortex-a57 gives multiple ICEs while building the stage1
> libstdc++.  The ICEs are in scan_rtx_reg at regrename.c:1074.  This
> looks vaguely similar to PR 66785.
> 
> I am also seeing extra make check failures due to ICEs with armv8
> bootstrap builds configured --with-cpu=cortex-a57,  I see ICEs in
> scan_rtx_reg in regrename, and ICEs in decompose_normal_address in
> rtlanal.c.  The arm port doesn't have the fma steering support, which
> seems odd, and is maybe a bug, so it isn't clear what is causing this
> problem.
> 
> I plan to look at these aarch64 and armv8 failures next, including PR
> 66785.  None of these have anything to do with my patch, as they
> trigger for cortex-a57 which is already supported.

The bootstrap bugs should be fixed on trunk as of:

  http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=230149

The AArch64 parts are OK, but the ARM parts look to be missing a hunk to
gcc/config/arm/t-aprofile (and I can't approve those anyway).

Thanks,
James


> Index: gcc/ChangeLog
> ===================================================================
> --- gcc/ChangeLog	(revision 230118)
> +++ gcc/ChangeLog	(working copy)
> @@ -1,3 +1,13 @@
> +2015-11-10  Jim Wilson  <jim.wilson@linaro.org>
> +
> +	* config/aarch64/aarch64-cores.def (qdf24xx): New.
> +	* config/aarch64/aarch64-tune.md: Regenerated.
> +	* config/arm/arm-cores.def (qdf24xx): New.
> +	* config/arm/arm-tables.opt, config/arm/arm-tune.md: Regenerated.
> +	* config/arm/bpabi.h (BE8_LINK_SPEC): Add qdf24xx support.
> +	* doc/invoke.texi (AArch64 Options/-mtune): Add "qdf24xx".
> +	(ARM Options/-mtune); Likewise.

  parent reply	other threads:[~2015-11-12 11:42 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-11 18:34 Jim Wilson
2015-11-11 19:55 ` Jim Wilson
2015-11-12 11:42 ` James Greenhalgh [this message]
2015-11-12 16:15 ` Ramana Radhakrishnan
2015-11-13 16:59   ` Jim Wilson
2015-11-13 17:02     ` Kyrill Tkachov
2015-11-13 17:20       ` Jim Wilson
2015-11-13 17:53         ` Jim Wilson
2015-11-16  9:04           ` Kyrill Tkachov

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=20151112114201.GA20399@arm.com \
    --to=james.greenhalgh@arm.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=jim.wilson@linaro.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).