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 (H from W)

Test 1: uops

Code:

  fmov h0, w0
  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)
10045851001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000
10045331001110001000300010001000100011000

Test 2: Latency 1->2 roundtrip

Code:

  fmov h0, w0
  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)
202047003030101101011000010000100100001000130012191318993982010120010003100032001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001002610026100031000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001002130012452168995572013620210025100252001000210002100011000010100
202047003030101101011000010000100100001000030012191488994112010020010002100022001000210002100011000010100

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)
20024700343001110011100001000010100001000030121885489939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201000010000100011000010010
20024700303001110011100001000010100001002130122101289955720046201002610026201000010000100011000010010
20024700303001110011100001000010100001000030121886089939820010201000010000201002610026100031000010010
20024700523001110011100001000010100001000030121887889941120010201000010000201000010000100011000010010
20024700303001110011100001000010100001000030121990490015220010201000010000201000010000100011000010010

Test 3: throughput

Count: 8

Code:

  fmov h0, w8
  fmov h1, w8
  fmov h2, w8
  fmov h3, w8
  fmov h4, w8
  fmov h5, w8
  fmov h6, w8
  fmov h7, w8
  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)
8020440083801051018000410080008300240024801082008001220080012180000100
8020440039801071018000610080010300240030801102008001420080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100

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)
8002440160800131180002108000830240024800182080012208000018000010
8002440033800111180000108014430281032801542080171208000018000010
8002440036800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030269898800102080000208000018000010
8002440033800111180000108019230266206802022080228208000018000010
8002440036800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030326988800102080000208000018000010
8002440036800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030282918800102080000208000018000010
8002440042800111180000108000030544356800102080000208000018000010