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:
movi v0.2s, #0
(no loop instructions)
Retires: 1.000
Issues: 0.000
Integer unit issues: 0.000
Load/store unit issues: 0.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | 03 | 3f | 51 | 60 | 69 | 6d | 6e | map rewind (75) | map stall (76) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst simd alu (9a) | l1d cache writeback (a8) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | f5 | f6 | f7 | f8 | fd |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 1 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 1 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 2 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 1 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
Count: 8
Code:
movi v0.2s, #0 movi v1.2s, #0 movi v2.2s, #0 movi v3.2s, #0 movi v4.2s, #0 movi v5.2s, #0 movi v6.2s, #0 movi v7.2s, #0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.1258
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | l2 tlb miss instruction (0a) | 1e | 1f | 3a | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 69 | 6d | 6e | 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) | inst simd alu (9a) | 9f | l1d tlb access (a0) | l1d cache writeback (a8) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 10064 | 81 | 0 | 0 | 66 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 415 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10223 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 98 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 15 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9554 | 100 | 100 | 100 | 500 | 1 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
Result (median cycles for code divided by count): 0.1255
retire uop (01) | cycle (02) | 03 | 18 | 19 | 1e | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 5f | 60 | 69 | 6d | 6e | 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) | inst simd alu (9a) | 9f | l1d tlb access (a0) | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ec | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 10053 | 80 | 4 | 0 | 9 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10075 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 77 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 972 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 77 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 18 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 5021 | 1 | 16 | 1 | 1 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |