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 from X)

Test 1: uops

Code:

  fmov d0, x0
  mov x0, 1
  mov x1, 2

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 1.000

Integer unit issues: 0.001

Load/store unit issues: 1.000

SIMD/FP unit issues: 0.000

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch ldst uop (58)simd uops in schedulers (5a)dispatch uop (78)map ldst uop (7d)map ldst uop inputs (80)? int output thing (e9)? ldst retires (ed)
10045431001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000

Test 2: Latency 1->2 roundtrip

Code:

  fmov d0, x0
  fmov x0, d0
  mov x0, 1
  mov x1, 2

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 7.0030

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)
202047003030101101011000010000100100001000130012191318993982010120010003100032001000310003100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001002030712406359009872013720210025100252001002610026100031000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012195448996972010020010002100022021002510025100041000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100

1000 unrolls and 10 iterations

Result (median cycles for code): 7.0030

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)
20024700303001110011100001000010100001000130121886189939820011201000310003201000010000100011000010010
20024700303001110011100001000010100001000030121887889941120010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030121891489943720010201000010000201002610026100031000010010
20024701173001110011100001000010100001000030121918489963220010201000010000201000010000100011000010010
20024700363001110011100001000010100001000030121887889941120010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121895089946320010201000010000201000010000100011000010010
20024700323001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001002130122701889963520046201002610026201000010000100011000010010
20024700303001110011100001000010100001000030121893289945020010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010

Test 3: throughput

Count: 8

Code:

  fmov d0, x8
  fmov d1, x8
  fmov d2, x8
  fmov d3, x8
  fmov d4, x8
  fmov d5, x8
  fmov d6, x8
  fmov d7, x8
  mov x8, 9

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch int uop (56)dispatch ldst uop (58)int uops in schedulers (59)simd uops in schedulers (5a)dispatch uop (78)map int uop (7c)map ldst uop (7d)map int uop inputs (7f)map ldst uop inputs (80)? int output thing (e9)? ldst retires (ed)? int retires (ef)
8020440050801071018000610080008300240024801082008001220080012180000100
8020440039801071018000610080008300240024801082008001220080012180000100
8020440037801051018000410080010300240030801102008001420080012180000100
8020440056801011018000010080008300616816801082008001220080012180000100
8020440039801011018000010080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220280070280000100
8020440106801011018000010080008300240024801082008001220080012180000100
8020440039801011018000010080008300385182801082008001220080012180000100

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)schedule uop (52)schedule int uop (53)schedule ldst uop (55)dispatch int uop (56)dispatch ldst uop (58)int uops in schedulers (59)simd uops in schedulers (5a)dispatch uop (78)map int uop (7c)map ldst uop (7d)map int uop inputs (7f)map ldst uop inputs (80)? int output thing (e9)? ldst retires (ed)? int retires (ef)
8002440176800171180006108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002540084800471180036108000030476436800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002540081800461180035108000030374592800102080000208000018000010