On Fri, Nov 02, 2018 at 01:37:33PM -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 the march option for armv8.5-a. > > Bootstrapped and regression tested with aarch64-none-linux-gnu. > Is this ok for trunk?
One minor tweak, otherwise OK. > *** gcc/ChangeLog *** > > 2018-xx-xx Sudakshina Das <sudi....@arm.com> > > * config/aarch64/aarch64-arches.def: Define AARCH64_ARCH for > ARMv8.5-A. > * gcc/config/aarch64/aarch64.h (AARCH64_FL_V8_5): New. > (AARCH64_FL_FOR_ARCH8_5, AARCH64_ISA_V8_5): New. > * gcc/doc/invoke.texi: Document ARMv8.5-A. > diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h > index > fa9af26fd40fd23b1c9cd6da9b6300fd77089103..b324cdd2fede33af13c03362750401f9eb1c9a90 > 100644 > --- a/gcc/config/aarch64/aarch64.h > +++ b/gcc/config/aarch64/aarch64.h > @@ -170,6 +170,8 @@ extern unsigned aarch64_architecture_version; > #define AARCH64_FL_SHA3 (1 << 18) /* Has ARMv8.4-a SHA3 and > SHA512. */ > #define AARCH64_FL_F16FML (1 << 19) /* Has ARMv8.4-a FP16 extensions. > */ > #define AARCH64_FL_RCPC8_4 (1 << 20) /* Has ARMv8.4-a RCPC extensions. > */ > +/* ARMv8.5-A architecture extensions. */ > +#define AARCH64_FL_V8_5 (1 << 22) /* Has ARMv8.5-A features. */ > > /* Statistical Profiling extensions. */ > #define AARCH64_FL_PROFILE (1 << 21) Let's keep this in order. 20, 21, 22. Thanks, James