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:
sqdmulh v0.4h, v0.4h, v1.h[1]
movi v0.16b, 1 movi v1.16b, 2
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 0.000
Load/store unit issues: 0.000
SIMD/FP unit issues: 1.000
retire uop (01) | cycle (02) | 03 | 1e | 3f | 4e | 51 | schedule uop (52) | schedule simd uop (54) | dispatch simd uop (57) | ldst uops in schedulers (5b) | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map simd uop (7e) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst simd alu (9a) | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | f5 | f6 | f7 | f8 | fd |
1004 | 3037 | 22 | 12 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 22 | 0 | 61 | 2539 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 22 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 22 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 22 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 23 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 22 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 23 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 1 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 23 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 0 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
1004 | 3037 | 23 | 0 | 61 | 2548 | 25 | 1000 | 1000 | 1000 | 398313 | 0 | 3018 | 3037 | 3037 | 2415 | 3 | 2895 | 1000 | 1000 | 2000 | 3037 | 3037 | 1 | 1 | 1001 | 1000 | 1 | 0 | 73 | 1 | 16 | 1 | 1 | 2630 | 1000 | 3038 | 3038 | 3038 | 3038 | 3038 |
Code:
sqdmulh v0.4h, v0.4h, v1.h[1]
movi v0.16b, 1 movi v1.16b, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 3.0037
retire uop (01) | cycle (02) | 03 | 3f | 4e | 51 | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 202 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 224 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 0 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 1 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 204 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
Result (median cycles for code): 3.0037
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | 09 | 18 | 19 | 1e | 1f | 3f | 4e | 51 | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | l1d tlb access (a0) | ld unit uop (a6) | st unit uop (a7) | l1d cache writeback (a8) | a9 | ac | c2 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10024 | 30037 | 224 | 0 | 0 | 0 | 0 | 0 | 0 | 726 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 1 | 30018 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 2 | 16 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 1 | 30126 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 2 | 16 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 1 | 30018 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 2 | 16 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 0 | 0 | 0 | 9 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 1 | 30018 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 794 | 3 | 32 | 2 | 2 | 29774 | 1 | 10000 | 10 | 30417 | 30413 | 30456 | 30417 | 30180 |
10024 | 30415 | 228 | 0 | 0 | 9 | 8 | 1068 | 704 | 5159 | 29476 | 197 | 10079 | 15 | 10064 | 15 | 11192 | 81 | 4288169 | 1 | 30306 | 30456 | 30419 | 28317 | 38 | 28917 | 11172 | 20 | 11314 | 24 | 22634 | 30460 | 30461 | 3 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 2 | 3 | 0 | 1 | 2 | 22143 | 0 | 640 | 2 | 16 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30178 | 30038 | 30038 | 30079 | 30038 |
10024 | 30037 | 225 | 0 | 1 | 8 | 8 | 936 | 616 | 4021 | 29476 | 177 | 10088 | 16 | 10040 | 13 | 11192 | 76 | 4288169 | 1 | 30306 | 30416 | 30402 | 28301 | 39 | 28915 | 11356 | 22 | 11317 | 22 | 22284 | 30417 | 30179 | 12 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 5 | 2 | 2 | 0 | 0 | 23733 | 0 | 816 | 3 | 48 | 3 | 3 | 29882 | 2 | 10000 | 10 | 30466 | 30491 | 30464 | 30417 | 30416 |
10024 | 30463 | 228 | 0 | 1 | 9 | 10 | 0 | 0 | 61 | 29548 | 25 | 10061 | 10 | 10024 | 10 | 10000 | 50 | 4277313 | 1 | 30414 | 30416 | 30324 | 28317 | 14 | 28879 | 11206 | 20 | 11222 | 22 | 22290 | 30514 | 30465 | 10 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 1 | 0 | 2 | 25658 | 2 | 837 | 4 | 111 | 2 | 2 | 29982 | 3 | 10000 | 10 | 30464 | 30468 | 30511 | 30560 | 30464 |
10024 | 30225 | 229 | 1 | 1 | 9 | 4 | 1323 | 880 | 5249 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 1 | 30018 | 30037 | 30037 | 28287 | 30 | 28767 | 10010 | 24 | 10979 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 0 | 0 | 16640 | 2 | 884 | 3 | 113 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30074 | 30322 | 30180 | 30038 | 30321 |
10024 | 30414 | 236 | 0 | 0 | 5 | 10 | 399 | 528 | 334 | 29548 | 64 | 10054 | 12 | 10016 | 14 | 11374 | 71 | 4290883 | 1 | 30234 | 30179 | 30416 | 28323 | 16 | 28917 | 11024 | 20 | 10830 | 22 | 22626 | 30320 | 30371 | 7 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 2 | 4 | 0 | 1 | 2 | 0 | 0 | 668 | 2 | 16 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 0 | 0 | 0 | 0 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 0 | 30018 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 640 | 2 | 16 | 2 | 2 | 29630 | 0 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
Code:
sqdmulh v0.4h, v1.4h, v0.h[1]
movi v0.16b, 1 movi v1.16b, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 3.0037
retire uop (01) | cycle (02) | 03 | 1e | 3f | 4e | 51 | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 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) | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 3 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4278670 | 30054 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 54 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 6 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
10204 | 30037 | 224 | 0 | 61 | 29548 | 25 | 10100 | 100 | 10000 | 100 | 10000 | 500 | 4277313 | 30018 | 30037 | 30037 | 28265 | 3 | 28745 | 10100 | 200 | 10000 | 200 | 20000 | 30037 | 30037 | 1 | 1 | 10201 | 100 | 99 | 100 | 100 | 10000 | 100 | 0 | 0 | 0 | 0 | 710 | 1 | 16 | 1 | 1 | 29634 | 0 | 10000 | 100 | 30038 | 30038 | 30038 | 30038 | 30038 |
Result (median cycles for code): 3.0037
retire uop (01) | cycle (02) | 03 | 1e | 3f | 4e | 51 | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | 69 | 6b | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | ld unit uop (a6) | l1d cache writeback (a8) | ac | cf | d2 | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
10024 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 3 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 224 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30083 | 2 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 251 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 6 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 82 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10018 | 10 | 10000 | 10 | 10000 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 1 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 225 | 0 | 61 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10149 | 50 | 4277313 | 30018 | 0 | 30037 | 30037 | 28287 | 3 | 28767 | 10010 | 20 | 10000 | 20 | 20000 | 30037 | 30037 | 1 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 0 | 0 | 0 | 640 | 0 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
10024 | 30037 | 232 | 0 | 103 | 29548 | 25 | 10010 | 10 | 10000 | 10 | 10447 | 76 | 4288169 | 30450 | 0 | 30603 | 30370 | 28316 | 35 | 29013 | 11208 | 26 | 11793 | 24 | 22642 | 30699 | 30418 | 10 | 1 | 10021 | 10 | 9 | 10 | 10 | 10000 | 10 | 2 | 0 | 25070 | 640 | 45 | 2 | 16 | 2 | 2 | 29630 | 10000 | 10 | 30038 | 30038 | 30038 | 30038 | 30038 |
Count: 8
Code:
sqdmulh v0.4h, v8.4h, v9.h[1] sqdmulh v1.4h, v8.4h, v9.h[1] sqdmulh v2.4h, v8.4h, v9.h[1] sqdmulh v3.4h, v8.4h, v9.h[1] sqdmulh v4.4h, v8.4h, v9.h[1] sqdmulh v5.4h, v8.4h, v9.h[1] sqdmulh v6.4h, v8.4h, v9.h[1] sqdmulh v7.4h, v8.4h, v9.h[1]
movi v8.16b, 9 movi v9.16b, 10
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.2505
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | l2 tlb miss data (0b) | 1e | 1f | 3f | 51 | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | l1d tlb access (a0) | l1d tlb miss (a1) | ld unit uop (a6) | 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) | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 20057 | 150 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 125 | 80000 | 100 | 80000 | 500 | 640000 | 1 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 2 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 1 | 20149 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 38 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 159 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 0 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 1 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 43 | 0 | 120 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 0 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160410 | 20092 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 151 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 1 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20199 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 0 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 9 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 151 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 0 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 2 | 20036 | 0 | 80000 | 100 | 20040 | 20247 | 20040 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 0 | 0 | 62 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 1 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 49 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
80204 | 20039 | 150 | 0 | 0 | 0 | 0 | 41 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 640000 | 0 | 20020 | 20039 | 20039 | 9973 | 3 | 9997 | 80100 | 200 | 80000 | 200 | 160000 | 20039 | 20039 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 49 | 0 | 174 | 0 | 5110 | 1 | 16 | 1 | 1 | 20036 | 0 | 80000 | 100 | 20040 | 20040 | 20040 | 20040 | 20040 |
Result (median cycles for code divided by count): 0.2505
retire uop (01) | cycle (02) | 03 | 1e | 3f | 51 | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 20050 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 5020 | 2 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 18 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 15 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 18 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 78 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 180 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 151 | 0 | 420 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 15 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 114 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 0 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |
80024 | 20039 | 150 | 6 | 40 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 640000 | 1 | 20020 | 20039 | 20039 | 9996 | 3 | 10019 | 80010 | 20 | 80000 | 20 | 160000 | 20039 | 20039 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 5020 | 1 | 16 | 1 | 1 | 20036 | 80000 | 10 | 20040 | 20040 | 20040 | 20040 | 20040 |