You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This patch adds the -mcpu support for the Arm Cortex-M85 CPU which is
an Armv8.1-M Mainline CPU supporting MVE and PACBTI by default.
-mpcu=cortex-m85 switch by default matches to -march=armv8.1-m.main+pacbti+mve.fp+fp.dp.
Also following options are provided to disable default features.
+nomve.fp (disables MVE Floating point)
+nomve (disables MVE Integer and MVE Floating point)
+nodsp (disables dsp, MVE Integer and MVE Floating point)
+nopacbti (disables pacbti)
+nofp (disables floating point and MVE floating point)
gcc/ChangeLog:
2022-08-12 Srinath Parvathaneni <[email protected]>
* config/arm/arm-cpus.in (cortex-m85): Define new CPU.
* config/arm/arm-tables.opt: Regenerate.
* config/arm/arm-tune.md: Likewise.
* doc/invoke.texi (Arm Options): Document -mcpu=cortex-m85.
* (-mfix-cmse-cve-2021-35465): Likewise.
gcc/testsuite/ChangeLog:
2022-08-12 Srinath Parvathaneni <[email protected]>
* gcc.target/arm/multilib.exp: Add tests for cortex-m85.
(cherry picked from commit
gcc-mirror@ccfd1e7)
Signed-off-by: Thao Luong <[email protected]>
@@ -21244,14 +21244,25 @@ The following extension options are common to the listed CPUs:
21244
21244
21245
21245
@table @samp
21246
21246
@item +nodsp
21247
-
Disable the DSP instructions on @samp{cortex-m33}, @samp{cortex-m35p}.
21247
+
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}.
21248
+
21249
+
@item +nopacbti
21250
+
Disable the Pointer Authentication and Branch Target Identification Extension
21251
+
on @samp{cortex-m85}.
21252
+
@item +nomve
21253
+
Disable the M-Profile Vector Extension (MVE) integer and single precision
21254
+
floating-point instructions on @samp{cortex-m85}.
21255
+
21256
+
@item +nomve.fp
21257
+
Disable the M-Profile Vector Extension (MVE) single precision floating-point
21258
+
instructions on @samp{cortex-m85}.
21248
21259
21249
21260
@item +nofp
21250
21261
Disables the floating-point instructions on @samp{arm9e},
0 commit comments