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

FCVTL2 (vector, 2D)

Test 1: uops

Code:

  fcvtl2 v0.2d, v0.4s
  movi v0.16b, 1
  movi v1.16b, 2

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 1.000

Integer unit issues: 0.000

Load/store unit issues: 0.000

SIMD/FP unit issues: 1.000

retire uop (01)cycle (02)03l2 tlb miss instruction (0a)l2 tlb miss data (0b)18191e1f3f4e51schedule uop (52)schedule simd uop (54)dispatch simd uop (57)ldst uops in schedulers (5b)60696d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map simd uop (7e)map simd uop inputs (81)8283flush restart other nonspec (84)85inst all (8c)inst simd alu (9a)l1d tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)l1d cache writeback (a8)a9acc2cfd5map dispatch bubble (d6)ddfetch restart (de)e0? simd retires (ee)f5f6f7f8fd
10043037240000002832547251000100010003981600301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
1004303723000000612547251000100010003981601301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
10043037240000001032547251000100010003981601301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
1004303723000000612547251000100010003981600301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
10043037230000001322547251000100010003981600301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
1004303723000000822547251000100010003981600301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
1004303724000000612547251000100010003981600301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
1004303723000000612547251000100010003981600301830373037241432895100010001000303730371110011000000100073116112629100030383038303830383038
1004303723000000612547251000100010003981601301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038
1004303723000000612547251000100010003981600301830373037241432895100010001000303730371110011000000000073116112629100030383038303830383038

Test 2: Latency 1->2

Code:

  fcvtl2 v0.2d, v0.4s
  movi v0.16b, 1
  movi v1.16b, 2

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code): 3.0037

retire uop (01)cycle (02)03mmu table walk data (08)l2 tlb miss data (0b)18191e1f3a3f4e51schedule uop (52)schedule int uop (53)schedule simd uop (54)dispatch int uop (56)dispatch simd uop (57)int uops in schedulers (59)ldst uops in schedulers (5b)60696d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map simd uop (7e)map int uop inputs (7f)map simd uop inputs (81)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 alu (9a)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)? simd retires (ee)? int retires (ef)f5f6f7f8fd
10204300372320000120010329547251010010010000100100005004277160130018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830086
102043008423311222641920139329529631013712410016126103005934279827130054301313013228272828776104092041033220810333300843008421102011009910010010000100022093040275923311296330100001003013330132300873008630134
1020430133233010030010329547251010010010000100100005004277160130018300373003728264328745105822001000020010000300373003711102011009910010010000100000000471011611296330100001003003830038300383003830038
102043003723300009006129547251010010010000100100005004277160130018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830038
1020430037233000039006129547251010010010000100100005004277160030018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830038
102043003723300006006129547251010010010000100100005004277160130018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830038
102043003723200006006129547251010010010000100100005004277160130018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830038
1020430037233000027900612954725101001001000010010000500427716013001830037300372826432874510100200100002001000030037300371110201100991001001000010000020036071011611296330100001003003830038300383003830038
1020430037232000027006129547251010010010000100100005004277160130018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830038
1020430037233000036006129547251010010010000100100005004277160130018300373003728264328745101002001000020010000300373003711102011009910010010000100000000071011611296330100001003003830038300383003830038

1000 unrolls and 10 iterations

Result (median cycles for code): 3.0037

retire uop (01)cycle (02)03mmu table walk data (08)18191e1f3f4e51schedule uop (52)schedule int uop (53)schedule simd uop (54)dispatch int uop (56)dispatch simd uop (57)int uops in schedulers (59)ldst uops in schedulers (5b)696d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map simd uop (7e)map int uop inputs (7f)map simd uop inputs (81)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 alu (9a)9fl1d tlb access (a0)l1d tlb miss (a1)ld unit uop (a6)l1d cache writeback (a8)a9acc2branch mispred nonspec (cb)cfd5map dispatch bubble (d6)ddfetch restart (de)e0? simd retires (ee)? int retires (ef)f5f6f7f8fd
100243003722500028806129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
10024300372250002406129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001002000537801640216222962910000103003830038300383003830038
100243003722500036025129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
100243003722400044406129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
100243003722500034806129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
10024300372250003906129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
10024300372250003306129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
10024300372250003306129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
100243003722500029106129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216222962910000103003830038300383003830038
10024300372240003306129547251001010100001010000504277160300183003730037282863287671001020100002010000300373003711100211091010100001000000000640216122962910000103003830038300383003830038

Test 3: throughput

Count: 8

Code:

  fcvtl2 v0.2d, v8.4s
  fcvtl2 v1.2d, v8.4s
  fcvtl2 v2.2d, v8.4s
  fcvtl2 v3.2d, v8.4s
  fcvtl2 v4.2d, v8.4s
  fcvtl2 v5.2d, v8.4s
  fcvtl2 v6.2d, v8.4s
  fcvtl2 v7.2d, v8.4s
  movi v8.16b, 9

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

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

