Introduction
The Affinity Analyzer tool is an application source code analysis tool designed for developers, users, and independent software vendors (ISVs) of the Kunpeng platform. This tool is one of the extended tools of Kunpeng DevKit. It supports software code quality check to help improve code quality and memory access performance.
Function |
Description |
Supported Platform |
|---|---|---|
Identifies the applications to be ported from the 32-bit platform to the 64-bit platform and provides modification suggestions for the porting. |
Kunpeng |
|
Checks the byte alignment of the structure variables in the source code. |
||
Checks the 128-byte alignment of structure variables in the C/C++ source code to improve memory access performance. |
||
Static memory consistency check |
Checks for any memory inconsistency problems in static mode when C/C++ source code is running on the Kunpeng platform, and also provides check reports and memory barrier insertion suggestions. |
|
Checks vectorizable code fragments and provides modification suggestions. |
||
Checks matricizable code fragments and provides modification suggestions. |
||
Analyzes the content in the |
||
After instrumenting application functions using the precision analysis tool, run the functions on the x86 platform and Kunpeng platform. Then the precision analysis tool compares the output results to analyze the calculation precision differences between the platforms. |
Use Restrictions
Task Type |
Description |
|---|---|
Byte alignment check |
If dependency files are unavailable when header files are used in recursion, the analysis accuracy decreases. |