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

STLLRH

Test 1: uops

Code:

  stllrh w0, [x6]
  mov x0, 0

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 1.000

Integer unit issues: 0.001

Load/store unit issues: 1.000

SIMD/FP unit issues: 0.000

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch ldst uop (58)simd uops in schedulers (5a)dispatch uop (78)map ldst uop (7d)map ldst uop inputs (80)? int output thing (e9)? ldst retires (ed)
10056338101911018100010469410001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010473010001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010469410001000200011000
10046063100111000100010469410001000200011000

Test 2: throughput

Code:

  stllrh w0, [x6]
  add x6, x6, 2

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 6.0079

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)? int output thing (e9)? ldst retires (ed)? simd retires (ee)? int retires (ef)
20206603162021210176010036101750100003566210680940201011020310003010203200061000210000010100
20204600832010210102010000101010100003565810679680201001020210002010202200041000110000010100
20204600762010110101010000101000100003565810679680201001020210002010202200041000110000010100
20204600762010110101010000101000100003565810679680201001020210002010233200681003210000010100
20204600762010110101010000101000100003565810679680201001020210002010202200041000110000010100
20204600762010110101010000101000100003565810679680201001020210002010202200041000110000010100
20205601502015110133010018101320100003565810682200201001020210002010202200041000110000010100
20204600762010110101010000101000100003565810679680201001020210002010202200041000110000010100
20204600772010110101010000101000100003565810679680201001020210002010202200041000110000010100
202046007620101101010100001010001233885742109345631625307142121279623536590954599449634730

1000 unrolls and 10 iterations

Result (median cycles for code): 6.0079

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch int uop (56)dispatch ldst uop (58)int uops in schedulers (59)simd uops in schedulers (5a)dispatch uop (78)map int uop (7c)map ldst uop (7d)map int uop inputs (7f)map ldst uop inputs (80)? int output thing (e9)? ldst retires (ed)? int retires (ef)
200266037120120100841003610083100003543310680942001010022100021002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010
200246008320011100111000010010100003543310686702001010020100001002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010
200246008320011100111000010010100003543310683462001010020100001002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010
200246008320011100111000010010100003543310680942001010020100001002020000100011000010010

Test 3: throughput

Code:

  stllrh w0, [x6]
  mov x7, 8

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 6.0056

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch int uop (56)dispatch ldst uop (58)int uops in schedulers (59)simd uops in schedulers (5a)dispatch uop (78)map int uop (7c)map ldst uop (7d)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)
1020660188101391031003610210000300106769410100200100042002000801100000100
1020460063101011011000010010000300106755210100200100042002000801100000100
1020460056101011011000010010000300106755210100200100042002000801100000100
1020460056101011011000010010000300106755210100200100042002000801100000100
10204600561010110110000100100003001067552101002001000433002278752159311298322287
1020460057101011011000010010000300106755210100200100042002000801100000100
1020460056101011011000010010000300106755210100200100042002000801100000100
1020460056101011011000010010000300106755210100200100042002000801100000100
1020460056101011011000010010000300106755210100200100042002000801100000100
1020460056101011011000010010000300106755210100200100042002000801100000100

1000 unrolls and 10 iterations

Result (median cycles for code): 6.0058

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)
10024601131001111010000100100003010675880100102010000020201040110000010
10024600651001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020200000110000010
10024600581001111010000100100003010675880100102010000020201040110000010