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

UMOV (S to W)

Test 1: uops

Code:

  umov w0, v0.s[1]
  mov x0, 1
  mov x1, 2

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 2.000

Integer unit issues: 1.001

Load/store unit issues: 0.000

SIMD/FP unit issues: 1.000

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule simd uop (54)dispatch simd uop (57)ldst uops in schedulers (5b)dispatch uop (78)map simd uop (7e)map simd uop inputs (81)? int output thing (e9)? int retires (ef)
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000
100410342001100110001000400010001000100010011000

Test 2: Latency 1->2 roundtrip

Code:

  umov w0, v0.s[1]
  fmov d0, x0
  mov x0, 1
  mov x1, 2

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 7.0032

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)? int retires (ef)
202047003230101101011000010000100100001000030012488688993682010020010003100032001000310003100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001002130012455348995052013620010026100262001000210002100011000010100
202047003630101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100

1000 unrolls and 10 iterations

Result (median cycles for code): 7.0032

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)? int retires (ef)
20024700333001110011100001000010100001000030124886889936820010201000310003201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201002610026100031000010010
20024700433001110011100001000010100001000030125052490056420010201000010000201008610085100131000010010
20024700513001110011100001000010100001000030124890489939420010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700383001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124895889943320010201000010000201012810127100191000010010

Test 3: throughput

Count: 8

Code:

  umov w0, v8.s[1]
  umov w1, v8.s[1]
  umov w2, v8.s[1]
  umov w3, v8.s[1]
  umov w4, v8.s[1]
  umov w5, v8.s[1]
  umov w6, v8.s[1]
  umov w7, v8.s[1]
  mov x8, 9

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

retire uop (01)cycle (02)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)dispatch uop (78)map int uop (7c)map simd uop (7e)map int uop inputs (7f)map simd uop inputs (81)? int output thing (e9)? int retires (ef)
80204800341601018010180000100800013003200058010120080008200800648002980100
80204800341601018010180000100800013003200058010120080008200800368001580100
80204800401601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80205800681601338011580018100800243003200888012320080036200800088000180100
80204800341601018010180000100800013003200838012220080035200800088000180100
80204800341601018010180000100800013003200058010120080008200800398001580100

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)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)dispatch uop (78)map int uop (7c)map simd uop (7e)map int uop inputs (7f)map simd uop inputs (81)? int output thing (e9)? int retires (ef)
8002480049160021800218000020800027032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800368002580010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010