From d1b1cc57623f51cd53ca01bebdb2cc075aaac505 Mon Sep 17 00:00:00 2001 From: Thao Luong Date: Tue, 12 Mar 2024 12:30:35 +0000 Subject: [PATCH] arm: Remove pacbti in cortex-m85 Minimal support gcc for cortex-m85 only Temporary remove pacbti in cortex-m85 Signed-off-by: Thao Luong --- gcc/config/arm/arm-cpus.in | 3 +-- gcc/doc/invoke.texi | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in index 2a37e5403c5d8..78bf2dd2e41c0 100644 --- a/gcc/config/arm/arm-cpus.in +++ b/gcc/config/arm/arm-cpus.in @@ -1641,8 +1641,7 @@ end cpu cortex-m55 begin cpu cortex-m85 cname cortexm85 tune flags LDSCHED - architecture armv8.1-m.main+pacbti+mve.fp+fp.dp - option nopacbti remove pacbti + architecture armv8.1-m.main+mve.fp+fp.dp option nomve.fp remove mve_float option nomve remove mve mve_float option nofp remove ALL_FP mve_float diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 8af7274b303ae..76410d0a755d7 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -21246,9 +21246,6 @@ The following extension options are common to the listed CPUs: @item +nodsp Disable the DSP instructions on @samp{cortex-m33}, @samp{cortex-m35p} and @samp{cortex-m85}. Also disable the M-Profile Vector Extension (MVE) integer and single precision floating-point instructions on @samp{cortex-m85}. -@item +nopacbti -Disable the Pointer Authentication and Branch Target Identification Extension -on @samp{cortex-m85}. @item +nomve Disable the M-Profile Vector Extension (MVE) integer and single precision floating-point instructions on @samp{cortex-m85}.