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

CBZ (not taken)

Test 1: uops

Code:

  cbz x0, .+4

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 1.000

Integer unit issues: 1.001

Load/store unit issues: 0.000

SIMD/FP unit issues: 0.000

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)dispatch uop (78)map int uop (7c)map int uop inputs (7f)? int output thing (e9)
10044951332633264317113793793437110761
100466710011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001
100461210011001100030001000100010001

Test 2: throughput

Count: 8

Code:

  cbz x0, .+4
  cbz x0, .+4
  cbz x0, .+4
  cbz x0, .+4
  cbz x0, .+4
  cbz x0, .+4
  cbz x0, .+4
  cbz x0, .+4
  mov x0, 1

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code divided by count): 0.5836

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)dispatch uop (78)map int uop (7c)map int uop inputs (7f)? int output thing (e9)? int retires (ef)
80204555378431084310859862414498048380676804081100
80204467228013180131801462403308011080212802121100
80204466868010780107801102409038030180449802121100
80204466868010780107801102403308011080212802121100
80204466868010780107801102403308011080212802121100
80204466868010780107801102403308011080212802121100
80204466868010780107801102403308011080212802121100
80204466868010780107801102403308011080212802121100
80204466868010780107801102403308011080212802121100
80204466868010780107801102403308011080212802431100

1000 unrolls and 10 iterations

Result (median cycles for code divided by count): 0.5837

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)dispatch int uop (56)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)? int output thing (e9)? int retires (ef)
8002412224011851911851913470202495520083184840840081840110
80025485078107581075815570399321001331071404940081664110
800244731480173801738022802403090080103801390080020110
800244669580011800118001002400300080010800200080020110
800244669580011800118001002400300080010800200080020110
800244669580011800118001002400300080010800200080020110
800254802980830808308120802400300080010800200080020110
800244669580011800118001002400300080010800200080020110
800244669580011800118001002400300080010800200080020110
800244669580011800118001002400300080010800200080020110