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

FMOV (D to X)

Test 1: uops

Code:

  fmov x0, d0
  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:

  fmov x0, d0
  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
202047003230101101011000010000100100001000030012488688993682010020010003100032001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001000030012488688993682010020010002100022001000210002100011000010100
202047003230101101011000010000100100001002130012305108995052013620010026100262001000210002100011000010100
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)
20024700363001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20025700873001710013100021000210100151000030124894089942020010201000010000201000010000100011000010010
20024700333001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010
20024700323001110011100001000010100001002130124825889950520046201002610026201000010000100011000010010
20024700323001110011100001000010100001000030124886889936820010201000010000201000010000100011000010010

Test 3: throughput

Count: 8

Code:

  fmov x0, d8
  fmov x1, d8
  fmov x2, d8
  fmov x3, d8
  fmov x4, d8
  fmov x5, d8
  fmov x6, d8
  fmov x7, d8
  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
80204800341601018010180000100800013003200058010120080008202800388001680100
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)
8002480035160012800118000110800033032000580011208000820800008000180010
8002580070160044800258001910800253032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010
8002480034160011800118000010800003032000080010208000020800008000180010