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:
dsb ish
(no loop instructions)
Retires: 1.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 | 3f | 41 | 51 | schedule uop (52) | schedule ldst uop (55) | dispatch ldst uop (58) | simd uops in schedulers (5a) | 60 | 69 | 6a | 6d | 6e | map rewind (75) | map stall (76) | dispatch uop (78) | map ldst uop (7d) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst barrier (9c) | st unit uop (a7) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? ldst retires (ed) | f5 | f6 | f7 | f8 | fd |
1004 | 17032 | 127 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 2 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 128 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 127 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17073 | 17033 | 17033 |
1004 | 17032 | 127 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17079 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 128 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 128 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 1 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 127 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 128 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 127 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
1004 | 17032 | 128 | 0 | 17017 | 0 | 15801 | 1000 | 1000 | 1000 | 6000 | 0 | 49 | 13952 | 14859 | 17032 | 3 | 16890 | 1000 | 1000 | 17032 | 17032 | 1 | 1 | 1001 | 1000 | 1000 | 0 | 73 | 1 | 16 | 1 | 1 | 16838 | 1000 | 17033 | 17033 | 17033 | 17033 | 17033 |
Code:
dsb ish
(fused SUBS/B.cc loop)
Result (median cycles for code): 17.0032
retire uop (01) | cycle (02) | 03 | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3f | 4b | 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 | 69 | 6a | 6b | 6d | 6e | 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) | inst barrier (9c) | 9f | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | c2 | branch cond mispred nonspec (c5) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 170017 | 1 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150939 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 170017 | 1 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1273 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170055 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 6 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168757 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 36 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1273 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1273 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 4 | 0 | 1009 | 3 | 296 | 1 | 4 | 170750 | 23 | 10000 | 100 | 171197 | 171336 | 171324 | 171100 | 171409 |
10204 | 171034 | 1284 | 1 | 34 | 30 | 4335 | 2304 | 171453 | 0 | 160294 | 10456 | 124 | 10419 | 121 | 10358 | 615 | 64465 | 1 | 49 | 168788 | 0 | 152801 | 171686 | 135 | 169954 | 10540 | 206 | 10414 | 214 | 170870 | 170974 | 23 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1273 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 0 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 1 | 49 | 166952 | 0 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 10000 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
Result (median cycles for code): 17.0032
retire uop (01) | cycle (02) | 03 | l2 tlb miss data (0b) | 18 | 1e | 3a | 3f | 41 | 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) | 69 | 6a | 6d | 6e | 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) | inst barrier (9c) | 9f | l1d tlb access (a0) | st unit uop (a7) | l1d cache writeback (a8) | ac | c2 | cd | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10024 | 170032 | 1274 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149977 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170055 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 5 | 16 | 6 | 6 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 150004 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 6 | 16 | 5 | 5 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 170017 | 0 | 159716 | 10010 | 10 | 10013 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 150067 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 5 | 16 | 6 | 6 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149957 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 5 | 16 | 5 | 5 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149985 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 6 | 25 | 6 | 6 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1274 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149963 | 170032 | 9 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 6 | 16 | 6 | 5 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1274 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149957 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 5 | 16 | 6 | 5 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170055 | 1274 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149991 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 5 | 16 | 6 | 5 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1274 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 150015 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 6 | 16 | 6 | 5 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 170017 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 49 | 166952 | 149978 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 10000 | 0 | 0 | 0 | 0 | 640 | 6 | 16 | 4 | 6 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |