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:
lsl x0, x0, #17
mov x0, 1 mov x1, 2
(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 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 1000 | 1001 | 1000 |
Code:
lsl x0, x0, #17
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 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) |
10204 | 10030 | 10101 | 10101 | 10108 | 259433 | 10107 | 10214 | 10214 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 10212 | 10001 | 10100 |
Result (median cycles for code): 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) |
10024 | 10030 | 10021 | 10021 | 10028 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 10020 | 10011 | 10010 |
Count: 8
Code:
lsl x0, x8, #17 lsl x1, x8, #17 lsl x2, x8, #17 lsl x3, x8, #17 lsl x4, x8, #17 lsl x5, x8, #17 lsl x6, x8, #17 lsl x7, x8, #17
mov x8, 9
(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 | 26887 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26742 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 80222 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240357 | 80119 | 80222 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 80274 | 80057 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 241020 | 80340 | 80444 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80222 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 80224 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 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 | 27977 | 80037 | 80037 | 80042 | 266819 | 80044 | 80048 | 80020 | 80011 | 80010 |
80024 | 26780 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26713 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26719 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26713 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26713 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26870 | 80021 | 80021 | 80020 | 271565 | 80096 | 80100 | 80048 | 80029 | 80010 |
80024 | 26740 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 277404 | 80020 | 80020 | 80020 | 80011 | 80010 |