Skip to content

Commit b5a7ddb

Browse files
Merge pull request #2861 from jasonrandrews/review2
Update C migration info for Neoverse N3 and Neoverse V3
2 parents dd175b9 + ef18978 commit b5a7ddb

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • content/learning-paths/servers-and-cloud-computing/migration

content/learning-paths/servers-and-cloud-computing/migration/c.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,14 @@ Neoverse-N1 | `-mcpu=neoverse-n1` | GCC-9+ | Clang/LLVM 10+
4343
Neoverse-V1 | `-mcpu=neoverse-v1` | GCC-11+ | Clang/LLVM 12+
4444
Neoverse-N2 | `-mcpu=neoverse-n2` | GCC-11+ | Clang/LLVM 12+
4545
Neoverse-V2 | `-mcpu=neoverse-v2` | GCC-13+ | Clang/LLVM 16+
46+
Neoverse-N3 | `-mcpu=neoverse-n3` | GCC-15+ | Clang/LLVM 19+
47+
Neoverse-V3 | `-mcpu=neoverse-v3` | GCC-15+ | Clang/LLVM 19+
4648

47-
The Neoverse-N1 option `-mcpu=neoverse-n1` is available in GCC-7 on Amazon Linux2.
49+
{{% notice Note %}}
50+
The Neoverse N1 option `-mcpu=neoverse-n1` is available in GCC-7 on Amazon Linux2.
51+
52+
The `-mcpu=neoverse-n3` and `-mcpu=neoverse-v3` options are also available in GCC 14.3.0.
53+
{{% /notice %}}
4854

4955
There are other options like `-march` (ISA version) and `-mtune` (specific processor implementation). These are discussed in the [GCC Arm options documentation](https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html). However, in general, only `-mcpu` should be used. `-mcpu` is basically a single option that combines `-march` and `-mtune` together. Last, keep in mind that if an application targets an older processor, it will likely be able to execute on a newer processor (less some optimizations for the newer processor). However, if the application targets a newer processor, it might not execute on an older processor. This is true for any processor architecture, not just Arm.
5056

0 commit comments

Comments
 (0)