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:
tst w0, #3
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) |
1004 | 521 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 395 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 389 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 396 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 392 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 391 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 396 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 392 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 391 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
1004 | 391 | 1001 | 1001 | 1000 | 3000 | 1000 | 1000 | 1000 | 1001 |
Chain cycles: 1
Code:
tst w0, #3 cset x0, cc
mov x0, 1
(fused SUBS/B.cc 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 | 20101 | 20101 | 20107 | 519312 | 20107 | 20212 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 10100 |
20204 | 20030 | 20101 | 20101 | 20108 | 519548 | 20108 | 20216 | 20216 | 20001 | 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 | 20011 | 20011 | 20018 | 519454 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519930 | 20060 | 20081 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20020 | 20001 | 10010 |
20024 | 20030 | 20011 | 20011 | 20010 | 519598 | 20010 | 20020 | 20080 | 20015 | 10010 |
Count: 8
Code:
tst w0, #3 tst w0, #3 tst w0, #3 tst w0, #3 tst w0, #3 tst w0, #3 tst w0, #3 tst w0, #3
mov x0, 1
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.3635
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | 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 | 29215 | 80114 | 80114 | 0 | 80118 | 240351 | 80117 | 80218 | 80220 | 80015 | 100 |
80204 | 29128 | 80112 | 80112 | 0 | 80117 | 240354 | 80118 | 80220 | 80220 | 80013 | 100 |
80204 | 29087 | 80115 | 80115 | 0 | 80119 | 240354 | 80118 | 80220 | 80220 | 80015 | 100 |
80204 | 29063 | 80113 | 80113 | 0 | 80118 | 240357 | 80119 | 80220 | 80220 | 80013 | 100 |
80204 | 29051 | 80115 | 80115 | 0 | 80119 | 240348 | 80116 | 80216 | 80220 | 80012 | 100 |
80204 | 29166 | 80113 | 80113 | 0 | 80118 | 240354 | 80118 | 80220 | 80220 | 80013 | 100 |
80204 | 29107 | 80115 | 80115 | 0 | 80119 | 240354 | 80118 | 80220 | 80220 | 80015 | 100 |
80204 | 29072 | 80112 | 80112 | 0 | 80117 | 240357 | 80119 | 80220 | 80220 | 80015 | 100 |
80204 | 29052 | 80113 | 80113 | 0 | 80118 | 240357 | 80119 | 80220 | 80220 | 80015 | 100 |
80204 | 29051 | 80115 | 80115 | 0 | 80119 | 240354 | 80118 | 80220 | 80220 | 80013 | 100 |
Result (median cycles for code divided by count): 0.3630
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 | 30103 | 80035 | 80035 | 80039 | 240088 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 29076 | 80021 | 80021 | 80020 | 240084 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 28986 | 80021 | 80021 | 80020 | 240089 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 29119 | 80021 | 80021 | 80020 | 240082 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 28983 | 80021 | 80021 | 80020 | 240069 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 29098 | 80021 | 80021 | 80020 | 240072 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 28981 | 80021 | 80021 | 80020 | 240072 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 29098 | 80021 | 80021 | 80020 | 240095 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 28991 | 80021 | 80021 | 80020 | 240066 | 80020 | 80020 | 80020 | 80011 | 10 |
80024 | 29132 | 80021 | 80021 | 80020 | 240084 | 80020 | 80020 | 80020 | 80011 | 10 |