Apple Microarchitecture Research by Dougall Johnson M1/A14 P-core (Firestorm): Overview | Base Instructions | SIMD and FP Instructions M1/A14 E-core (Icestorm): Overview | Base Instructions | SIMD and FP Instructions
Code:
mrs x0, s3_3_c4_c2_6
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 1.000
Load/store unit issues: 0.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | 03 | 1e | 3f | 51 | schedule uop (52) | schedule int uop (53) | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 2 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 3 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 7 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 1 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 0 | 1019 | 26 | 1000 | 1000 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 1 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
Count: 8
Code:
mrs x0, s3_3_c4_c2_6 mrs x1, s3_3_c4_c2_6 mrs x2, s3_3_c4_c2_6 mrs x3, s3_3_c4_c2_6 mrs x4, s3_3_c4_c2_6 mrs x5, s3_3_c4_c2_6 mrs x6, s3_3_c4_c2_6 mrs x7, s3_3_c4_c2_6
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | 09 | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 69 | 6a | 6b | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | 9f | l1d tlb access (a0) | l1d tlb miss (a1) | ld unit uop (a6) | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | c2 | cf | d5 | map dispatch bubble (d6) | db | dd | fetch restart (de) | e0 | ? int output thing (e9) | ea | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 80039 | 621 | 0 | 0 | 0 | 0 | 0 | 12 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 80020 | 78 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 198 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80077 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 621 | 0 | 0 | 0 | 0 | 0 | 12 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 77840 | 0 | 80741 | 80914 | 70280 | 87 | 70660 | 125 | 204 | 202 | 80961 | 164 | 17 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 2 | 0 | 0 | 0 | 0 | 0 | 12043 | 0 | 5471 | 2 | 273 | 0 | 2 | 3 | 81223 | 80380 | 0 | 80100 | 81406 | 81410 | 81187 | 81488 | 81135 |
80204 | 81444 | 631 | 1 | 0 | 0 | 0 | 1 | 9 | 176 | 80020 | 393 | 80350 | 80351 | 124 | 638 | 0 | 49 | 77745 | 0 | 81096 | 81139 | 70356 | 99 | 70845 | 125 | 202 | 200 | 81051 | 164 | 25 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 4 | 0 | 3608 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 12 | 0 | 80020 | 26 | 80175 | 80100 | 100 | 500 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5159 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80071 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 2 | 25 | 0 | 2 | 2 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 80020 | 26 | 80173 | 80100 | 116 | 500 | 0 | 49 | 77130 | 0 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80165 | 164 | 4 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 2 | 0 | 0 | 4 | 1425 | 2 | 5148 | 2 | 57 | 0 | 2 | 2 | 80165 | 80065 | 0 | 80100 | 80169 | 80169 | 80167 | 80213 | 80036 |
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | 03 | l2 tlb miss instruction (0a) | 1e | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 69 | 6a | 6b | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | 9f | l1d cache writeback (a8) | ac | cd | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 80040 | 621 | 0 | 12 | 80020 | 26 | 80010 | 80041 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 1 | 0 | 0 | 5023 | 15 | 25 | 11 | 6 | 80032 | 80000 | 80010 | 80036 | 80036 | 80043 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 9 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 5 | 25 | 5 | 13 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 3 | 0 | 5020 | 6 | 25 | 8 | 7 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 10 | 25 | 6 | 6 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 12 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 3 | 0 | 5020 | 10 | 25 | 8 | 7 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 0 | 80020 | 52 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 11 | 25 | 6 | 6 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 6 | 25 | 6 | 12 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 3 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 8 | 25 | 7 | 7 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 7 | 25 | 7 | 7 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 49 | 76955 | 0 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 2 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 6 | 25 | 6 | 5 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |