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
Code:
fmov h0, x0
mov x0, 1 mov x1, 2
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 0.001
Load/store unit issues: 1.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch ldst uop (58) | simd uops in schedulers (5a) | dispatch uop (78) | map ldst uop (7d) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) |
1004 | 538 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 533 | 1001 | 1 | 1000 | 1000 | 3000 | 1000 | 1000 | 1000 | 1 | 1000 |
Code:
fmov h0, x0 fmov x0, d0
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 7.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | schedule ldst uop (55) | dispatch int uop (56) | dispatch simd uop (57) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map simd uop (7e) | map int uop inputs (7f) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10001 | 300 | 1219131 | 899398 | 20101 | 200 | 10003 | 10003 | 200 | 10003 | 10003 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248764 | 899398 | 20100 | 200 | 10003 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10021 | 300 | 1236960 | 899557 | 20136 | 200 | 10026 | 10026 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70046 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1219130 | 899398 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
Result (median cycles for code): 7.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | schedule ldst uop (55) | dispatch int uop (56) | dispatch simd uop (57) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map simd uop (7e) | map int uop inputs (7f) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10002 | 10002 | 20 | 10002 | 10002 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 0 | 10010 |
Count: 8
Code:
fmov h0, x8 fmov h1, x8 fmov h2, x8 fmov h3, x8 fmov h4, x8 fmov h5, x8 fmov h6, x8 fmov h7, x8
mov x8, 9
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.5005
retire uop (01) | cycle (02) | schedule 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) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map int uop inputs (7f) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) |
80204 | 40082 | 80107 | 101 | 80006 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40039 | 80107 | 101 | 80006 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80205 | 40084 | 80138 | 101 | 80037 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40037 | 80105 | 101 | 80004 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
Result (median cycles for code divided by count): 0.5004
retire uop (01) | cycle (02) | schedule 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) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map int uop inputs (7f) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) |
80026 | 40673 | 80101 | 11 | 80090 | 10 | 80010 | 30 | 593388 | 80020 | 20 | 80014 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 633278 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40033 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 412170 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40033 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 240000 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40033 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 240000 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40033 | 80011 | 11 | 80000 | 10 | 80057 | 30 | 240324 | 80067 | 20 | 80069 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40055 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 461300 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40041 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 240000 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40033 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 240000 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40033 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 240000 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |