> -----Original Message-----
> From: Przemyslaw Wirkus <przemyslaw.wir...@arm.com>
> Sent: 07 December 2020 21:20
> To: gcc-patches@gcc.gnu.org
> Cc: Richard Earnshaw <richard.earns...@arm.com>; Richard Sandiford
> <richard.sandif...@arm.com>; Kyrylo Tkachov
> <kyrylo.tkac...@arm.com>; Marcus Shawcroft
> <marcus.shawcr...@arm.com>
> Subject: [PATCH][GCC] aarch64: Add +pauth to -march
> 
> New +pauth (Pointer Authentication from Armv8.3-A) feature option for
> -march command line option.
> 
> Please note that majority of PAUTH instructions are implemented behind
> HINT
> instruction. PAUTH stays a Armv8.3-A feature but now can be assigned to
> other
> architectures or CPUs.
> 
> Patch includes:
> - new +pauth command line option.
> - docs update to +flagm command line option in docs.
> 
> Regression tested and no issues.
> 
> OK for master?

Ok.
Thanks,
Kyrill

> 
> gcc/ChangeLog:
> 
> * config/aarch64/aarch64-option-extensions.def
> (AARCH64_OPT_EXTENSION): New +pauth option in -march for AArch64.
> * config/aarch64/aarch64.h (AARCH64_FL_PAUTH): New pauth extension
> bitmask.
> (AARCH64_ISA_PUATH): New ISA bitmask for PAUTH.
> (AARCH64_FL_FOR_ARCH8_3): Add PAUTH to Armv8.3-A.
> (TARGET_PAUTH): New target mask to isolate PAUTH instructions.
> * config/aarch64/aarch64.md (do_return): Condition set to TARGET_PAUTH.
> * doc/invoke.texi: Update docs (+flagm, +pauth).

Reply via email to