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

MRS (DCZID_EL0)

Test 1: uops

Code:

  mrs x0, dczid_el0

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 1.000

Integer unit issues: 1.000

Load/store unit issues: 0.000

SIMD/FP unit issues: 0.000

retire uop (01)cycle (02)031e3f51schedule uop (52)schedule int uop (53)606d6emap stall dispatch (70)map rewind (75)map stall (76)8283flush restart other nonspec (84)85inst all (8c)l1d cache writeback (a8)accfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
1004103480101926100010001103410348653882103416411100100731261110311000100010351035103510351035
1004103489101926100010001103410348653882103416411100100731261110311000100010351035103510351035
10041034815101926100010000103410348653882103416411100100731261110311000100010351035103510351035
1004103479101926100010000103410348653882103416411100100731261110311000100010351035103510351035
1004103480101926100010001103410348653882103416411100100731261110311000100010351035103510351035
1004103480101926100010000103410348653882103416411100103731261110311000100010351035103510351035
1004103489101926100010000103410348653882103416411100100731261110311000100010351035103510351035
1004103480101926100010000103410348653882103416411100103731261110311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100731261110311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100731261110311000100010351035103510351035

Test 2: throughput

Count: 8

Code:

  mrs x0, dczid_el0
  mrs x1, dczid_el0
  mrs x2, dczid_el0
  mrs x3, dczid_el0
  mrs x4, dczid_el0
  mrs x5, dczid_el0
  mrs x6, dczid_el0
  mrs x7, dczid_el0

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

retire uop (01)cycle (02)031e3f51schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)696a6d6emap stall dispatch (70)map 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 cache writeback (a8)accfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
8020480039620080020268010080100100500497695580035800356996636998410020020080035164118020110099100100100095110225228003280000801008003680036800368003680036
80204800356201280020268010080100100500497695580035800356996636998410020020080035164118020110099100100100005110225228003280000801008003680036800368003680036
80204800356201280020268010080100100500497695580035800356996636998410020020080035164118020110099100100100005110225228003280000801008003680036800368003680036
80204800356210800202680100801001005004976955800358003569966369984100200200800351641180201100991001001008705110225228003980000801008003680036800368003680036
8020480035643080020268010080100100500497695580035800356996636998410020020080035164118020110099100100100005110225228003280000801008003680036800438003680036
8020480035620080020268010080100100500497695580035800356996636998410020020080070164118020110099100100100105110225228003280000801008003680036800368003680036
8020480035620080020268010080100100500497695580035800356996636998410020020080035164118020110099100100100005110225228003280000801008003680036800368003680036
8020480035620080020268010080100100500497695580035800356996636998410020020080035164118020110099100100100005110225228003280000801008003680036800368003680036
8020480035620080020268010080100100500987695580069800356996636998410020020080035164118020110099100100100005110225228003280000801008003680036800368003680036
80204800356200800202680100801001005004976955800358003569966369984100200200800351641180201100991001001008705110225228003280000801008003680036800368003680036

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)03mmu table walk data (08)1e3f51schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)60696a6d6emap stall dispatch (70)map 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)9fst unit uop (a7)l1d cache writeback (a8)a9accdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
800248005162000800202680010800101050149769558003580035699883700061020208003516411800211091010100003050201625998003280000800108003680036800368003680036
80024800356210080020268001080010105014976955800358003569988370006102020800351641180021109101010000005020825998003280000800108012380036800368003680036
8002480035620015980020268001080010105014976955800358003569988370006102020800351641180021109101010000005020925888003280000800108003680036800368003680036
80024800356210080020268001080010105014976955800358003569992370006102020800351641180021109101010040905020925898003280000800108003680043800368003680036
80024800356420975800202680010800101050149769558003580035699883700411020208003516411800211091010100000050209259108003280000800108003680036800368003680036
80024800356200080020268001080010105014976955800358003569988370006102020800351641180021109101010010005020825998003280000800108003680036800368003680036
80024800356210080020268001080010105014976955800358003569988370006102020800351641180021109101010000005020825998003280000800108003680036800368003680036
80024800356440080020268001080010105014976955800358003569988370006102020800351641180021109101010000005020725898003280000800108003680036800368003680036
80024800356200080020268001080010105014976955800358003569988370006102020800351641180021109101010000005020925898003280000800108003680036800368003680036
80024800356200080020268001080010105014976955800358003569988370006102020800351641180021109101010010005020925888003280000800108003680036800368003680036