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:
stnp s0, s1, [x6, #0x10] nop ; nop ; nop ; nop ; nop ; nop ; nop
mov x0, 0
(no loop instructions)
Retires (minus 7 nops): 2.000
Issues: 2.000
Integer unit issues: 0.001
Load/store unit issues: 1.000
SIMD/FP unit issues: 1.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | schedule ldst uop (55) | dispatch simd uop (57) | dispatch ldst uop (58) | simd uops in schedulers (5a) | ldst uops in schedulers (5b) | dispatch uop (78) | map ldst uop (7d) | map simd uop (7e) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) |
9006 | 4537 | 2042 | 1 | 1023 | 1018 | 1023 | 1000 | 8740 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2413 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8748 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 4079 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8744 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2325 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8749 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2310 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8748 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2309 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8749 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2301 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8749 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2301 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8749 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2301 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8749 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
9004 | 2301 | 2001 | 1 | 1000 | 1000 | 1000 | 1000 | 8749 | 4000 | 2000 | 1000 | 1000 | 2000 | 2000 | 1 | 1000 | 1000 |
Count: 8
Code:
stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10] stnp s0, s1, [x6, #0x10]
mov x7, x6 mov x8, x6 mov x9, x6 mov x10, x6 mov x11, x6 mov x12, x6 mov x13, x6
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0378
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | schedule ldst uop (55) | dispatch int uop (56) | dispatch simd uop (57) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map simd uop (7e) | map int uop inputs (7f) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
160206 | 80147 | 160155 | 101 | 80036 | 80018 | 100 | 80038 | 80001 | 300 | 1413742 | 320026 | 160107 | 200 | 80006 | 80006 | 202 | 160070 | 160070 | 2 | 80000 | 80000 | 100 |
160204 | 83029 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160205 | 83087 | 160153 | 101 | 80034 | 80018 | 100 | 80036 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
160204 | 83025 | 160105 | 101 | 80004 | 80000 | 100 | 80006 | 80001 | 300 | 1413706 | 320026 | 160107 | 200 | 80006 | 80006 | 200 | 160012 | 160012 | 1 | 80000 | 80000 | 100 |
Result (median cycles for code divided by count): 1.0378
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | schedule ldst uop (55) | dispatch int uop (56) | dispatch simd uop (57) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map simd uop (7e) | map int uop inputs (7f) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
160026 | 80154 | 160065 | 11 | 80036 | 80018 | 10 | 80038 | 80031 | 30 | 1413515 | 320146 | 160077 | 20 | 80036 | 80036 | 20 | 160012 | 160012 | 1 | 80000 | 80000 | 10 |
160024 | 83005 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160024 | 83005 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160024 | 83005 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160024 | 83005 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160024 | 83005 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160025 | 83056 | 160063 | 11 | 80034 | 80018 | 10 | 80036 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160025 | 83057 | 160059 | 11 | 80030 | 80018 | 10 | 80030 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160024 | 83005 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |
160024 | 83007 | 160011 | 11 | 80000 | 80000 | 10 | 80000 | 80000 | 30 | 1413343 | 320000 | 160010 | 20 | 80000 | 80000 | 20 | 160000 | 160000 | 1 | 80000 | 80000 | 10 |