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:
tst x0, x1, asr #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 | 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) | ld unit uop (a6) | 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 | 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 | 1 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 6 | 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 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 1 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 6 | 82 | 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 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 13 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 5 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
1004 | 709 | 5 | 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 | 0 | 73 | 3 | 22 | 3 | 3 | 684 | 2000 | 710 | 710 | 710 | 710 | 710 |
Chain cycles: 1
Code:
tst x0, x1, asr #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 | 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) | 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 | 49 | 26955 | 30035 | 30035 | 27369 | 3 | 27478 | 20100 | 20312 | 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 | 726 | 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 | 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 | 1 | 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 | 49 | 26955 | 30035 | 30035 | 27406 | 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 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 26955 | 30035 | 30081 | 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 | 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 | 30066 | 225 | 0 | 6414 | 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 | 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 | 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 | 61 | 10000 | 29893 | 25 | 30100 | 30100 | 20100 | 1956198 | 49 | 27000 | 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 |
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 | 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 | c2 | branch cond mispred nonspec (c5) | cd | 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 | 224 | 0 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 0 | 631 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 0 | 1270 | 1 | 33 | 2 | 2 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 0 | 3 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 0 | 1270 | 1 | 33 | 2 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 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 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 0 | 1270 | 1 | 17 | 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 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 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 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 2 | 0 | 0 | 0 | 0 | 1270 | 1 | 33 | 1 | 2 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 224 | 0 | 0 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 1 | 49 | 26955 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 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 | 0 | 30035 | 30035 | 27391 | 3 | 27498 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 0 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
Chain cycles: 1
Code:
tst x0, x1, asr #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 | l2 tlb miss data (0b) | 1e | 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) | 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 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 | 0 | 0 | 230 | 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 | 2 | 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 | 30070 | 30035 | 27369 | 3 | 27478 | 20100 | 20200 | 30200 | 30035 | 145 | 1 | 1 | 20201 | 100 | 99 | 100 | 20100 | 10100 | 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 | 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 | 1310 | 1 | 2 | 31 | 2 | 4 | 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 | 1310 | 1 | 2 | 31 | 2 | 2 | 29954 | 30000 | 10100 | 30036 | 30036 | 30036 | 30036 | 30036 |
20204 | 30035 | 225 | 0 | 0 | 0 | 128 | 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 | 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 | 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 | 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 | 1310 | 1 | 2 | 31 | 2 | 3 | 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 | 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 | 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) | 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 | 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 | 1270 | 2 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 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 | 1270 | 2 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 1044 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 61 | 10000 | 29891 | 25 | 30010 | 30010 | 20010 | 1956289 | 0 | 49 | 26955 | 30035 | 30035 | 27391 | 3 | 27532 | 20010 | 20020 | 30020 | 30035 | 145 | 1 | 1 | 20021 | 10 | 9 | 10 | 20010 | 10010 | 0 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 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 | 1 | 0 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 409 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30067 | 225 | 156 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
20024 | 30035 | 225 | 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 | 1270 | 1 | 33 | 1 | 1 | 29958 | 30000 | 10010 | 30036 | 30036 | 30036 | 30036 | 30036 |
Count: 8
Code:
tst x0, x1, asr #17 tst x0, x1, asr #17 tst x0, x1, asr #17 tst x0, x1, asr #17 tst x0, x1, asr #17 tst x0, x1, asr #17 tst x0, x1, asr #17 tst x0, x1, asr #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 | l2 tlb miss instruction (0a) | 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) | 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 |
80204 | 53435 | 400 | 0 | 12 | 61 | 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 | 5110 | 3 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 251 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50330 | 53523 | 53410 | 43298 | 2060 | 3 | 43360 | 80100 | 80200 | 160200 | 53410 | 78 | 1 | 1 | 80201 | 100 | 99 | 100 | 80100 | 100 | 0 | 0 | 0 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 61 | 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 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 61 | 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 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80205 | 53410 | 399 | 0 | 0 | 61 | 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 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53454 | 53411 | 53411 |
80204 | 53410 | 400 | 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 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 61 | 80000 | 48741 | 25 | 160100 | 160100 | 80100 | 3440005 | 1 | 49 | 50390 | 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 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 61 | 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 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 61 | 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 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
80204 | 53410 | 400 | 0 | 0 | 61 | 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 | 5110 | 2 | 24 | 2 | 2 | 53392 | 160000 | 100 | 53411 | 53411 | 53411 | 53411 | 53411 |
Result (median cycles for code divided by count): 0.6673
retire uop (01) | cycle (02) | 03 | 09 | 19 | 1e | 1f | 3a | 3f | 4c | 4d | 51 | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | 5f | 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) | l1d cache writeback (a8) | a9 | ac | cd | cf | d5 | map dispatch bubble (d6) | db | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 53383 | 400 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 0 | 49 | 50300 | 53380 | 53380 | 43290 | 2562 | 12 | 43345 | 80010 | 80020 | 160020 | 53380 | 78 | 1 | 1 | 80021 | 10 | 9 | 10 | 80010 | 10 | 0 | 0 | 0 | 0 | 0 | 5020 | 9 | 24 | 0 | 2 | 4 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 4 | 24 | 0 | 4 | 2 | 53371 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 0 | 0 | 0 | 0 | 82 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 1 | 5020 | 2 | 24 | 0 | 4 | 2 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 4 | 24 | 0 | 4 | 3 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 4 | 24 | 0 | 5 | 3 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 2 | 24 | 0 | 2 | 4 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 9 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 4 | 24 | 0 | 4 | 3 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 9 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 4 | 24 | 0 | 4 | 3 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 399 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 2 | 24 | 0 | 4 | 2 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |
80024 | 53380 | 400 | 0 | 0 | 0 | 0 | 0 | 61 | 80000 | 47946 | 25 | 160010 | 160010 | 80010 | 3438130 | 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 | 5020 | 2 | 24 | 0 | 2 | 4 | 53359 | 160000 | 10 | 53381 | 53381 | 53381 | 53381 | 53381 |