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

EON (register, 32-bit)

Test 1: uops

Code:

  eon w0, w0, w1
  mov x0, 1
  mov x1, 2

(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)031e3f4d51schedule uop (52)schedule int uop (53)dispatch int uop (56)int uops in schedulers (59)6d6emap 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 int alu (97)l1d cache writeback (a8)accfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
1004103580618622510001000100016916103510357283868100010002000103541111001100003731411110321000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110000073141119371000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110000073141119371000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110000073141119371000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110000073141119371000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110000073141119371000100010361036103610361036
100410358661862251000100010001691610351035728386810001000200010354111100110001373141119371000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110000373141119371000100010361036103610361036
100410358061862251000100010001691610351035728386810001000200010354111100110001073141119371000100010361036103610361036
1004103571261862251000100010001691610351035728786810001000200010354111100110000073141119371000100010361036103610361036

Test 2: Latency 1->2

Code:

  eon w0, w0, w1
  mov x0, 1
  mov x1, 2

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 1.0035

retire uop (01)cycle (02)03mmu table walk data (08)09l2 tlb miss data (0b)18191e1f3a3f4d51schedule 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 tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)st unit uop (a7)l1d cache writeback (a8)a9acc2branch cond mispred nonspec (c5)branch mispred nonspec (cb)cdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
102041003578000000001039877251010010100101179332149695510035100358607687341011710240202801003541111020110099100101001000000000011172001600996510000101001003610036100361003610036
1020410035770000000011259877251010010100101178768649695510035100358607787341011710240202801003541111020110099100101001000200000000071013711994110000101001003610036100361003610036
102041003581000000008909877251010010100101008866449695510035100358580387221010010200202001003541111020110099100101001000000000000071013711994110000101001003610036100361003610036
102041003578000000009149877251010010100101008866449695510035100358580387221010010200202001003541111020110099100101001000000000000071013711994110000101001017410036100361003610036
10204100357700000000619877251010010100101008866449704910035100358580387221010010200202001003541111020110099100101001000000000000071013711994110000101001003610036100361003610036
10204100357800000000619877251014710100101008866449695510035100358580387221010010200202001003541111020110099100101001000000003000071013711994110000101001003610036100361003610036
10204100357800000000619877251010010100101008866449695510035100358580387221010010733202001003541111020110099100101001000000000000071013711994110000101001003610036100361003610036
102041003578000030007409877251010010100101008866449695510035100358580387221010010200202001003541111020110099100101001000000000000071013711994110000101001003610036100361003610036
10204100357700000000619877251010010100101008866449695510035100358580387221010010200202001017541111020110099100101001000000100000071013711994110000101001003610036100361003610036
10204100358000000000619877251019610100101008866449695510035100358580387221010010200202001003541111020110099100101001002000000000071013711994110000101001003610036100361003610036

1000 unrolls and 10 iterations

Result (median cycles for code): 1.0035

retire uop (01)cycle (02)031e3f4d51schedule 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)accdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
1002410035770619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610036
1002410035770829863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610084
1002410081780619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101003064024122994010000100101003610036100361003610036
1002410035780619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101003064024122994010000100101003610036100361003610036
1002410035780619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610036
1002410035780619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610036
100241003577381619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101003064024122994010000100101003610036100361003610036
1002410035780619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610036
1002410035780619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610036
1002410035770619863251001010010100108878449695510035100358602387401001010020200201003541111002110910100101000064024122994010000100101003610036100361003610036

Test 3: Latency 1->3

Code:

  eon w0, w1, w0
  mov x0, 1
  mov x1, 2

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 1.0035

retire uop (01)cycle (02)03l2 tlb miss data (0b)18191e1f3a3f4d51schedule 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)9fl1d tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)l1d cache writeback (a8)a9acc2cfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
102041003577000000619877251010010100101008866404969551003510035858038722101001020020200100354111102011009910010100100000000071013711994110000101001003610036100361003610036
102041003578000000619877251010010100101009064704969551003510035858038722101001020020200100354111102011009910010100100000000071013711994110000101001003610036100361003610036
102041008077000900619877381010010100101008866404969551003510035858038722101001020020200100354111102011009910010100100000000071013711994110079101001003610174100361003610036
1020410035790001500619877251010010100101008866414969551003510035858038767101001020020200100354111102011009910010100100000000071013711994110000101001003610036101181003610036
1020410035770000009439877251010010100101008866404969551003510035858038722101001020021592100354111102011009910010100100000000071013711994110000101001003610036100361003610036
102041003580000000619877251010010100101008866404969551003510035858038722107411020020200100354111102011009910010100100000000071013711994110000101001003610036100361003610036
102041003578000000619877251010010100101008866404969551003510035858038722101001020020200100354111102011009910010100100000000071013711994110000101001003610036100361003610036
102041003578000000619877251010010100101008866404969551003510035858038722101001020020200100354111102011009910010100100000000071013711994110000101001003610036100361003610036
102041003578000000619877251010010100101008866404969551003510035858038722101001020020200100354111102011009910010100100000000071013711994110000101001003610036100361003610036
1020410035770003001149877251010010100101008866404969551003510035858038722101001020020200100354111102011009910010100100000003071013711994110027101001003610036100361003610036

