Commit 17bd2bd
arm: Add support for Arm Cortex-M85 CPU.
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]>1 parent 47b9276 commit 17bd2bd
File tree
5 files changed
+57
-5
lines changed- gcc
- config/arm
- doc
- testsuite/gcc.target/arm
5 files changed
+57
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1638 | 1638 | | |
1639 | 1639 | | |
1640 | 1640 | | |
| 1641 | + | |
| 1642 | + | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
1641 | 1656 | | |
1642 | 1657 | | |
1643 | 1658 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
288 | 291 | | |
289 | 292 | | |
290 | 293 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21180 | 21180 | | |
21181 | 21181 | | |
21182 | 21182 | | |
21183 | | - | |
| 21183 | + | |
21184 | 21184 | | |
21185 | 21185 | | |
21186 | 21186 | | |
| |||
21244 | 21244 | | |
21245 | 21245 | | |
21246 | 21246 | | |
21247 | | - | |
| 21247 | + | |
| 21248 | + | |
| 21249 | + | |
| 21250 | + | |
| 21251 | + | |
| 21252 | + | |
| 21253 | + | |
| 21254 | + | |
| 21255 | + | |
| 21256 | + | |
| 21257 | + | |
| 21258 | + | |
21248 | 21259 | | |
21249 | 21260 | | |
21250 | 21261 | | |
21251 | 21262 | | |
21252 | 21263 | | |
21253 | 21264 | | |
21254 | | - | |
| 21265 | + | |
21255 | 21266 | | |
21256 | 21267 | | |
21257 | 21268 | | |
| |||
21591 | 21602 | | |
21592 | 21603 | | |
21593 | 21604 | | |
21594 | | - | |
| 21605 | + | |
21595 | 21606 | | |
21596 | 21607 | | |
21597 | 21608 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
521 | 521 | | |
522 | 522 | | |
523 | 523 | | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
524 | 529 | | |
525 | 530 | | |
526 | 531 | | |
| |||
546 | 551 | | |
547 | 552 | | |
548 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
549 | 563 | | |
550 | 564 | | |
551 | 565 | | |
| |||
595 | 609 | | |
596 | 610 | | |
597 | 611 | | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
598 | 621 | | |
599 | 622 | | |
600 | 623 | | |
| |||
0 commit comments