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:
.word 0x90000020
(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) | dispatch int uop (56) | int uops in schedulers (59) | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst int alu (97) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 2 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 6 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 56 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 9 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
1004 | 535 | 4 | 0 | 35 | 25 | 1000 | 1000 | 1000 | 5000 | 535 | 535 | 370 | 3 | 388 | 1000 | 1000 | 535 | 90 | 1 | 1 | 1001 | 1000 | 73 | 1 | 21 | 1 | 1 | 529 | 1000 | 1000 | 536 | 536 | 536 | 536 | 536 |
Count: 8
Code:
.word 0x90000020 .word 0x90000021 .word 0x90000022 .word 0x90000023 .word 0x90000024 .word 0x90000025 .word 0x90000026 .word 0x90000027
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.5011
retire uop (01) | cycle (02) | 03 | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 69 | 6a | 6b | 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) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 40114 | 301 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 5 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 300 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 3 | 0 | 5110 | 3 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 300 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40122 | 40086 |
80204 | 40085 | 300 | 4989 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 5 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 300 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40129 |
80204 | 40085 | 301 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 300 | 700 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 3 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 300 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 300 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
80204 | 40085 | 301 | 35 | 25 | 80100 | 80100 | 80100 | 400500 | 49 | 37005 | 0 | 40085 | 40085 | 30020 | 3 | 30038 | 80100 | 80200 | 200 | 40085 | 90 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 4 | 21 | 4 | 4 | 40079 | 80000 | 80100 | 40086 | 40086 | 40086 | 40086 | 40086 |
Result (median cycles for code divided by count): 0.5005
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | l2 tlb miss instruction (0a) | 1e | 3a | 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 | c2 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 40056 | 300 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 5022 | 4 | 20 | 3 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 300 | 1 | 1 | 0 | 1 | 231 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 6 | 0 | 5022 | 4 | 20 | 4 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 299 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 6 | 2 | 5022 | 3 | 20 | 3 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 300 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 5022 | 4 | 20 | 3 | 3 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 299 | 1 | 1 | 0 | 1 | 94 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 5022 | 4 | 20 | 4 | 3 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 299 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 2 | 0 | 0 | 5022 | 4 | 20 | 4 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 300 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 5022 | 4 | 20 | 4 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 300 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 5022 | 4 | 20 | 4 | 3 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 300 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 0 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 5022 | 3 | 20 | 3 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |
80024 | 40040 | 300 | 1 | 1 | 0 | 1 | 41 | 25 | 80010 | 80010 | 80010 | 400050 | 1 | 49 | 36960 | 40040 | 40040 | 29998 | 3 | 30016 | 80010 | 80020 | 20 | 40040 | 90 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 3 | 0 | 5022 | 4 | 20 | 4 | 4 | 40035 | 80000 | 80010 | 40041 | 40041 | 40041 | 40041 | 40041 |