Apple M1 Microarchitecture Research by Dougall Johnson

Firestorm: Overview | Base Instructions | SIMD and FP Instructions
Icestorm:  Overview | Base Instructions | SIMD and FP Instructions

MOVI (vector, 8H, zero)

Test 1: uops

Code:

  movi v0.8h, #0

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 0.000

Integer unit issues: 0.000

Load/store unit issues: 0.000

SIMD/FP unit issues: 0.000

retire (01)cycle (02)031e3f5160696d6escheduler rewind (75)scheduler stall (76)8283pipeline redirect (84)85inst all (8c)inst neon or fp (9a)a9accfd5d6ddinst fetch restart (de)e0? fp/simd (ee)f5f6f7f8fd
10041521027150013415215231015215211100110000075215221491000153153153153153
10041521050150013415215231015215211100110000075215221491000153153153153153
10041521027150013415215231015215211100110000075215221491000153153153153153
10041521027150013415215231015215211100110000075215221491000153153153153153
10041521027150013415215231015215211100110000075215221491000153153153153153
10041521027150013415215231015215211100110000075215221491000153153153153153
10041521027150113415215231015215211100110000075215221491000153153153153153
10041521027150113415215231015215211100110000075215221491000153153153153153
10041521027150013415215231015215211100110000075215221491000153153153153153
10041521027150013415215231015215211100110000075215221491000153153153153153

Test 2: throughput

Count: 8

Code:

  movi v0.8h, #0
  movi v1.8h, #0
  movi v2.8h, #0
  movi v3.8h, #0
  movi v4.8h, #0
  movi v5.8h, #0
  movi v6.8h, #0
  movi v7.8h, #0

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

retire (01)cycle (02)03080a0b18191e1f3a3f51inst issue (52)~issue int (53)~dispatch int (56)huge thing int (59)60696d6escheduler rewind (75)scheduler stall (76)~dispatch op (78)~map op int (7c)~map lookup int (7f)8283pipeline redirect (84)85inst all (8c)inst branch (8d)inst branch taken (90)inst b.cc (94)inst integer (97)inst neon or fp (9a)9fa0a1a6a8a9acc2c5branch mispredict (cb)cdcfd5d6ddinst fetch restart (de)e0? int output thing (e9)? fp/simd (ee)gpr retires (ef)f5f6f7f8fd
80204100777800000420035955410010010050001003410060100603181002002001025010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
8020410060780000060035955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
80204100607700000240035955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
80204100607800000240035955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
8020410060780000000035955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
80204100608100000600175955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000512821622100570800001001006110061100611006110061
8020410060780000000035955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
8020410060780000000035955410010010050001003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
8020410060780000000035955410010010050011003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110061
80204100607800000420035955410010010050011003410060100603181002002001006010060118020110099100100800001000000000000511221622100570800001001006110061100611006110739

1000 unrolls and 10 iterations

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

retire (01)cycle (02)031e3f51inst issue (52)~issue int (53)~dispatch int (56)huge thing int (59)60696d6escheduler rewind (75)scheduler stall (76)~dispatch op (78)~map op int (7c)~map lookup int (7f)8283pipeline redirect (84)85inst all (8c)inst branch (8d)inst branch taken (90)inst b.cc (94)inst integer (97)inst neon or fp (9a)9fa8acc2cfd0d5d6ddinst fetch restart (de)e0? fp/simd (ee)gpr retires (ef)f5f6f7f8fd
80024100447830359982101010500100121003810038318102020100381003811800211091010800001000050240616341003580000101003910039100391003910039
80024100387812359982101010500100121003810038318102020100381003811800211091010800001000050280416431003580000101003910039100391003910039
8002410038780359982101010500100121003810038318102020100381003811800211091010800001003050230416341003580000101003910039100391003910039
8002410038779359982101010500100121003810038318102020100381003811800211091010800001000050260716771003580000101003910039100391003910039
8002410038770359982101010501100121003810038318102020100381003811800211091010800001000050270416431003580000101003910039100391003910039
8002410038780359982101010500100121003810038318102020100381003811800211091010800001000050240716471003580000101003910039100391003910039
8002410038786359982101010500100121003810038318102020100381003811800211091010800001000050260616441003580000101003910039100391003910039
8002410038780639982101010500100121003810038318102020100381003811800211091010800001000050240416471003580000101003910039100391003910039
8002410038786359982101010500100121003810038318102020100381003811800211091010800001000050240416671003580000101003910039100391003910039
80024100387803599821010105001001210038100381718102020100381003811800211091010800001000050270416431003580000101003910039100391003910039