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 oshst
(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 | l2 tlb miss data (0b) | 1e | 3f | 51 | schedule uop (52) | schedule ldst uop (55) | dispatch ldst uop (58) | simd uops in schedulers (5a) | 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) | l1d cache writeback (a8) | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? ldst retires (ed) | f5 | f6 | f7 | f8 | fd |
1004 | 17032 | 128 | 0 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 303 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 | 0 | 17017 | 15801 | 1000 | 1000 | 1000 | 6000 | 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 oshst
(fused SUBS/B.cc loop)
Result (median cycles for code): 17.0032
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3a | 3f | 41 | 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 | 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) | l1d tlb miss (a1) | ld unit uop (a6) | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | c2 | 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 | 1273 | 0 | 0 | 0 | 0 | 1059 | 0 | 0 | 170144 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150943 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 1 | 0 | 3 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 5 | 9999 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 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 | 0 | 0 | 170017 | 2 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10008 | 500 | 59800 | 0 | 49 | 166952 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 2 | 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 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150993 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 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 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150935 | 170032 | 3 | 168746 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 0 | 0 | 3 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 1290 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 9999 | 100 | 0 | 0 | 0 | 10000 | 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 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150994 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170077 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 1 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170053 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 59800 | 0 | 49 | 166952 | 150935 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 0 | 0 | 0 | 0 | 710 | 1 | 19 | 1 | 1 | 169838 | 0 | 10000 | 100 | 170033 | 170033 | 170033 | 170033 | 170033 |
10204 | 170032 | 1274 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159700 | 10100 | 100 | 10000 | 100 | 10016 | 500 | 59800 | 0 | 49 | 166952 | 150987 | 170032 | 3 | 168740 | 10100 | 200 | 10000 | 200 | 170032 | 135919 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 10000 | 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 | mmu table walk data (08) | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3a | 3f | 41 | 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 | l1d tlb access (a0) | l1d tlb miss (a1) | ld unit uop (a6) | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | c2 | branch cond mispred nonspec (c5) | branch mispred nonspec (cb) | 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 | 171942 | 1289 | 0 | 1 | 63 | 62 | 7956 | 4984 | 0 | 170017 | 0 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 1 | 49 | 166952 | 0 | 149957 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 10025 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 3 | 16 | 3 | 3 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1318 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 170017 | 0 | 0 | 159786 | 10010 | 10 | 10012 | 10 | 10014 | 50 | 59980 | 0 | 49 | 166952 | 0 | 149957 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170032 | 2 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 10000 | 0 | 0 | 0 | 0 | 0 | 0 | 658 | 5 | 120 | 2 | 3 | 169843 | 2 | 10000 | 10 | 170049 | 170033 | 170169 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159920 | 10010 | 10 | 10057 | 12 | 10000 | 50 | 59980 | 0 | 49 | 166952 | 0 | 150084 | 170032 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170248 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 4 | 0 | 0 | 10000 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 3 | 16 | 3 | 3 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1297 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170049 | 0 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10013 | 50 | 59980 | 0 | 49 | 166952 | 0 | 149981 | 170071 | 6 | 168762 | 10010 | 20 | 10008 | 20 | 170032 | 170032 | 2 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 10000 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 2 | 16 | 3 | 3 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170445 | 0 | 0 | 159786 | 10010 | 10 | 10000 | 12 | 10000 | 65 | 60579 | 0 | 49 | 166952 | 0 | 150031 | 170032 | 3 | 168762 | 10020 | 20 | 10000 | 20 | 170032 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 10000 | 1 | 0 | 6 | 0 | 0 | 0 | 640 | 3 | 16 | 3 | 2 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 6 | 0 | 0 | 170103 | 0 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 1 | 49 | 166952 | 0 | 149957 | 170032 | 6 | 168762 | 10010 | 20 | 10000 | 20 | 170079 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 10058 | 3 | 0 | 2175 | 4 | 0 | 0 | 658 | 3 | 41 | 2 | 3 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170033 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159786 | 10021 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 0 | 49 | 166952 | 0 | 149977 | 170032 | 140 | 170073 | 10464 | 20 | 10468 | 24 | 171948 | 172010 | 42 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 10084 | 1 | 0 | 9 | 0 | 0 | 0 | 721 | 4 | 16 | 2 | 2 | 169838 | 0 | 10000 | 10 | 170033 | 170033 | 170057 | 170033 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 12 | 0 | 0 | 170259 | 0 | 0 | 159700 | 10094 | 10 | 10009 | 11 | 10000 | 50 | 61974 | 0 | 98 | 166952 | 3 | 155386 | 172428 | 3 | 168762 | 10010 | 20 | 10000 | 20 | 170032 | 170112 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 9999 | 10 | 0 | 0 | 0 | 10000 | 0 | 7 | 743 | 0 | 2 | 0 | 640 | 3 | 16 | 4 | 3 | 169868 | 4 | 10000 | 10 | 170033 | 170062 | 170033 | 170033 | 170033 |
10024 | 170032 | 1274 | 0 | 0 | 10 | 4 | 0 | 0 | 0 | 170017 | 2 | 0 | 159786 | 10010 | 10 | 10012 | 10 | 10000 | 60 | 59980 | 0 | 49 | 166952 | 0 | 150114 | 170032 | 6 | 168794 | 10203 | 20 | 10071 | 20 | 170066 | 170032 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 2 | 0 | 10000 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 3 | 16 | 3 | 3 | 169838 | 2 | 10000 | 10 | 170033 | 170155 | 170229 | 170070 | 170033 |
10024 | 170032 | 1273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 170017 | 0 | 0 | 159786 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 59980 | 0 | 49 | 166952 | 0 | 149973 | 170079 | 3 | 168793 | 10081 | 20 | 10279 | 22 | 172116 | 171989 | 57 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 2 | 2 | 10034 | 162 | 4 | 11498 | 0 | 0 | 0 | 825 | 4 | 305 | 3 | 3 | 169838 | 1 | 10000 | 10 | 170033 | 170185 | 170033 | 170160 | 170033 |