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.4s, #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 | mmu table walk data (08) | 19 | 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) | ac | c2 | cf | d0 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | f5 | f6 | f7 | f8 | fd |
1004 | 152 | 2 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 2 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 1 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
1004 | 152 | 1 | 0 | 0 | 0 | 27 | 150 | 0 | 134 | 152 | 152 | 3 | 10 | 152 | 152 | 1 | 1 | 1001 | 1000 | 0 | 0 | 74 | 0 | 1 | 15 | 1 | 1 | 149 | 1000 | 153 | 153 | 153 | 153 | 153 |
Count: 8
Code:
movi v0.4s, #0 movi v1.4s, #0 movi v2.4s, #0 movi v3.4s, #0 movi v4.4s, #0 movi v5.4s, #0 movi v6.4s, #0 movi v7.4s, #0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.1258
retire uop (01) | cycle (02) | 03 | 18 | 1e | 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 cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 10076 | 78 | 0 | 0 | 35 | 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 | 5115 | 6 | 16 | 5 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 35 | 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 | 1 | 0 | 5115 | 5 | 16 | 3 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 77 | 0 | 0 | 35 | 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 | 5115 | 5 | 16 | 5 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 35 | 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 | 5115 | 4 | 16 | 5 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 35 | 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 | 29 | 0 | 5113 | 3 | 16 | 3 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10065 |
80204 | 10060 | 78 | 0 | 0 | 676 | 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 | 5116 | 3 | 16 | 5 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 35 | 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 | 26 | 0 | 5116 | 6 | 16 | 5 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 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 | 4 | 5 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 35 | 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 | 5114 | 6 | 16 | 4 | 6 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
80204 | 10060 | 78 | 0 | 0 | 35 | 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 | 3 | 5116 | 5 | 16 | 4 | 6 | 10057 | 80000 | 100 | 10061 | 10061 | 10061 | 10061 | 10061 |
Result (median cycles for code divided by count): 0.1255
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | l2 tlb miss instruction (0a) | 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 cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | da | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 10053 | 78 | 0 | 0 | 1 | 2 | 0 | 77 | 9982 | 10 | 10 | 10 | 50 | 0 | 0 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 3 | 5034 | 17 | 16 | 0 | 8 | 17 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 0 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 2 | 6 | 5036 | 10 | 16 | 0 | 17 | 15 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 50 | 0 | 0 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 12 | 5036 | 16 | 16 | 0 | 14 | 16 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 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 | 12 | 5034 | 14 | 16 | 0 | 17 | 13 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 78 | 0 | 0 | 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 | 21 | 5036 | 16 | 16 | 0 | 13 | 16 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10039 |
80024 | 10038 | 77 | 2 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 10 | 10 | 56 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 5032 | 16 | 16 | 0 | 16 | 17 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10118 |
80024 | 10038 | 78 | 1 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 12 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 6 | 5029 | 9 | 16 | 0 | 17 | 14 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10104 |
80024 | 10038 | 78 | 0 | 1 | 0 | 0 | 0 | 35 | 9982 | 10 | 12 | 10 | 50 | 0 | 0 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 90 | 5034 | 14 | 16 | 0 | 17 | 14 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10104 |
80024 | 10038 | 78 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 12 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 20 | 0 | 5036 | 16 | 16 | 0 | 16 | 16 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10104 |
80024 | 10038 | 77 | 0 | 0 | 0 | 0 | 0 | 35 | 9982 | 10 | 12 | 10 | 50 | 0 | 1 | 10012 | 10038 | 10038 | 3 | 18 | 10 | 20 | 20 | 10038 | 10038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 7 | 0 | 5030 | 9 | 16 | 0 | 17 | 8 | 10035 | 80000 | 10 | 10039 | 10039 | 10039 | 10039 | 10120 |