@@ -736,9 +736,9 @@ def execution_count_section() -> Section:
736736 )
737737
738738
739- def pair_count_section () -> Section :
739+ def pair_count_section (prefix : str , title = None ) -> Section :
740740 def calc_pair_count_table (stats : Stats ) -> Rows :
741- opcode_stats = stats .get_opcode_stats ("opcode" )
741+ opcode_stats = stats .get_opcode_stats (prefix )
742742 pair_counts = opcode_stats .get_pair_counts ()
743743 total = opcode_stats .get_total_execution_count ()
744744
@@ -760,7 +760,7 @@ def calc_pair_count_table(stats: Stats) -> Rows:
760760
761761 return Section (
762762 "Pair counts" ,
763- "Pair counts for top 100 Tier 1 instructions " ,
763+ f "Pair counts for top 100 { title if title else prefix } pairs " ,
764764 [
765765 Table (
766766 ("Pair" , "Count:" , "Self:" , "Cumulative:" ),
@@ -1232,6 +1232,7 @@ def iter_optimization_tables(base_stats: Stats, head_stats: Stats | None = None)
12321232 )
12331233 ],
12341234 )
1235+ yield pair_count_section (prefix = "uop" , title = "Non-JIT uop" )
12351236 yield Section (
12361237 "Unsupported opcodes" ,
12371238 "" ,
@@ -1292,7 +1293,7 @@ def calc_rows(stats: Stats) -> Rows:
12921293
12931294LAYOUT = [
12941295 execution_count_section (),
1295- pair_count_section (),
1296+ pair_count_section ("opcode" ),
12961297 pre_succ_pairs_section (),
12971298 specialization_section (),
12981299 specialization_effectiveness_section (),
0 commit comments