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 (TPIDRRO_EL0)

Test 1: uops

Code:

  mrs x0, tpidrro_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
1004103480101926100010000103410348653882103416411100103732262210311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100732262210311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100732262210311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100732262210311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100732262210311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100733262210311000100010351035103510351035
1004103470101926100010000103410348653882103416411100110732262210311000100010351035103510351035
1004103480101926100010000103410348653882103416411100100732262210311000100010351035103510351035
10041034824101926100010000103410348653882103416411100100732262210311000100010351035103510351035
1004103470101926100010000103410348653882103416411100100732262210311000100010351035103510351035

Test 2: throughput

Count: 8

Code:

  mrs x0, tpidrro_el0
  mrs x1, tpidrro_el0
  mrs x2, tpidrro_el0
  mrs x3, tpidrro_el0
  mrs x4, tpidrro_el0
  mrs x5, tpidrro_el0
  mrs x6, tpidrro_el0
  mrs x7, tpidrro_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)03l2 tlb miss data (0b)18191e1f3f51schedule 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)inst simd store (99)9fl1d tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)l1d cache writeback (a8)a9acbranch cond mispred nonspec (c5)branch mispred nonspec (cb)cdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)ea? int retires (ef)f5f6f7f8fd
8020480039621000120800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000000000051103253380032800000801008003680036800368003680036
802048003562000000800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000000000051103253380032800000801008003680036800368003680036
802048003562100000800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000000000051103253380032800000801008003680036800368003680036
802048003562000000800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000000000051103253380032800000801008003680036800368003680036
802048003562100000800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000000000051103253380032800000801008003680036800368003680036
802048003562000000800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000020000051103253380032800000801008003680036800368003680036
802048003562000000800202680100801001005000497695580035800696996636998410020020080035164118020110099100100010000010000051103253380075800000801008003680036800808003680036
8020480035621000008002026801008010010050004976955800358003569966126998410020020080035164118020110099100100010000000000151103253380032800000801008003680036800368003680036
802048003562000000800202680100801001005000497695580035800356996636998410020020080035164118020110099100100010000000000051103253380032800000801008003680036800368003680036
802048003562000000800202680100801001005000497695580035800356996637001510020020080035164118020110099100100010000000000051103253380032800001801008003680036800368003680036

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)03mmu table walk instruction (07)l2 tlb miss instruction (0a)l2 tlb miss data (0b)191e1f3a3f51schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)60696a6b6d6emap 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 tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)l1d cache writeback (a8)acc2branch cond mispred nonspec (c5)cdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
80024800506211100001800202680010800101050049769550800358003569988370006102020800351641180021109101010000000005022325338003280000800108003680036800368003680036
80024800356201100001800202680010800101050049769550800358003569988370006102020800351641180021109101010000000005022225238003280000800108003680043800368003680036
80024800356211100001800202680010800101050149769550800358003569988370006102020800351641180021109101010000000005022325328003280000800108003680036800368003680036
800248003562011001201800202680010800101050049769550800358003569988370006102020800351641180021109101010000000005022325238003280000800108003680036800368003680036
80024800356211100001800202680010800101050049769550800358003569988370006102020800351641180021109101010000000005022225328003280000800108003680036800368003680036
80024800356231100001800202680010800101050149769550800358003569988370038102020800351641180021109101010000000005022325338003280000800108003680036800368003680036
80024800356201100001800202680010800101050049769550800358003569988370006102020800351641180021109101010000100005022325338003280000800108003680036800368003680036
80024800356211100001800202680010800101050049769550800358003569992370006102020800351641180021109101010000000005022325328003280000800108003680036800368003680036
800248003562111001201800202680010800101050149769550800358003569988370006102020800351641180021109101010000000005022225328003280000800108003680036800368003680036
80024800356201100001800202680010800101050049769550800358003569988370006102020800351641180021109101010000000005022225338003280000800108003680036800368003680036