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

STUR (64-bit)

Test 1: uops

Code:

  stur x0, [x6, #1]
  mov x0, 0

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 1.000

Integer unit issues: 0.000

Load/store unit issues: 1.000

SIMD/FP unit issues: 0.000

retire uop (01)cycle (02)03l1d tlb fill (05)mmu table walk data (08)09l2 tlb miss data (0b)1e1f22233a3f46494f51schedule uop (52)schedule ldst uop (55)dispatch ldst uop (58)simd uops in schedulers (5a)606d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map ldst uop (7d)map ldst uop inputs (80)8283flush restart other nonspec (84)85inst all (8c)inst int store (96)inst ldst (9b)l1d tlb access (a0)l1d tlb miss (a1)l1d cache miss st (a2)a4ld unit uop (a6)st unit uop (a7)l1d cache writeback (a8)acafbcl1d cache miss st nonspec (c0)l1d tlb miss nonspec (c1)c2cfd5map dispatch bubble (d6)ddfetch restart (de)e0? ldst retires (ed)f5f6f7f8fd
100555451111021101537161622510001000100022448154254235534121000100020005535541110011000100010141544001002121002164414273116115491000555553553565543
10045424000003100527161612510001000100022448154254235634011000100020005435431110011000100010000420010160510022420073116115391000543543543543543
10045424000003100527161602510001000100022448154254235534001000100020005425421110011000100010000420010163810022420073116115391000555543543543544
10045434000003100527161602510001000100022448154254235534001000100020005425421110011000100010000420010160210022420073116115391000543543543543543
10045424000003100527161612510001000100022472154354235534001000100020005425421110011000100010000421010160210022420073116115391000543543543543544
10045434000003100527161652510001000100022448154254235634001000100020005425421110011000100010000420010160210022420073116115391000543543543543543
10045544000093100527161612510001000100022448154254235534001000100020005425421110011000100010000420010161210022420073116115391000543543543543543
10045424000003100527161612510001000100022448154354235534011000100020005425431110011000100010000420010020210022420073116115511000543543543543543
10045424000003100527161612510001000100022448154254235534121000100020005435421110011000100010000420010160210022420073116115401000543543543544543
10045423000003100527161612510001000100022472154255435534001000100020005425421110011000100010000420010160210022420073116115391000544543543543544

Test 2: throughput

Count: 8

Code:

  stur x0, [x6, #1]
  stur x0, [x6, #1]
  stur x0, [x6, #1]
  stur x0, [x6, #1]
  stur x0, [x6, #1]
  stur x0, [x6, #1]
  stur x0, [x6, #1]
  stur x0, [x6, #1]
  mov x7, x6
  mov x8, x6
  mov x9, x6
  mov x10, x6
  mov x11, x6
  mov x12, x6
  mov x13, x6

(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)03l1d tlb fill (05)mmu table walk data (08)09l2 tlb miss data (0b)191e1f22233a3f46494f51schedule 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)60696a6b6d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map ldst uop (7d)map int uop inputs (7f)map ldst uop inputs (80)8283flush restart other nonspec (84)85inst all (8c)inst branch (8d)inst branch taken (90)inst branch cond (94)inst int store (96)inst int alu (97)inst ldst (9b)9fl1d tlb access (a0)l1d tlb miss (a1)l1d cache miss st (a2)a4ld unit uop (a6)st unit uop (a7)l1d cache writeback (a8)a9acafbcl1d cache miss st nonspec (c0)l1d tlb miss nonspec (c1)c2branch mispred nonspec (cb)cfd5map dispatch bubble (d6)ddfetch restart (de)e0? ldst retires (ed)? int retires (ef)f5f6f7f8fd
8020540054300101101231014004816042580100100800001008000050018405081493697204005440064299673300058010020080000200160000400543200711802011009910080000100800001008000004200800021028000224200051101161140039800001004004340041400764004440043
8020440042300000006010040025161632580100100800001008000050018394480493696004004040042299553299988010020080000200160000400433199611802011009910080000100800001008000004200800020028000204200051101161140037800001004004340041400434004140043
80204400403000000000000400271616125801001008000010080000500184000404936972040054400472996733000980100200800002001600004005432016118020110099100800001008000010080014154401800142117800021644140051101161140044800001004005540053400534004440043
80204400423000000003100400270161258010010080000100800005001839448049369620400424004229955330000801002008000020016000040042319951180201100991008000010080000100800000420080002306800000000051101161140037800001004004340041400444004340041
8020440042300000016192100401651616125801001008000010080000500183947204936962040326403252995516300008020820080361200160238400433199631802011009910080000100800001008000004200800021038000224200051101161140037800001004004140041400484004140041
80204400433000000063100400281616025801001008000010080000500183947204936963040040400432995533001280100200800002001600004004231995118020110099100800001008000010080000042008000035028000224200051101161140051800001004004140043400554005540055
80204400543001011002100140039016025801001008000010080000500183944814936960040042400422995533000080100200800002001600004004031995118020110099100800001008000010080000044008000228012800022000051101161140039800001004004340043400484005040052
80204400543001101001810140032161622580100100800001008000050018394481493696004004240040299563300018010020080000200160000400403199511802011009910080000100800001008000004400800020028000224200051101161140040800001004004340044400644005840056
8020440047300110000140014003901612580100100800001008000050018394480493696204005440042299533300008010020080000200160000400403199511802011009910080000100800001008000004400800022028000224200051101161140039800001004004140043400554005540055
8020440054300100100170014003916161258010010080000100800005001839692149369740400544005429960330012801002008000020016000040054320071180201100991008000010080000100800151542008000220148000224200051101161140040800001004004140043400554004440055

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)031e1f223a3f46494f51schedule 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)5f60696a6d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map ldst uop (7d)map int uop inputs (7f)map ldst uop inputs (80)8283flush restart other nonspec (84)85inst all (8c)inst branch (8d)inst branch taken (90)inst branch cond (94)inst int store (96)inst int alu (97)inst ldst (9b)9fl1d tlb access (a0)l1d tlb miss (a1)l1d cache miss st (a2)a4ld unit uop (a6)st unit uop (a7)l1d cache writeback (a8)acafbcl1d cache miss st nonspec (c0)branch cond mispred nonspec (c5)cfd0d2d5map dispatch bubble (d6)d9dadbddfetch restart (de)dfe0ea? ldst retires (ed)? int retires (ef)f5f6f7f8fd
80025400423000303400271600258001010800001080000501839352014936962400424004229977330022800102080000201600004005040042118002110910800001080000108000003600800021580002234050260021600044340049080000104004340043400414004440043
800244005030003034003501602580190108000010800005018398080149369624004040123299773300298001020800002016000040042400421180021109108000010800001080000234290800020280002234050264061600042340047080000104005240043400414004140041
8002440049299000340027016025800101080000108000050183980801493696240051400402997533002280010208000020160000400404004211800211091080000108000010800000000800024280000034050264041600042340037080000104004340050400434004140043
800244005030003134003616160258001010800001080000501839352014936962400424004229975330022800102080000201600004004240042118002110910800001080000108000003400800022280002234050264041600042340037080000104004340052400434005940041
80024400423000903400270160258001010800001080000501839424014936962400504004229984330022800102080000201600004004040042118002110910800001080000108000003400800021280002234050264041600042340039080000104005140043400434004340043
80024400422990303400251600258001010800001080000501839760004936962400514004229985330020800102080000201600004004040042118002110910800001080000108000003400800026280002234050574041601063340037080000104004340041400434004440043
8002440040300061340025016025801901080000108000050183942400493696240042400402997733002280010208000020160000400404004211800211091080000108000010800000360080002008000220050264021600042340048080000104004340043400434004440043
800244004029903034002716160258001010800001080000501839424004936962400404004029977330022800102080000201600004004240042118002110910800001080000108000003400800023280002234050264041600042340039080000104005140043400524004940041
80024400423000003400270160258001010800001080000501839856014936962400404005129975330020800102080000201600004004240042118002110910800001080000108000003400800022280002234050264041600024340047080000104004340043400434004140043
80024400423000013400251600258001010800001080000501839424004936962400514004229985330022800102080000201600004005140040118002110910800001080000108000003400800023280002234050264041600024340037080000104004140050400434005140043