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

MSR (SSBS)

Test 1: uops

Code:

  msr s3_3_c4_c2_6, x0
  mrs x0, s3_3_c4_c2_6

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 4.000

Issues: 0.000

Integer unit issues: 0.000

Load/store unit issues: 0.000

SIMD/FP unit issues: 0.000

retire uop (01)cycle (02)03mmu table walk data (08)091e3f5160696a6d6emap rewind (75)map stall (76)8283flush restart other nonspec (84)85inst all (8c)l1d cache writeback (a8)a9accfd5map dispatch bubble (d6)ddfetch restart (de)e0f5f6f7f8fd
4004300262330012930011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
400430026232003930011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300493002730027
4004300262330032730011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
400430026233001530011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
40043002623200630011280240492694630026300263003100103002630026100110011001000600611907211300233002730027300273002730027
400430026233002130011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
40043002623200630011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
4004300262320035430011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
400430026232001530011280240492694630026300263003100103002630026100110011001000600611901311300233002730027300273002730027
4004300262320011730011280241492694630026300263015100103002630026100110011001010600611901311300233002730027300273002730027

Test 2: throughput

Code:

  msr s3_3_c4_c2_6, x0
  mrs x0, s3_3_c4_c2_6

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 30.0831

retire uop (01)cycle (02)03mmu table walk data (08)09l2 tlb miss data (0b)18191e1f3a3f51schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)60696a6b6d6emap rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map int uop inputs (7f)8283flush restart other nonspec (84)85inst all (8c)inst branch (8d)inst branch taken (90)inst branch cond (94)inst int alu (97)9fl1d tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)st unit uop (a7)l1d cache writeback (a8)a9acbranch cond mispred nonspec (c5)branch mispred nonspec (cb)cdcfd0d5map dispatch bubble (d6)ddfetch restart (de)e0? int retires (ef)f5f6f7f8fd
402043008392332000001200300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000000111601120019002100300828100300832300832300832300832300832
40204300831233200000000300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000103111601120019002102300828100300832300832300832300832300832
40204300831233200000000300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000103111601120019002100300828100300832300832300832300832300832
40204300831233200000000300816279931100100100500049294703030083130083130006100703100200200300831300831100011000110201100991001001000000000111601120119002110300828100300832300832300832300832300832
402043008312332000001200300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000100111601120019002100300828100300944301073300832300832300832
40204300831233201100000300816279931100100100500049297751030083130083130006100703100200200301016301108100021000110201100991001001000000000111601120019002110300828100300832300832300832300832300832
40204300831233200000300300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000000111601120019002100300828100300832300832300832300832300832
402043008312332000001200300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000000111601120019002100300828100300832300832300832300832300832
40204300831233200000000300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000000111601120019002100300828100300832300832300832300832300832
40204300831233200000000300816279931100100100500049297751030083130083130006100703100200200300831300831100011000110201100991001001000000000111601120019002120300828100300832300832300832300832300832

1000 unrolls and 10 iterations

Result (median cycles for code): 30.0107

retire uop (01)cycle (02)03mmu table walk data (08)l2 tlb miss instruction (0a)l2 tlb miss data (0b)18191e1f3a3f51schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)60696a6d6emap rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map int uop inputs (7f)8283flush restart other nonspec (84)85inst all (8c)inst branch (8d)inst branch taken (90)inst branch cond (94)inst int alu (97)9fld unit uop (a6)l1d cache writeback (a8)a9acc2branch mispred nonspec (cb)cfd5map dispatch bubble (d6)ddfetch restart (de)e0? int retires (ef)f5f6f7f8fd
40024300115232600000120030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100100006001587190015515030010410300108300108300108300108300108
40024300107232610000120030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100000006001550190015514930010410300108300108300108300108300108
40024300107232600000120030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100100006001450190015504430010410300108300108300108300108300108
4002430010723260000000030009228001510101050149297027300107300107300031000811020203001073001071000110001100211091010100000006001550190015505030010410300108300108300108300108300108
4002430010723260000000030009228001510101050049297279300107300107300061001421020203001073001071000110001100211091010100000006001550190015515030010410300294300564300464300108300108
4002430010723270000090030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100003006001550190015505030010410300108300108300108300108300108
4002430010723261000000030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100000006001550190015515030010410300108300108300108300108300108
4002430010723260000000030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100000006001550190015515030010410300108300108300108300108300108
4002430010723260000000030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100100006001550190015505030010410300108300108300108300108300108
4002430010723270000000030009228001510101050049297027300107300107300031000811020203001073001071000110001100211091010100000006001550190015505230010410300108300108300108300108300108