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 (32-bit)

Test 1: uops

Code:

  stur w0, [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)031e1f223f46494f51schedule 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)st unit uop (a7)acafbcl1d cache miss st nonspec (c0)cfd5map dispatch bubble (d6)ddfetch restart (de)e0? ldst retires (ed)f5f6f7f8fd
10055494019152716160251000100010002283205425423643408100010002000542542111001100010001014143610162100223473116115391000543543543543551
100455340315271616025100010001000224240542551355340910001000200054254211100110001000100003410028100223473116115481000543543551552552
100454240315271616225100010001000228080542542362340010001000200054254211100110001000100003410028100223473116115471000543543550551550
100454246915351616025100010001000227600542542355340710001000200058654211100110001000100003410022100223473116115391000543543543551552
1004542418305271616025100010001000228560542551355340910001000200054254211100110001000100003410028100223473116115471000543551552543543
100454250315271616025100010001000224240551542363340010001000200055054211100110001000100003410022100223473116115391000543543543550551
100454240305341616025100010001000228560542542355340010001000200054254211100110001000100003410022100223473116115391000543543551552552
1004542421905271616025100010001000224240542542355340010001000200054254211100110001000100003410022100223473116115391000543543543543551
1004549421315271616025100010001000228080542542362340810001000200054254211100110001000100003410022100223473116115391000543543543543550
100454246305271616025100010001000224241542542355340810001000200054255011100110001000100003410025100223473116115461000551543543543543

Test 2: throughput

Count: 8

Code:

  stur w0, [x6, #1]
  stur w0, [x6, #1]
  stur w0, [x6, #1]
  stur w0, [x6, #1]
  stur w0, [x6, #1]
  stur w0, [x6, #1]
  stur w0, [x6, #1]
  stur w0, [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.5007

retire uop (01)cycle (02)03l1d tlb fill (05)mmu table walk data (08)09l2 tlb miss data (0b)1e1f22233a3f46494f51schedule 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)60696a6d6emap 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)c2cdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? ldst retires (ed)? int retires (ef)f5f6f7f8fd
802054004730010100181014003716165258010010080000100800005001839933049369744005440047299603300128010020080000200160000400523200711802011009910080000100800001008001415441080016002480000140140051101161140051800001004005440055400554004840053
802044005430010100141014003816162258010010080000100800005001839908149369674006340052299653300128010020080000200160000400483200511802011009910080000100800001008001415001800141028800021443140051101161140051800001004005340055400484004840048
8020440054300100101900140032161662580100100800001008043250018404390493697440047400472996033001280100200800002001600004005232006118020110099100800001008000010080016140008001640142800021644140051101161140044800001004005440055400484006440052
8020440054300111101910140039161602580100100800001008000050018404600493697440052400542996733001280100200800002001600004005332000118020110099100800001008000010080015154401800161017800021644140151101161140051800001004005240055400534005640053
802044005430010000171014003201612580100100800001008000050018399081493697340064400472996533001280100200800002001600004005232005118020110099100800001008000010080015154400800141021800021644140051101161140049800001004006440055400494004840048
80204400523001100901710140037161652580100100800001008000050018396921493696840047400542996033001080100200800002001600004005432000118020110099100800001008000010080015154400800140019800021444141051101161140051800001004005540053400554004840055
802044004729911110141014003916022580100100800001008000050018399330493697440052400542996733001280100200800002001600004004732007118020110099100800001008000010080016140008001648054800021644141051101161140051800001004004840064400554005340048
80204400543001100020001400381616225801001008000010080216500183993304936974400544004729967330022801002008000020016000040054320071180201100991008000010080000100800151544038001600159800001644140051101161140060800001004004840054400554005540048
8020440055300110101401140039161612580100100800001008000050018396921493697440052400542996733001280100200800002001600004005332007118020110099100800001008000010080014154400800160010780002140140051101161140049800001004006540055400494005540048
8020440047300110062001140039161612580100100800001008000050018400040493697240054400632996733000980100200800002001600004005532016118020110099100800001008000010080014164401800160015280002160141051101161140051800001004005440055400554005540053

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)031e1f22243f46494f51schedule 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)a4st unit uop (a7)l1d cache writeback (a8)acafbcl1d cache miss st nonspec (c0)cfd5map dispatch bubble (d6)daddfetch restart (de)e0? ldst retires (ed)? int retires (ef)f5f6f7f8fd
80025400493000910400271616025800101080000108000050183942414936962040040400422997733002280010208000020160280400424004211800211091080000108000010800000340800025588000223450201160114003980000104005140043400504004340043
8002440042300030040025161602580010108000010800005018393520493696004004240042299773300208001020800002016000040050400421180021109108000010800001080000034080002526800022050201160114003780000104005240041400524004140043
800244004230003004002716160258001010800001080000501839424149369620400424004229977330030800102080000201600004004240040118002110910800001080000108000000080002058000223450201160114003780000104004340041400414004340043
800244004029903004002516160258001010800001080000501839352049369620400404004229984330022800102080000201600004005040042118002110910800001080000108000003408000211028000203450201160114003780000104005140041400434004340041
8002440042300031040034161602580010108000010800005018393521493696204004240042299753300208001020800002016000040042400421180021109108000010800001080000034080002068000223450201160124003980000104004340043400434004340041
800244004030003104002716160258001010800001080000501839760149369700400424004929977330022800102080000201600004004040050118002110910800001080000108000003408000216598000223450201161114003980000104004340041400434004340051
800244004230000004002716160258001010800001080000501839424049369620400424005129986330022800102080000201600004005140040118002110910800001080000108000003408000245118000223450201160114003980000104004340052400434005240041
80024400422990900400271616025800101080000108000050183935214936962040050400402997733002280010208000020160000400404004211800211091080000108000010800000340800025588000203450201160114003980000104004140043400414004340054
8002440042300600040027160025800101080000108000050185369514936962040042400422997533002080010208000020160000400424004211800211091080000108000010800000029800027178000023450201160114003980000104004140043400434004140041
80024400513006310400361616025800101080000108000050183935214936971040042400512997733002080010208000020160000400404004011800211091080000108000010800000340800023708000023450201160114003980000104004340051400434005140041