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:
sub w0, w0, w1, sxth
mov x0, 1 mov x1, 2
(no loop instructions)
Retires: 1.000
Issues: 2.000
Integer unit issues: 2.000
Load/store unit issues: 0.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | 03 | 18 | 1e | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 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 int alu (97) | l1d cache writeback (a8) | a9 | ac | cf | d5 | map dispatch bubble (d6) | da | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
1004 | 2035 | 15 | 0 | 0 | 61 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 0 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 15 | 0 | 0 | 61 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 16 | 0 | 0 | 61 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 2032 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2059 |
1004 | 2035 | 16 | 0 | 0 | 61 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 0 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 15 | 0 | 9 | 61 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 0 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 15 | 0 | 0 | 84 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 15 | 0 | 3 | 61 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 15 | 0 | 0 | 103 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 4 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 17 | 0 | 0 | 82 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 0 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
1004 | 2035 | 15 | 0 | 0 | 84 | 1000 | 1735 | 25 | 2000 | 2000 | 1000 | 32570 | 1 | 2035 | 2035 | 1575 | 3 | 1842 | 1000 | 1000 | 2000 | 2035 | 42 | 1 | 1 | 1001 | 1000 | 1 | 0 | 0 | 73 | 1 | 67 | 0 | 1 | 1 | 1781 | 2000 | 1000 | 2036 | 2036 | 2036 | 2036 | 2036 |
Code:
sub w0, w0, w1, sxth
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 2.0035
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | 1e | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 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 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 |
10204 | 20035 | 149 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 151 | 0 | 0 | 84 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 21544 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 82 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 124 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
Result (median cycles for code): 2.0035
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | l2 tlb miss data (0b) | 19 | 1e | 1f | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 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 miss (a1) | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10024 | 20035 | 150 | 0 | 0 | 0 | 45 | 0 | 251 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 1 | 0 | 0 | 0 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 153 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 3 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 51 | 0 | 536 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 27 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10156 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 312 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 0 | 0 | 429 | 0 | 103 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 49 | 16955 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 0 | 0 | 0 | 640 | 2 | 63 | 2 | 2 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
Code:
sub w0, w1, w0, sxth
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 2.0035
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | l2 tlb miss data (0b) | 18 | 19 | 1e | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 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) | l1d cache writeback (a8) | ac | cd | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 313 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 712 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 1 | 1 | 0 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 124 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 166 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 1 | 3 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 2 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 710 | 1 | 59 | 1 | 1 | 19791 | 20000 | 10100 | 20082 | 20082 | 20036 | 20036 | 20036 |
10204 | 20035 | 150 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 19803 | 25 | 20100 | 20100 | 10100 | 185342 | 49 | 16955 | 20035 | 20035 | 18429 | 3 | 18700 | 10100 | 10200 | 20200 | 20035 | 42 | 1 | 1 | 10201 | 100 | 99 | 100 | 10100 | 100 | 0 | 0 | 0 | 0 | 0 | 733 | 1 | 59 | 1 | 1 | 19830 | 20000 | 10100 | 20036 | 20036 | 20036 | 20036 | 20036 |
Result (median cycles for code): 2.0035
retire uop (01) | cycle (02) | 03 | 1e | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 60 | 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 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10024 | 20035 | 150 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 0 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 4 | 63 | 3 | 4 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 3 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 1 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 4 | 63 | 4 | 3 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 66 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 1 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 684 | 3 | 63 | 4 | 4 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 12 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 1 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 3 | 63 | 4 | 3 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 0 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20428 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 3 | 63 | 4 | 3 | 19882 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 63 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 1 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 2 | 63 | 2 | 3 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 0 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 4 | 63 | 3 | 4 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 1 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 3 | 63 | 4 | 3 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 149 | 0 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 1 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 4 | 63 | 4 | 3 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
10024 | 20035 | 150 | 18 | 61 | 10000 | 19743 | 25 | 20010 | 20010 | 10010 | 185310 | 0 | 49 | 16955 | 0 | 20035 | 20035 | 18451 | 3 | 18718 | 10010 | 10020 | 20020 | 20035 | 42 | 1 | 1 | 10021 | 10 | 9 | 10 | 10010 | 10 | 640 | 3 | 63 | 4 | 3 | 19792 | 20000 | 10010 | 20036 | 20036 | 20036 | 20036 | 20036 |
Count: 8
Code:
sub w0, w8, w9, sxth sub w1, w8, w9, sxth sub w2, w8, w9, sxth sub w3, w8, w9, sxth sub w4, w8, w9, sxth sub w5, w8, w9, sxth sub w6, w8, w9, sxth sub w7, w8, w9, sxth
mov x8, 9 mov x9, 10
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.3341
retire uop (01) | cycle (02) | 03 | 1e | 3f | 4c | 4d | 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 tlb miss (a1) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 26751 | 201 | 0 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 3 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 1 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26959 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 189 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 26 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 239 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16705 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 2 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 225 | 61 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
80204 | 26725 | 200 | 0 | 631 | 80000 | 26094 | 25 | 160100 | 160100 | 80100 | 164318 | 0 | 49 | 23645 | 26725 | 26725 | 16615 | 3 | 16677 | 80100 | 80200 | 160200 | 26725 | 39 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 5110 | 1 | 22 | 1 | 1 | 26717 | 160000 | 80100 | 26726 | 26726 | 26726 | 26726 | 26726 |
Result (median cycles for code divided by count): 0.3339
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | 1e | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 5f | 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 tlb miss (a1) | cf | d5 | map dispatch bubble (d6) | da | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 26735 | 200 | 0 | 42 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16684 | 80012 | 80020 | 160020 | 26711 | 40 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 7 | 22 | 0 | 7 | 5 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 9 | 61 | 80000 | 21280 | 25 | 160012 | 160012 | 80012 | 163142 | 0 | 1 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16684 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 1 | 5024 | 5 | 22 | 0 | 5 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 0 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163806 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 7 | 22 | 0 | 5 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 18 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 7 | 22 | 0 | 5 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 321 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 5 | 22 | 0 | 5 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 199 | 0 | 27 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 7 | 22 | 0 | 7 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 24 | 61 | 80000 | 21280 | 25 | 160010 | 160012 | 80012 | 164007 | 0 | 1 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 5 | 22 | 0 | 7 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 78 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16622 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5022 | 7 | 22 | 0 | 7 | 5 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 33 | 61 | 80000 | 21280 | 25 | 160010 | 160012 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80012 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5022 | 7 | 22 | 0 | 7 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |
80024 | 26711 | 200 | 0 | 0 | 61 | 80000 | 21280 | 25 | 160010 | 160010 | 80010 | 163142 | 0 | 0 | 49 | 23631 | 26711 | 26711 | 16623 | 3 | 16685 | 80010 | 80020 | 160020 | 26711 | 39 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 5020 | 5 | 22 | 0 | 7 | 7 | 26704 | 160000 | 80010 | 26712 | 26712 | 26712 | 26712 | 26712 |