1000 unrolls and 10 iterations

Result (median cycles for code): 1.0035

retire uop (01)cycle (02)03l2 tlb miss data (0b)181e1f3f4d51schedule 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)9fl1d cache writeback (a8)accfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
1002410035780000619863451001010010100108878414969551003510035860238740100101002020020100354111100211091010010100364034122994010000100101003610036100361003610036
10024100357800120619863251001010010100108878414969551003510035860238740100101002020020100354111100211091010010101364024122994010000100101003610036100361003610036
1002410035780000619863251001010010100108878404969551003510035860238740100101002020020100354111100211091010010100064024122994010000100101003610036100361003610036
10024100357800006198632510010100101001088784049695510035100358602787401001010020200201003541111002110910100101001864024122994010016100101003610036100361003610036
10024100357700006198632510010100101001088784049695510035100358602387401001010020200201003541111002110910100101036064024122994010000100101003610036100361003610036
10024100357700120619863251001010010100108878404969551003510035860238740100101002020020100354111100211091010010100064024122994010000100101003610036100361003610036
1002410035780000619863251001010010100108878404969551003510035860238740100101002020020100354111100211091010010100964024122994010000100101003610036100361003610036
1002410035780000619863251001010010100108878404969551003510035860238740100101002020020100354111100211091010010100064024122994010000100101003610036100361003610036
10024100357802006198632510010100101001088784049695510035100358602387401001010020200201003541111002110910100101024064024122994010000100101003610036100361008210036
10024100357800004419863251001010010100108878404969551003510035860238740100101002020020100354111100211091010010100364024122994010000100101003610036100361003610036

Test 4: throughput

Count: 8

Code:

  eon w0, w8, w9
  eon w1, w8, w9
  eon w2, w8, w9
  eon w3, w8, w9
  eon w4, w8, w9
  eon w5, w8, w9
  eon w6, w8, w9
  eon w7, w8, w9
  mov x8, 9
  mov x9, 10

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

retire uop (01)cycle (02)03191e3f51schedule 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)9fld unit uop (a6)l1d cache writeback (a8)acc2cfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
8020413417104003525801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000005110419111338380000801001338713387133871338713387
8020413386103003525801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000005110119111338380000801001338713387133871338713387
80204133861040154925801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000005110119111338380000801001338713387133871338713387
8020413386104063525801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000005110119111338380000801001338713387133871338713387
8020413386103003525801008010080100400500149103061338613386332333341801008020016020013435391180201100991008010010000005110119111338380000801001338713387133871338713387
8020413386104015352580100801008010040050014910306133861338633233334180100802001602001365739118020110099100801001000024505111119111338380000801001338713387133871338713387
80204133861040155625801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000005110119111338380000801001338713387133871338713387
802041338610401683525801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010001005110119111338380000801001338713387133871338713387
802041338610402313525801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000005110119111338380000801001338713387133871338713387
8020413386104003525801008010080100400500149103061338613386332333341801008020016020013386391180201100991008010010000305110119111338380000801001338713387133871338713387

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)031e3f51schedule 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)9fl1d tlb miss (a1)l1d cache writeback (a8)acc2cfd5map dispatch bubble (d6)ddfetch restart (de)e0? int output thing (e9)? int retires (ef)f5f6f7f8fd
80024133871040352580010800108001040939504910291133711337133303334880010800201600201337139118002110910800101000005021619361336880000800101337213372133721337213372
80024133711040632580010800108001040939404910291133711337133303334880010800201600201337139118002110910800101000305021319331336880000800101337213372133721337213372
80024133711040352580010800108001040005004910291133711337133303334880010800201600201337139118002110910800101000005021619551336880000800101337213372133721337213372
80024133711040352580010800108001040939404910291133711337133303334880010800201600201337139118002110910800101000005021519631336880000800101337213372133721337213372
80024133711030352580010800108001040005004910291133711337133303334880010800201600201337139118002110910800101000005021519661336880000800101337213372133721337213372
80024133711040352580010800108001040939404910291133711337133303334880010800201600201337139118002110910800101000005021219331336880000800101337213372133721337213372
80024133711040352580010800108001040005004910291133711337133303334880010800201600201337139118002110910800101000005021219561336880000800101337213372133721337213372
800241337110412352580010800108001040005004910291133711337133303334880010800201600201337139118002110910800101000005021519331336880000800101337213372133721337213372
800241337110315772580010800108001040005004910291133711337133303334880010800201600201337139118002110910800101000005021319561336880000800101337213372133721337213372
80024133711040352580010800108001040005004910291133711337133303334880010800201600201337139118002110910800101000005021319331336880000800101337213372133721337213372