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 (D to X)

Test 1: uops

Code:

  umov x0, v0.d[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 x0, v0.d[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)
202047003230101101011000010000100100001000030012488688993682010020010003100032001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001002610026100031000010100
202047005030101101011000010000100100001002130712316589000642013820210025100252001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
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)
20025700633001710013100021000210100151000030124886889936820010201000310003201000210002100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000210002201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201002510025100031000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010

Test 3: throughput

Count: 8

Code:

  umov x0, v8.d[1]
  umov x1, v8.d[1]
  umov x2, v8.d[1]
  umov x3, v8.d[1]
  umov x4, v8.d[1]
  umov x5, v8.d[1]
  umov x6, v8.d[1]
  umov x7, v8.d[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)
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100
80204800341601018010180000100800013003200058010120080008200800088000180100

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)
8002580081160052800358001720800237032001080022208000820800088001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002580068160054800358001920800257032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010
8002480034160021800218000020800007032000080020208000020800008001180010