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:
msr s3_3_c4_c2_5, x0
mrs x0, s3_3_c4_c2_5
(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 | l1i tlb fill (04) | 1e | 3f | 51 | 60 | 69 | 6a | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | f5 | f6 | f7 | f8 | fd |
1004 | 12027 | 97 | 1 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 2 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 94 | 0 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 1 | 3 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 53 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 26 | 0 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 12 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
1004 | 12027 | 93 | 0 | 0 | 12012 | 26 | 1 | 49 | 8947 | 12027 | 12027 | 11630 | 3 | 11743 | 12027 | 12027 | 1 | 1 | 1001 | 0 | 0 | 73 | 1 | 158 | 1 | 1 | 12024 | 12028 | 12028 | 12028 | 12028 | 12028 |
Code:
msr s3_3_c4_c2_5, x0
mrs x0, s3_3_c4_c2_5
(fused SUBS/B.cc loop)
Result (median cycles for code): 12.0035
retire uop (01) | cycle (02) | 03 | 09 | 18 | 1e | 3a | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 61 | 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) | a9 | ac | branch cond mispred nonspec (c5) | branch mispred nonspec (cb) | cd | cf | d0 | d2 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10204 | 120035 | 930 | 0 | 0 | 306 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 5 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 931 | 0 | 0 | 348 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 1 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 931 | 0 | 0 | 60 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 930 | 0 | 0 | 30 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 0 | 5 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120187 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 0 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 931 | 0 | 0 | 66 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 0 | 5 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10202 | 100 | 99 | 100 | 100 | 100 | 1 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 0 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 930 | 0 | 0 | 60 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 202 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 5 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 931 | 0 | 0 | 75 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 930 | 0 | 0 | 30 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 931 | 0 | 0 | 63 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 1 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
10204 | 120035 | 930 | 0 | 0 | 297 | 0 | 120020 | 26 | 100 | 100 | 100 | 500 | 1 | 0 | 49 | 116955 | 120035 | 120035 | 118606 | 7 | 118719 | 100 | 200 | 200 | 120035 | 95759 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 100 | 0 | 0 | 0 | 1 | 1 | 1 | 719 | 0 | 0 | 0 | 34 | 0 | 0 | 120032 | 100 | 120036 | 120036 | 120036 | 120036 | 120036 |
Result (median cycles for code): 12.0027
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 | 3a | 3f | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 61 | 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 tlb access (a0) | l1d tlb miss (a1) | ld unit uop (a6) | l1d cache writeback (a8) | a9 | ac | l1d tlb miss nonspec (c1) | c2 | cd | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ea | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10024 | 120042 | 930 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 72 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 643 | 6 | 146 | 11 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 643 | 11 | 146 | 11 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 643 | 11 | 146 | 11 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120029 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 12 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 643 | 11 | 146 | 12 | 12 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 931 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120103 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 643 | 7 | 146 | 12 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 643 | 11 | 146 | 6 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 643 | 11 | 146 | 12 | 9 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120058 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 643 | 12 | 146 | 11 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 643 | 11 | 146 | 11 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |
10024 | 120027 | 930 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 12 | 0 | 2 | 120012 | 26 | 10 | 10 | 10 | 50 | 0 | 0 | 49 | 116947 | 120027 | 120027 | 118514 | 3 | 118627 | 10 | 20 | 20 | 120027 | 120027 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 643 | 11 | 146 | 12 | 11 | 120024 | 0 | 10 | 120028 | 120028 | 120028 | 120028 | 120028 |