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:
csetm w0, hi
mov x0, 1
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 1.001
Load/store unit issues: 0.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
1004 | 533 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 374 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 371 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 364 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 | 1000 |
Chain cycles: 1
Code:
csetm w0, hi tst x0, 1
mov x0, 1
(non-fused SUB/CBNZ loop)
Result (median cycles for code, minus 1 chain cycle): 1.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
20204 | 20030 | 20201 | 20201 | 20208 | 519187 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519325 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
20204 | 20030 | 20201 | 20201 | 20208 | 519448 | 20208 | 20216 | 20216 | 20101 | 10100 |
Result (median cycles for code, minus 1 chain cycle): 1.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
20024 | 20030 | 20021 | 20021 | 20028 | 519500 | 20029 | 20036 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
20024 | 20030 | 20021 | 20021 | 20020 | 519591 | 20020 | 20020 | 20020 | 20011 | 10010 |
Count: 8
Code:
csetm w0, hi csetm w1, hi csetm w2, hi csetm w3, hi csetm w4, hi csetm w5, hi csetm w6, hi csetm w7, hi
mov x0, 0 cmp x0, x0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.3342
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
80204 | 26903 | 80115 | 80115 | 80120 | 291634 | 80120 | 80222 | 80222 | 80015 | 80100 |
80204 | 26742 | 80114 | 80114 | 80119 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26741 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80221 | 80014 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80221 | 80014 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 293236 | 80120 | 80224 | 80224 | 80015 | 80100 |
Result (median cycles for code divided by count): 0.3340
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
80024 | 28112 | 80038 | 80038 | 80051 | 309563 | 80049 | 80050 | 80020 | 80011 | 80010 |
80024 | 26794 | 80021 | 80021 | 80020 | 389437 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80025 | 26816 | 80082 | 80082 | 80107 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26726 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 426780 | 80020 | 80020 | 80020 | 80011 | 80010 |