Hi Alex, > -----Original Message----- > From: Alex Coplan <alex.cop...@arm.com> > Sent: 09 September 2020 11:15 > To: gcc-patches@gcc.gnu.org > Cc: Richard Earnshaw <richard.earns...@arm.com>; Richard Sandiford > <richard.sandif...@arm.com>; Marcus Shawcroft > <marcus.shawcr...@arm.com>; Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Subject: [PATCH 1/2] aarch64: Add support for Armv8-R > > Hello, > > This patch adds support for Armv8-R AArch64 to GCC. It adds the -march > value armv8-r and sets the ACLE feature macro __ARM_ARCH_PROFILE > correctly when -march is set to armv8-r. > > Testing: > * Bootstrapped and regtested on aarch64-none-linux-gnu. > * New unit test to check ACLE macro. > > OK for master?
Ok. Thanks, Kyrill > > Thanks, > Alex > > --- > > gcc/ChangeLog: > > * common/config/aarch64/aarch64-common.c > (aarch64_get_extension_string_for_isa_flags): Don't force +crc for > Armv8-R. > * config/aarch64/aarch64-arches.def: Add entry for Armv8-R. > * config/aarch64/aarch64-c.c > (aarch64_define_unconditional_macros): Set > __ARM_ARCH_PROFILE correctly for Armv8-R. > * config/aarch64/aarch64.h (AARCH64_FL_V8_R): New. > (AARCH64_FL_FOR_ARCH8_R): New. > (AARCH64_ISA_V8_R): New. > * doc/invoke.texi: Add Armv8-R to architecture table. > > gcc/testsuite/ChangeLog: > > * gcc.target/aarch64/acle/armv8-r.c: New test. > > --- > gcc/common/config/aarch64/aarch64-common.c | 7 +++++-- > gcc/config/aarch64/aarch64-arches.def | 1 + > gcc/config/aarch64/aarch64-c.c | 3 ++- > gcc/config/aarch64/aarch64.h | 5 +++++ > gcc/doc/invoke.texi | 1 + > gcc/testsuite/gcc.target/aarch64/acle/armv8-r.c | 6 ++++++ > 6 files changed, 20 insertions(+), 3 deletions(-) > create mode 100644 gcc/testsuite/gcc.target/aarch64/acle/armv8-r.c