From: James Greenhalgh <james.greenhalgh@arm.com>
To: Matthew Wahab <matthew.wahab@foss.arm.com>
Cc: gcc-patches <gcc-patches@gcc.gnu.org>
Subject: Re: [AArch64] Rework ARMv8.1 command line options.
Date: Mon, 07 Dec 2015 14:41:00 -0000 [thread overview]
Message-ID: <20151207144100.GA11814@arm.com> (raw)
In-Reply-To: <56656900.7040301@foss.arm.com>
On Mon, Dec 07, 2015 at 11:09:52AM +0000, Matthew Wahab wrote:
> Ping. Updated patch attached.
This is OK, thanks.
James
>
> Matthew
>
> On 27/11/15 09:23, Matthew Wahab wrote:
> >On 24/11/15 15:22, James Greenhalgh wrote:
> > > On Mon, Nov 16, 2015 at 04:31:32PM +0000, Matthew Wahab wrote:
> > >>
> > >> The command line options for target selection allow ARMv8.1 extensions
> > >> to be individually enabled/disabled. They also allow the extensions to
> > >> be enabled with -march=armv8-a. This doesn't reflect the ARMv8.1
> > >> architecture which requires all extensions to be enabled and doesn't make
> > >> them available for ARMv8.
> > >>
> > >> This patch removes the options for the individual ARMv8.1 extensions
> > >> except for +lse. This means that setting -march=armv8.1-a will enable
> > >> all extensions required by ARMv8.1 and that the ARMv8.1 extensions can't
> > >> be used with -march=armv8.
> >
> > > I think I mentioned it in another review, but this patch seems a good place
> > > to solve the problem. Could you please update the documentation to explain
> > > what you've written above. As it stands I find myself confused by which
> > > features GCC will make available at -march=armv8-a and -march=armv8.1-a.
> >
> >Attached is a patch with the documentation for the AArch64 -march option
> >reworked to try to make it clearer what the -march=armv8.1-a option will
> >do. Extensions with feature modifiers (+crc, +lse) are explicitly stated
> >as being enabled by -march=armv8.1-a. Extensions without feature
> >modifiers (RDMA, PAN, LOR) are treated as part of the generic 'ARMv8.1
> >architecture extension' term in the description of -march=armv8.1-a.
> >
> >I've also rearranged the -march section, to put the description of the
> >values for -march together and reworded the description of the
> >-march=native option.
> >
> >Matthew
> >
> >2015-11-26 Matthew Wahab <matthew.wahab@arm.com>
> >
> > * config/aarch64/aarch64-options-extensions.def: Remove
> > AARCH64_FL_RDMA from "fp" and "simd". Remove "pan", "lor",
> > "rdma".
> > * config/aarch64/aarch64.h (AARCH64_FL_PAN): Remove.
> > (AARCH64_FL_LOR): Remove.
> > (AARCH64_FL_RDMA): Remove.
> > (AARCH64_FL_V8_1): New.
> > (AARCH64_FL_FOR_AARCH8_1): Replace AARCH64_FL_PAN, AARCH64_FL_LOR
> > and AARCH64_FL_RDMA with AARCH64_FL_V8_1.
> > (AARCH64_ISA_RDMA): Replace AARCH64_FL_RDMA with AARCH64_FL_V8_1.
> > * doc/invoke.texi (AArch64 -march): Rewrite initial paragraph and
> > section on -march=native. Group descriptions of permitted
> > architecture names together. Expand description of
> > -march=armv8.1-a.
> > (AArch64 -mtune): Slightly rework section on -march=native.
> > (AArch64 -mcpu): Slightly rework section on -march=native.
> > (AArch64 Feature Modifiers): Remove "pan", "lor" and "rdma".
> > State that -march=armv8.1-a enables "crc" and "lse".
> >
>
prev parent reply other threads:[~2015-12-07 14:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 16:31 Matthew Wahab
2015-11-16 17:15 ` Andrew Pinski
2015-11-24 15:23 ` James Greenhalgh
2015-11-27 9:26 ` Matthew Wahab
2015-12-07 11:09 ` Matthew Wahab
2015-12-07 14:41 ` James Greenhalgh [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=20151207144100.GA11814@arm.com \
--to=james.greenhalgh@arm.com \
--cc=gcc-patches@gcc.gnu.org \
--cc=matthew.wahab@foss.arm.com \
/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).