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, tpidr_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) | a9 | 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 | 7 | 0 | 1019 | 26 | 1000 | 1000 | 1 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 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 | 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 | 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 | 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 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
1004 | 1034 | 8 | 3 | 1019 | 26 | 1000 | 1000 | 0 | 1034 | 1034 | 865 | 3 | 882 | 1034 | 164 | 1 | 1 | 1001 | 0 | 2 | 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 | 1 | 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 | 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 | 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 | 0 | 73 | 1 | 26 | 1 | 1 | 1031 | 1000 | 1000 | 1035 | 1035 | 1035 | 1035 | 1035 |
Count: 8
Code:
mrs x0, tpidr_el0 mrs x1, tpidr_el0 mrs x2, tpidr_el0 mrs x3, tpidr_el0 mrs x4, tpidr_el0 mrs x5, tpidr_el0 mrs x6, tpidr_el0 mrs x7, tpidr_el0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | 03 | 19 | 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 | l1d cache writeback (a8) | ac | branch mispred nonspec (cb) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ea | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 80061 | 621 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 5110 | 5 | 25 | 5 | 3 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 3 | 0 | 5110 | 5 | 25 | 5 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 3 | 0 | 5110 | 5 | 25 | 5 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 12 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 5110 | 5 | 25 | 5 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 12 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 5110 | 5 | 25 | 5 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 621 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 98 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 1 | 0 | 0 | 5110 | 5 | 25 | 5 | 3 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76962 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 1 | 5110 | 3 | 25 | 3 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80043 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 0 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 3 | 0 | 5110 | 5 | 25 | 5 | 3 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 0 | 3 | 0 | 5110 | 5 | 25 | 5 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
80204 | 80035 | 620 | 0 | 0 | 80020 | 26 | 80100 | 80100 | 100 | 500 | 1 | 49 | 76955 | 80035 | 80035 | 69966 | 3 | 69984 | 100 | 200 | 200 | 80035 | 164 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 100 | 1 | 0 | 0 | 5110 | 5 | 25 | 5 | 5 | 80032 | 80000 | 0 | 80100 | 80036 | 80036 | 80036 | 80036 | 80036 |
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) | 60 | 61 | 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 | cd | cf | d0 | d2 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ea | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 80050 | 620 | 21 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70038 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 1 | 255 | 0 | 5020 | 0 | 0 | 2 | 25 | 2 | 2 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 1 | 0 | 0 | 5020 | 0 | 0 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 5 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 0 | 0 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 222 | 0 | 5020 | 0 | 0 | 2 | 25 | 2 | 2 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 1 | 5 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 3 | 0 | 5020 | 5 | 0 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 73910 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 5 | 4 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 81 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 5 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 0 | 0 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 620 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 5 | 4 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 5020 | 0 | 0 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |
80024 | 80035 | 621 | 0 | 80020 | 26 | 80010 | 80010 | 10 | 50 | 0 | 0 | 49 | 76955 | 80035 | 80035 | 69988 | 3 | 70006 | 10 | 20 | 20 | 80035 | 164 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 10 | 0 | 72 | 0 | 5020 | 0 | 0 | 1 | 25 | 1 | 1 | 80032 | 80000 | 0 | 80010 | 80036 | 80036 | 80036 | 80036 | 80036 |