options

exec - 2024-08-10 20:04:52 - MAQAO 2.20.7

Help is available by moving the cursor above any symbol or by checking MAQAO website.

▼Stylizer  

[ 0 / 4 ] Application profile is too short (9.05 s)

If the overall application profiling time is less than 10 seconds, many of the measurements at function or loop level will very likely be under the measurement quality threshold (0,1 seconds). Rerun to increase runtime duration: for example use a larger dataset or include a repetition loop.

[ 3.00 / 3 ] Optimization level option is correctly used

[ 3.00 / 3 ] Most of time spent in analyzed modules comes from functions compiled with -g and -fno-omit-frame-pointer

-g option gives access to debugging informations, such are source locations. -fno-omit-frame-pointer improve the accuracy of callchains found during the application profiling.

[ 3.00 / 3 ] Architecture specific option -march=znver4 is used

[ 2 / 2 ] Application is correctly profiled ("Others" category represents 0.00 % of the execution time)

To have a representative profiling, it is advised that the category "Others" represents less than 20% of the execution time in order to analyze as much as possible of the user code

▼Optimizer

Loop IDAnalysisPenalty Score
►Loop 6 - exec+Execution Time: 45 % - Vectorization Ratio: 89.33 % - Vector Length Use: 52.08 %
►Loop Computation Issues+128
►+[SA] Presence of expensive FP instructions - Perform hoisting, change algorithm, use SVML or proper numerical library or perform value profiling (count the number of distinct input values). There are 32 issues (= instructions) costing 4 points each.128
○Number of DIV instructions: 16
Number of SQRT instructions: 16
►Control Flow Issues+2
○[SA] Several paths (2 paths) - Simplify control structure or force the compiler to use masked instructions. There are 2 issues ( = paths) costing 1 point each.2
►Data Access Issues+14
○[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
○[SA] Inefficient vectorization: more than 10% of the vector loads instructions are unaligned - When allocating arrays, don’t forget to align them. There are 2 issues ( = arrays) costing 2 points each4
►+[SA] Presence of special instructions executing on a single port (BROADCAST) - Simplify data access and try to get stride 1 access. There are 8 issues (= instructions) costing 1 point each.8
○Number of YMM BROADCAST instructions: 7
Number of ZMM BROADCAST instructions: 1
►Vectorization Roadblocks+4
○[SA] Several paths (2 paths) - Simplify control structure or force the compiler to use masked instructions. There are 2 issues ( = paths) costing 1 point each.2
○[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
►Inefficient Vectorization+10
►+[SA] Presence of special instructions executing on a single port (BROADCAST) - Simplify data access and try to get stride 1 access. There are 8 issues (= instructions) costing 1 point each.8
○Number of YMM BROADCAST instructions: 7
Number of ZMM BROADCAST instructions: 1
○[SA] Inefficient vectorization: use of masked instructions - Simplify control structure. The issue costs 2 points.2
►Loop 1 - exec+Execution Time: 0 % - Vectorization Ratio: 100.00 % - Vector Length Use: 100.00 %
►Data Access Issues+2
○[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
►Vectorization Roadblocks+2
○[SA] Presence of constant non unit stride data access - Use array restructuring, perform loop interchange or use gather instructions to lower a bit the cost. There are 1 issues ( = data accesses) costing 2 point each.2
►Loop 3 - exec+Execution Time: 0 % - Vectorization Ratio: 51.92 % - Vector Length Use: 16.17 %
►Loop Computation Issues+2
○[SA] Presence of a large number of scalar integer instructions - Simplify loop structure, perform loop splitting or perform unroll and jam. This issue costs 2 points.2
►Control Flow Issues+33
○[SA] Too many paths (27 paths) - Simplify control structure. There are 27 issues ( = paths) costing 1 point each with a malus of 4 points.31
○[SA] Non innermost loop (Outermost) - Collapse loop with innermost ones. This issue costs 2 points.2
►Data Access Issues+32
►+[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE, SHUFFLE/PERM, BROADCAST) - Simplify data access and try to get stride 1 access. There are 32 issues (= instructions) costing 1 point each.32
○Number of INSERT/EXTRACT instructions: 6
Number of XMM BLEND/MERGE instructions: 3
Number of XMM SHUFFLE/PERM instructions: 6
Number of XMM BROADCAST instructions: 12
Number of YMM BROADCAST instructions: 5
►Vectorization Roadblocks+33
○[SA] Too many paths (27 paths) - Simplify control structure. There are 27 issues ( = paths) costing 1 point each with a malus of 4 points.31
○[SA] Non innermost loop (Outermost) - Collapse loop with innermost ones. This issue costs 2 points.2
►Inefficient Vectorization+32
►+[SA] Presence of special instructions executing on a single port (INSERT/EXTRACT, BLEND/MERGE, SHUFFLE/PERM, BROADCAST) - Simplify data access and try to get stride 1 access. There are 32 issues (= instructions) costing 1 point each.32
○Number of INSERT/EXTRACT instructions: 6
Number of XMM BLEND/MERGE instructions: 3
Number of XMM SHUFFLE/PERM instructions: 6
Number of XMM BROADCAST instructions: 12
Number of YMM BROADCAST instructions: 5
×