This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, GCC, AARCH64, 2/6] Add new arch command line feaures from ARMv8.5-A
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Sudakshina Das <Sudi dot Das at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, nd <nd at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>, Marcus Shawcroft <Marcus dot Shawcroft at arm dot com>
- Date: Wed, 7 Nov 2018 15:19:23 +0000
- Subject: Re: [PATCH, GCC, AARCH64, 2/6] Add new arch command line feaures from ARMv8.5-A
- References: <a77ae8a9-00a4-6be8-94b3-09d6051f32bb@arm.com>
On Fri, Nov 02, 2018 at 01:37:41PM -0500, Sudakshina Das wrote:
> Hi
>
> This patch is part of a series that enables ARMv8.5-A in GCC and
> adds Branch Target Identification Mechanism.
> (https://developer.arm.com/products/architecture/cpu-architecture/a-profile/exploration-tools)
>
> This patch add all the command line feature that are added by ARMv8.5.
> Optional extensions to armv8.5-a:
> +rng : Random number Generation Instructions.
> +memtag : Memory Tagging Extension.
>
> ARMv8.5-A features that are optional to older arch:
> +sb : Speculation barrier instruction.
> +ssbs: Speculative Store Bypass Safe instruction.
> +predres: Execution and Data Prediction Restriction instructions.
>
> All of the above only effect the assembler and have already (or almost
> for a couple of cases) gone in the trunk of binutils.
>
> Bootstrapped and regression tested with aarch64-none-linux-gnu.
>
> Is this ok for trunk?
OK, but will need rebased to keep the AARCH64_FL_* in order.
Thanks,
James
> *** gcc/ChangeLog ***
>
> 2018-xx-xx Sudakshina Das <sudi.das@arm.com>
>
> * config/aarch64/aarch64-option-extensions.def: Define
> AARCH64_OPT_EXTENSION for memtag, rng, sb, ssbs and predres.
> * gcc/config/aarch64/aarch64.h (AARCH64_FL_RNG): New.
> (AARCH64_FL_MEMTAG, ARCH64_FL_SB, AARCH64_FL_SSBS): New.
> (AARCH64_FL_PREDRES): New.
> (AARCH64_FL_FOR_ARCH8_5): Add AARCH64_FL_SB, AARCH64_FL_SSBS and
> AARCH64_FL_PREDRES by default.
> * gcc/doc/invoke.texi: Document rng, memtag, sb, ssbs and
> predres.
>