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:
cmp w0, w1, lsr #17
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 | 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 | 2 | 22 | 1 | 1 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 6 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 0 | 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 | 6 | 0 | 61 | 1000 | 304 | 25 | 2000 | 2000 | 1000 | 40877 | 0 | 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 | 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 |
1004 | 709 | 5 | 0 | 211 | 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 | 0 | 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:
cmp w0, w1, lsr #17 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 | mmu table walk data (08) | 09 | 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 | branch cond mispred nonspec (c5) | branch mispred nonspec (cb) | cd | 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 | 0 | 61 | 10000 | 29899 | 25 | 30100 | 30100 | 20107 | 1956240 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 6 | 27487 | 20107 | 20224 | 30236 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1318 | 0 | 1 | 16 | 1 | 1 | 29981 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 224 | 0 | 0 | 0 | 61 | 10000 | 29899 | 25 | 30100 | 30100 | 20107 | 1956240 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 6 | 27487 | 20107 | 20224 | 30236 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1318 | 0 | 1 | 16 | 1 | 1 | 29981 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 61 | 10000 | 29899 | 25 | 30100 | 30100 | 20107 | 1956240 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 6 | 27487 | 20107 | 20224 | 30236 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1318 | 0 | 1 | 16 | 1 | 1 | 29981 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 61 | 10000 | 29899 | 25 | 30100 | 30100 | 20107 | 1956240 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 6 | 27487 | 20107 | 20224 | 30236 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1318 | 0 | 1 | 16 | 1 | 1 | 29981 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 61 | 10000 | 29899 | 25 | 30100 | 30100 | 20107 | 1956198 | 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 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 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 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 224 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 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 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 12 | 82 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 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 | 0 | 0 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 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 | 0 | 0 | 1310 | 1 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 726 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 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 | 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 | 09 | 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 cache writeback (a8) | a9 | ac | 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 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 27091 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 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 | 1270 | 1 | 33 | 2 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 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 | 1 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 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 | 2 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 12 | 61 | 10000 | 29891 | 25 | 30056 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 27089 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 1270 | 1 | 33 | 1 | 2 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 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 | 1270 | 1 | 33 | 5 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 21 | 126 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 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 | 1270 | 1 | 33 | 2 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
Chain cycles: 1
Code:
cmp w0, w1, lsr #17 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 | 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 | l1d cache writeback (a8) | ac | 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 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 4 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 1 | 49 | 26955 | 0 | 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 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956922 | 0 | 49 | 26955 | 0 | 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 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 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 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 82 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 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 | 678 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 3 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 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 | 747 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 0 | 49 | 26955 | 0 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 0 | 0 | 1310 | 1 | 3 | 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) | 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 cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | d9 | da | db | dd | fetch restart (de) | e0 | ? int output thing (e9) | eb | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 0 | 0 | 0 | 1 | 2 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 2 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 233 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 0 | 0 | 0 | 1 | 2 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 2 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 2 | 33 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 1 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 17 | 0 | 0 | 0 | 1 | 1 | 29958 | 30000 | 0 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
Count: 8
Code:
cmp w0, w1, lsr #17 cmp w0, w1, lsr #17 cmp w0, w1, lsr #17 cmp w0, w1, lsr #17 cmp w0, w1, lsr #17 cmp w0, w1, lsr #17 cmp w0, w1, lsr #17 cmp w0, w1, lsr #17
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 | mmu table walk data (08) | l2 tlb miss data (0b) | 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) | 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 cache writeback (a8) | a9 | 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 | 53456 | 400 | 0 | 0 | 0 | 61 | 80000 | 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 | 5110 | 2 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 61 | 80000 | 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 | 5110 | 1 | 24 | 2 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 1 | 1 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2063 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 399 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2063 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 399 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 161066 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2063 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 0 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53457 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2063 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 0 | 49 | 50330 | 53410 | 53410 | 43298 | 2050 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 1 | 24 | 1 | 1 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
Result (median cycles for code divided by count): 0.6673
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | mmu table walk data (08) | l2 tlb miss instruction (0a) | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 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 miss (a1) | ld unit uop (a6) | l1d cache writeback (a8) | a9 | ac | c2 | cd | cf | d0 | d5 | map dispatch bubble (d6) | d9 | da | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 53402 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2707 | 3 | 43352 | 80183 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 13 | 24 | 0 | 0 | 14 | 14 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 10 | 24 | 0 | 0 | 16 | 14 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 49 | 50300 | 53380 | 53380 | 43290 | 2707 | 3 | 43352 | 80010 | 80216 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 0 | 15 | 24 | 0 | 0 | 12 | 16 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 13 | 24 | 0 | 0 | 13 | 15 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 45931 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 12 | 24 | 0 | 0 | 16 | 12 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 14 | 24 | 0 | 0 | 13 | 10 | 53359 | 160106 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 15 | 24 | 0 | 0 | 15 | 15 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 3 | 0 | 0 | 5020 | 0 | 15 | 24 | 0 | 0 | 12 | 12 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 726 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 14 | 24 | 0 | 0 | 14 | 16 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 1 | 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 | 0 | 5020 | 0 | 14 | 24 | 0 | 0 | 12 | 12 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |