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.4h, #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 | 1e | 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 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 74 | 2 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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.4h, #0 movi v1.4h, #0 movi v2.4h, #0 movi v3.4h, #0 movi v4.4h, #0 movi v5.4h, #0 movi v6.4h, #0 movi v7.4h, #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 data (08) | 1e | 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 miss (a1) | ld unit uop (a6) | l1d cache writeback (a8) | ac | c2 | branch cond mispred nonspec (c5) | branch mispred nonspec (cb) | cd | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 10090 | 78 | 0 | 15 | 0 | 28 | 9561 | 100 | 100 | 100 | 500 | 1 | 10042 | 10064 | 10064 | 6 | 10 | 100 | 200 | 200 | 10064 | 10064 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 1 | 39 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 258 | 1 | 39 | 9554 | 100 | 100 | 100 | 500 | 0 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 1 | 39 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 360 | 1 | 39 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 77 | 0 | 0 | 1 | 39 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 129 | 1 | 39 | 9554 | 100 | 100 | 100 | 500 | 0 | 10034 | 10060 | 10060 | 3 | 18 | 100 | 200 | 200 | 10060 | 10060 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 81 | 0 | 6 | 1 | 95 | 9561 | 100 | 100 | 100 | 500 | 0 | 10042 | 10064 | 10064 | 6 | 82 | 100 | 200 | 200 | 10064 | 10064 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 5119 | 1 | 16 | 1 | 1 | 10061 | 80000 | 100 | 10065 | 10065 | 10065 | 10065 | 10065 |
80204 | 10064 | 78 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 45 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 5113 | 3 | 16 | 3 | 3 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10134 | 10061 |
Result (median cycles for code divided by count): 0.1255
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | l2 tlb miss data (0b) | 19 | 1e | 1f | 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 miss (a1) | ld unit uop (a6) | l1d cache writeback (a8) | ac | cf | d0 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ea | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 10054 | 78 | 0 | 0 | 0 | 321 | 0 | 35 | 9982 | 12 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 5024 | 0 | 4 | 16 | 2 | 4 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 3 | 0 | 5024 | 0 | 2 | 16 | 2 | 4 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 3 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 9 | 0 | 0 | 0 | 5024 | 0 | 2 | 16 | 4 | 2 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 77 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 5024 | 0 | 4 | 16 | 2 | 5 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 3 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 2 | 0 | 5023 | 0 | 2 | 16 | 2 | 4 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 27 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 4 | 0 | 0 | 0 | 5022 | 0 | 4 | 16 | 2 | 4 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 77 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 4 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 5022 | 0 | 4 | 16 | 4 | 2 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 80 | 0 | 0 | 0 | 75 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 1 | 10012 | 10038 | 10088 | 3 | 18 | 10 | 20 | 20 | 10038 | 10042 | 2 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 14 | 0 | 5024 | 0 | 2 | 16 | 4 | 2 | 10035 | 18 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 5024 | 0 | 5 | 16 | 2 | 4 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 5024 | 0 | 4 | 16 | 7 | 5 | 10035 | 0 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |