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:
cmn x0, w1, sxtb
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 | 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) | flags prf full (73) | 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) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | f5 | f6 | f7 | f8 | fd |
1004 | 709 | 6 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 25 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 21 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 25 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 25 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 3 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 21 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 25 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 25 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 1 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 6 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 25 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 21 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 6 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 1 | 709 | 709 | 498 | 21 | 3 | 561 | 1000 | 1000 | 2000 | 709 | 78 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
Chain cycles: 1
Code:
cmn x0, w1, sxtb cset x0, cc
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 1 chain cycle): 2.0035
retire uop (01) | cycle (02) | 03 | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3a | 3f | 4c | 4d | 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) | ac | c2 | branch mispred nonspec (cb) | cd | cf | d0 | d2 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
20204 | 30035 | 225 | 0 | 0 | 0 | 15 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 2 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 2 | 31 | 2 | 3 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30172 |
20204 | 30216 | 227 | 0 | 6 | 3 | 924 | 616 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 0 | 1310 | 1 | 0 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 0 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 1 | 0 | 1310 | 1 | 0 | 3 | 31 | 2 | 3 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
Result (median cycles for code, minus 1 chain cycle): 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 | 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 | ld unit uop (a6) | l1d cache writeback (a8) | ac | c2 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 2 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 441 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 2 | 1270 | 1 | 33 | 2 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 251 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 90 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 726 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 69 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 726 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 90 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 726 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 84 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 726 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 2 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 84 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30025 | 20010 | 1956289 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20136 | 30020 | 30035 | 145 | 2 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 75 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 251 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 78 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
Chain cycles: 1
Code:
cmn x0, w1, sxtb cset x1, cc
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 1 chain cycle): 2.0035
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | mmu table walk data (08) | 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 | ac | c2 | cf | d0 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
20204 | 30035 | 225 | 0 | 0 | 24 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 441 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 3 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 536 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 3 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 224 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 224 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 3 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
Result (median cycles for code, minus 1 chain cycle): 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 | 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 | ld unit uop (a6) | l1d cache writeback (a8) | a9 | ac | cf | d0 | d2 | l1i cache miss demand (d3) | d5 | map dispatch bubble (d6) | d9 | da | db | dd | fetch restart (de) | e0 | ? int output thing (e9) | ea | eb | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
20024 | 30035 | 225 | 0 | 516 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 12 | 6 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 252 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 0 | 0 | 0 | 5 | 33 | 0 | 0 | 0 | 11 | 13 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 1021 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 2 | 1 | 2 | 0 | 1270 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 13 | 5 | 29958 | 30000 | 16 | 14 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 3 | 1270 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 11 | 13 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 980 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1271 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 11 | 13 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 1032 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 12 | 14 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 1526 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 1 | 0 | 0 | 1270 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 12 | 13 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 557 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 2 | 0 | 0 | 0 | 1270 | 0 | 0 | 0 | 12 | 33 | 0 | 0 | 0 | 12 | 11 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 1004 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 0 | 0 | 0 | 13 | 33 | 0 | 0 | 0 | 13 | 13 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 971 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 1270 | 0 | 0 | 0 | 14 | 33 | 0 | 0 | 0 | 13 | 13 | 29958 | 30000 | 0 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
Count: 8
Code:
cmn x0, w1, sxtb cmn x0, w1, sxtb cmn x0, w1, sxtb cmn x0, w1, sxtb cmn x0, w1, sxtb cmn x0, w1, sxtb cmn x0, w1, sxtb cmn x0, w1, sxtb
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.6676
retire uop (01) | cycle (02) | 03 | l1i tlb fill (04) | mmu table walk instruction (07) | mmu table walk data (08) | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3a | 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) | flags prf full (73) | 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) | ld unit uop (a6) | l1d cache writeback (a8) | a9 | ac | c2 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 53456 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 12 | 24 | 9 | 9 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 9 | 24 | 7 | 4 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 83 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 9 | 24 | 10 | 10 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 9 | 17 | 9 | 9 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 83 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 10 | 24 | 9 | 9 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80045 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2060 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 10 | 24 | 9 | 10 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 1 | 0 | 0 | 0 | 5114 | 9 | 24 | 9 | 9 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2063 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 9 | 24 | 9 | 4 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2063 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 9 | 24 | 9 | 9 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 62 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 5114 | 7 | 24 | 9 | 9 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
Result (median cycles for code divided by count): 0.6673
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) | 5f | 60 | 69 | 6a | 6d | 6e | map stall dispatch (70) | flags prf full (73) | 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 | ld unit uop (a6) | l1d cache writeback (a8) | a9 | ac | c2 | branch cond mispred nonspec (c5) | cf | d0 | l1i cache miss demand (d3) | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 53402 | 400 | 0 | 2000 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 19 | 24 | 12 | 8 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 2480 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 12 | 24 | 11 | 12 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 1890 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 3 | 43371 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 13 | 24 | 15 | 13 | 53359 | 160000 | 10 | 53399 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 1918 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 12 | 24 | 12 | 12 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 1825 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2707 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 13 | 24 | 15 | 13 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 1830 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2707 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 13 | 24 | 10 | 14 | 53418 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 18 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2707 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 7 | 24 | 13 | 13 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 1033 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 7 | 24 | 13 | 13 | 53359 | 160106 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 1950 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2707 | 3 | 43352 | 80010 | 80134 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 13 | 24 | 9 | 14 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 1836 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 3 | 43352 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 0 | 12 | 24 | 8 | 12 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |