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, dczid_el0
(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) | 60 | 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 | 1 | 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 | 9 | 1019 | 26 | 1000 | 1000 | 1 | 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 | 15 | 1019 | 26 | 1000 | 1000 | 0 | 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 | 9 | 1019 | 26 | 1000 | 1000 | 0 | 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 | 1 | 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 | 0 | 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 | 9 | 1019 | 26 | 1000 | 1000 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 |
Count: 8
Code:
mrs x0, dczid_el0 mrs x1, dczid_el0 mrs x2, dczid_el0 mrs x3, dczid_el0 mrs x4, dczid_el0 mrs x5, dczid_el0 mrs x6, dczid_el0 mrs x7, dczid_el0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | 03 | 1e | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 69 | 6a | 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 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 80039 | 620 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 9 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 12 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 12 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 621 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 87 | 0 | 5110 | 2 | 25 | 2 | 2 | 80039 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 643 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80043 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80070 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 1 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 98 | 76955 | 80069 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 87 | 0 | 5110 | 2 | 25 | 2 | 2 | 80032 | 80000 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | 1e | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 69 | 6a | 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 | st unit uop (a7) | l1d cache writeback (a8) | a9 | 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 | 80051 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 3 | 0 | 5020 | 16 | 25 | 9 | 9 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 8 | 25 | 9 | 9 | 80032 | 80000 | 80010 | 80123 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 159 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 9 | 25 | 8 | 8 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69992 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 4 | 0 | 9 | 0 | 5020 | 9 | 25 | 8 | 9 | 80032 | 80000 | 80010 | 80036 | 80043 | 80036 | 80036 | 80036 |
80024 | 80035 | 642 | 0 | 975 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70041 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 9 | 25 | 9 | 10 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 1 | 0 | 0 | 0 | 5020 | 8 | 25 | 9 | 9 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 8 | 25 | 9 | 9 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 644 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 7 | 25 | 8 | 9 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 9 | 25 | 8 | 9 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 1 | 0 | 0 | 0 | 5020 | 9 | 25 | 8 | 8 | 80032 | 80000 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |