Skip to content

Commit 4a63869

Browse files
Merge pull request #1757 from jasonrandrews/review
Review optimization techniques using g++
2 parents 6cb57b1 + 44cec6c commit 4a63869

File tree

3 files changed

+3
-3
lines changed
  • content/learning-paths/servers-and-cloud-computing/cplusplus_compilers_flags

3 files changed

+3
-3
lines changed

content/learning-paths/servers-and-cloud-computing/cplusplus_compilers_flags/1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Two popular compilers for C++ are the GNU Compiler Collection (GCC) and LLVM - b
3636

3737
Alternatively, some proprietary compilers are often designed for specific use cases. For example, safety-critical applications might need to comply with various ISO standards, that govern both the application and the compiler. An example is the functional safety [Arm Compiler for Embedded](https://developer.arm.com/Tools%20and%20Software/Arm%20Compiler%20for%20Embedded%20FuSa), a C/C++ compiler designed for such environments.
3838

39-
If you are an application developer not working in the functional safety domain, you can use the open-source GCC/g++ compiler.
39+
If you are an application developer not working in the functional safety domain, you can use the open-source GCC compiler.
4040

4141
Multiple Linux distributions are available, each with a default compiler.
4242

content/learning-paths/servers-and-cloud-computing/cplusplus_compilers_flags/3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ For example, Graviton3 was announced in 2021, and instance types include M7g, C7
1414

1515
Graviton3 uses Arm Neoverse V1 cores.
1616

17-
In 2023, AWS announced Graviton4, based on Neoverse V2 cores. Graviton4 increases the core count to 96 and will first be available in the R8g instance type. It provides 30% better compute performance, 50% more cores, and 75% more memory bandwidth than Graviton3.
17+
In 2023, AWS announced Graviton4, based on Neoverse V2 cores. Graviton4 increases the core count to 96 and was first available in the R8g instance type. It provides 30% better compute performance, 50% more cores, and 75% more memory bandwidth than Graviton3.
1818

1919
Using the same AWS instance that you created in the previous section, run the `lscpu` command and observe the underlying Neoverse architecture in the `Model Name` row.
2020

content/learning-paths/servers-and-cloud-computing/cplusplus_compilers_flags/4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,5 +175,5 @@ For balanced performance, AWS recommends using the `-mcpu=neoverse-512tvb` optio
175175

176176
This option directs GCC to target Neoverse cores capable of executing four 128-bit Advanced SIMD arithmetic instructions per cycle, as well as an equivalent number of SVE arithmetic instructions per cycle (two for 256-bit SVE, four for 128-bit SVE). This tuning is more general than optimizing for a specific core like Neoverse V1, yet more specific than the default tuning options.
177177

178-
There are numerous options available for G++ that impact code performance and size. A basic understanding of these options can help you to pick the best settings for your application.
178+
There are numerous options available for g++ that impact code performance and size. A basic understanding of these options can help you to pick the best settings for your application.
179179

0 commit comments

Comments
 (0)