retire uop (01)cycle (02)03mmu table walk data (08)l2 tlb miss data (0b)18191e1f3f51schedule uop (52)schedule int uop (53)schedule simd uop (54)dispatch int uop (56)dispatch simd uop (57)int uops in schedulers (59)ldst uops in schedulers (5b)60696d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map simd uop (7e)map int uop inputs (7f)map simd uop inputs (81)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 alu (9a)9fld unit uop (a6)l1d cache writeback (a8)a9acc2branch cond mispred nonspec (c5)branch mispred nonspec (cb)cdcfd5map dispatch bubble (d6)ddfetch restart (de)e0? simd retires (ee)? int retires (ef)f5f6f7f8fd
8020420049156000000302580108100800081008002050064013202002020039200399977699908012020080032200800322003920039118020110099100100800001000000011151184160020036800001002004020040200402004020040
8020420039161000000302580108100800081008002050064013202002020039200399986699908012020080032200800322003920039118020110099100100800001000000011151180160020036800001002004020040200402004020040
8020420039155000000302580108100800081008002050064013202002020039200399977699908012020080032200800322003920039118020110099100100800001000003011151180160020036800001002004020040200402004020040
802042003915500001203025801081008000810080020500640132020306204032039310043351020380532202808572008076220194203467180201100991001008000010031237680222526411291120371800001002044920399204612036420479
80204204591580188105970427962780100101800981008000050064000002002920048200489971699948020620080000200800002004820048118020110099100100800001000000011151202242220045800001002004920049200492004920049
8020420048155000000762580108100800081008002050064013202002020039200399977699908012020080032200800322003920039118020110099100100800001000000011151180160020036800001002004020040200402004020040
8020420039155000000302580108100800081008002050064013202002020358200989976699908012020080032200800322003920039118020110099100100800001000000011151180160020036800001002004020040200402004020040
8020420039155000000302580108100800081008002050064013202002020039200399977699908012020080032200800322003920039118020110099100100800001000006011151180160020036800001002004020040200402004020040
80204200391610000908625801081008000810080020500640132020020200392003999776999080120200800322008003220039200391180201100991001008000010000015011151180160020036800001002004020040200402004020040
8020420039160100000302580108100800081008002050064013202008120039200399977699908012020080032200800322003920048118020110099100100800001000000022251281232120046800001002005020050200502005020050

1000 unrolls and 10 iterations

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

retire uop (01)cycle (02)03mmu table walk instruction (07)mmu table walk data (08)l2 tlb miss instruction (0a)181e3f51schedule uop (52)schedule int uop (53)schedule simd uop (54)dispatch int uop (56)dispatch simd uop (57)int uops in schedulers (59)ldst uops in schedulers (5b)5f6061696d6emap stall dispatch (70)map rewind (75)map stall (76)dispatch uop (78)map int uop (7c)map simd uop (7e)map int uop inputs (7f)map simd uop inputs (81)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 alu (9a)9fl1d cache writeback (a8)accfd0d2l1i cache miss demand (d3)d5map dispatch bubble (d6)d9dadbddfetch restart (de)e0eaeb? simd retires (ee)? int retires (ef)f5f6f7f8fd
800242005015600000402580010108000010801065064000000020020200392003999967100728001020800002080000200392003911800211091010800001016502003041600043200360080000102008920040200402010520040
800242003915500200402580010108000010800005064000000520020200392003999963100198001020800002080000200392003911800211091010800001000502000041600043200360080000102004020040200402004020040
800242003915500200402580010108000010800005064000001520020200392003999963100198001020800002080000200392003911800211091010800001000502000041600044200360080000102004020040200402004020040
800242003915500203404380010108000010800005064000000520020200392003999963100198001020800002080000200392003911800211091010800001000502053041600044200360080000102004020040200402004020040
800242003915500200402580010108000010800005064000000520020200392003999963100198001020800002080000200392003911800211091010800001000502053051600054200360080000102004020040200402004020040
8002420039155002003482580010108000010800005064000001520020200392003999963100198001020800002080000200392003911800211091010800001000502000041600043200360080000102004020040200402004020040
800242003915500000402580010108000010800005064000001020020200392003999963100198001020800002080000200392003911800211091010800001010502000031600034200360080000102004020040200402004020040
800242003915500200402580010108000010800005064081201020020200392003999963100198001020800002080000200392003911800211091010800001000502000041600044200360080000102004020040200402004020040
800242003915500011540258001010800001080000506400007102002020039200399996310019800102080000208000020039200391180021109101080000100580502000041600044200360080000102004020091200402009020104
800242003915501000402580010108000010800005064000081020020200392003999963100198001020800002080000200392003911800211091010800001000502000031600044200360080000102004020040200402004020040