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:
csdb
(no loop instructions)
Retires: 4.000
Issues: 1.000
Integer unit issues: 0.000
Load/store unit issues: 1.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | 03 | 1e | 1f | 3f | 51 | schedule uop (52) | schedule ldst uop (55) | dispatch ldst uop (58) | simd uops in schedulers (5a) | 60 | 66 | 69 | 6a | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map ldst uop (7d) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | st unit uop (a7) | ac | bc | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? ldst retires (ed) | f5 | f6 | f7 | f8 | fd |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 203 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 203 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
4004 | 27028 | 202 | 0 | 1000 | 27013 | 22025 | 1000 | 1000 | 1000 | 5000 | 1 | 26000 | 49 | 23948 | 27028 | 27028 | 26000 | 3 | 26010 | 1000 | 1000 | 27028 | 27028 | 1 | 1 | 1001 | 2000 | 1000 | 1000 | 73 | 1 | 16 | 1 | 1 | 27000 | 1000 | 27029 | 27029 | 27029 | 27029 | 27029 |
Code:
csdb
(fused SUBS/B.cc loop)
Result (median cycles for code): 27.0135
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | mmu table walk data (08) | 09 | l2 tlb miss instruction (0a) | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3f | 51 | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch int uop (56) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | 60 | 66 | 69 | 6a | 6b | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | 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 tlb access (a0) | l1d tlb miss (a1) | ld unit uop (a6) | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | bc | c2 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? ldst retires (ed) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
40204 | 270187 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 98 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 3 | 35 | 2 | 2 | 270235 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 12 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 723 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270165 | 270136 | 270136 | 270136 |
40204 | 270135 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 1 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 3 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270165 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 746 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260099 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
40204 | 270135 | 2023 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10000 | 270120 | 220124 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 50000 | 1 | 260099 | 49 | 267055 | 0 | 270135 | 270135 | 260120 | 3 | 260117 | 10100 | 200 | 10000 | 200 | 270135 | 216095 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 710 | 2 | 17 | 2 | 2 | 270106 | 10000 | 100 | 270136 | 270136 | 270136 | 270136 | 270136 |
Result (median cycles for code): 27.0045
retire uop (01) | cycle (02) | 03 | l2 tlb miss data (0b) | 18 | 1e | 1f | 3f | 51 | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch int uop (56) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | 60 | 66 | 69 | 6a | 6b | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | 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 | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | bc | c2 | branch cond mispred nonspec (c5) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? ldst retires (ed) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
40024 | 270061 | 2023 | 0 | 0 | 339 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50005 | 1 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 0 | 640 | 4 | 17 | 2 | 3 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2023 | 0 | 0 | 33 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 0 | 640 | 3 | 17 | 2 | 3 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2023 | 0 | 0 | 1155 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 1 | 0 | 10000 | 10000 | 0 | 1 | 640 | 2 | 17 | 3 | 3 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2022 | 0 | 0 | 36 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270074 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 0 | 640 | 3 | 17 | 2 | 2 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2023 | 0 | 0 | 18 | 10000 | 270030 | 220034 | 10010 | 10 | 10002 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 0 | 640 | 2 | 17 | 3 | 3 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40025 | 270045 | 2022 | 0 | 0 | 15 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 1 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 5 | 0 | 10000 | 10000 | 0 | 0 | 640 | 2 | 17 | 3 | 3 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40025 | 270045 | 2023 | 0 | 0 | 69 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 1 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10003 | 10000 | 0 | 0 | 640 | 2 | 17 | 2 | 2 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2023 | 0 | 0 | 24 | 10000 | 270030 | 220280 | 10013 | 10 | 10002 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10000 | 10000 | 0 | 0 | 640 | 3 | 17 | 2 | 2 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2023 | 0 | 0 | 0 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10027 | 10000 | 0 | 0 | 640 | 3 | 17 | 3 | 3 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |
40024 | 270045 | 2023 | 0 | 0 | 1125 | 10000 | 270030 | 220034 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 50000 | 0 | 260009 | 49 | 266965 | 0 | 270045 | 270045 | 260009 | 3 | 260027 | 10010 | 20 | 10000 | 20 | 270045 | 270045 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 20000 | 0 | 0 | 10003 | 10000 | 0 | 0 | 640 | 3 | 17 | 2 | 2 | 270016 | 10000 | 10 | 270046 | 270046 | 270046 | 270046 | 270046 |