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 d0, 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 | 543 | 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 d0, 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 | 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 |
20204 | 70030 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10020 | 307 | 1240635 | 900987 | 20137 | 202 | 10025 | 10025 | 200 | 10026 | 10026 | 10003 | 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 | 1219544 | 899697 | 20100 | 200 | 10002 | 10002 | 202 | 10025 | 10025 | 10004 | 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) | ? int retires (ef) |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10001 | 30 | 1218861 | 899398 | 20011 | 20 | 10003 | 10003 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218878 | 899411 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218914 | 899437 | 20010 | 20 | 10000 | 10000 | 20 | 10026 | 10026 | 10003 | 10000 | 10010 |
20024 | 70117 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1219184 | 899632 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70036 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218878 | 899411 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218950 | 899463 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10021 | 30 | 1227018 | 899635 | 20046 | 20 | 10026 | 10026 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218932 | 899450 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70030 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1218860 | 899398 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
Count: 8
Code:
fmov d0, x8 fmov d1, x8 fmov d2, x8 fmov d3, x8 fmov d4, x8 fmov d5, x8 fmov d6, x8 fmov d7, 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 | 40050 | 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 | 80010 | 300 | 240030 | 80110 | 200 | 80014 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40056 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 616816 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40039 | 80101 | 101 | 80000 | 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 | 202 | 80070 | 2 | 80000 | 100 |
80204 | 40106 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 240024 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40039 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 385182 | 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) |
80024 | 40176 | 80017 | 11 | 80006 | 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 |
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 |
80025 | 40084 | 80047 | 11 | 80036 | 10 | 80000 | 30 | 476436 | 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 | 80000 | 30 | 240000 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80025 | 40081 | 80046 | 11 | 80035 | 10 | 80000 | 30 | 374592 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |