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

Test 1: uops

Code:

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

Test 2: Latency 1->2 roundtrip

Code:

  fmov h0, 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
202047003030101101011000010000100100001000030012487648993982010020010003100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001002130012369608995572013620010026100262001000210002100011000010100
202047004630101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
202047003030101101011000010000100100001000030012191308993982010020010002100022001000210002100011000010100
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)? simd retires (ee)? int retires (ef)
200247003230011100111000010000101000010000301218860899398200102010002100022010002100021000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010
200247003030011100111000010000101000010000301218860899398200102010000100002010000100001000110000010010

Test 3: throughput

Count: 8

Code:

  fmov h0, x8
  fmov h1, x8
  fmov h2, x8
  fmov h3, x8
  fmov h4, x8
  fmov h5, x8
  fmov h6, x8
  fmov h7, 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)
8020440082801071018000610080008300240024801082008001220080012180000100
8020440039801071018000610080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020440037801051018000410080008300240024801082008001220080012180000100
8020540084801381018003710080008300240024801082008001220080012180000100
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)
8002640673801011180090108001030593388800202080014208000018000010
8002440050800111180000108000030633278800102080000208000018000010
8002440033800111180000108000030412170800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108005730240324800672080069208000018000010
8002440055800111180000108000030461300800102080000208000018000010
8002440041800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010
8002440033800111180000108000030240000800102080000208000018000010