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

AUTDZA

Test 1: uops

Code:

  autdza x0
  mov x0, 1

(requires arm64e binary, with arm64e_preview_abi boot arg)

(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)? int output thing (e9)? int retires (ef)
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000
1004602910011001100052725100010011000

Test 2: Latency 1->1

Code:

  autdza x0
  mov x0, 1

(requires arm64e binary, with arm64e_preview_abi boot arg)

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 6.0029

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch int uop (56)int uops in schedulers (59)dispatch uop (78)map int uop (7c)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)
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100
102046002910201102010102005303251020020020000101010010100

1000 unrolls and 10 iterations

Result (median cycles for code): 6.0029

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)
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001410010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010
10024600291002110021100205297851002020201001110010

Test 3: throughput

Count: 8

Code:

  autdza x0
  autdza x1
  autdza x2
  autdza x3
  autdza x4
  autdza x5
  autdza x6
  autdza x7

(requires arm64e binary, with arm64e_preview_abi boot arg)

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

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)map ldst uop inputs (80)map simd uop inputs (81)? int output thing (e9)? ldst retires (ed)? simd retires (ee)? int retires (ef)
8020416003080201802018020213603798020220020000801010080100
8020416003080201802018020213605378022020020000801010080100
8020416003080201802018020213604818020220020000801010080100
8020416003080201802018020213604818020220020000801010080100
8020416003080201802018020213605668021920020000801010080100
8020416003080201802018020213604308020220020000801010080100
8020416003080201802018020213604818020220020000801010080100
8020416003080201802018020213605888022020020000801010080100
8020516006480213802138022213604818020220020000801010080100
8020416003080201802018020213604818020220020000801010080100

1000 unrolls and 10 iterations

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

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)
8002416003080021800218002213600488004020208001180010
8002416003080021800218002013599318002020208001180010
8002416003080021800218002013599318002020208001180010
8002416003080021800218002013599318002020208001180010
8002416003080021800218002013600268003920208001180010
8002416003080021800218002013599318002020208001180010
8002416003080021800218002013599318002020208001180010
8002416003080021800218002013599318002020208001180010
8002516006480031800318004013599318002020208001180010
8002416003080021800218002013599318002020208001180010