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:
sub x0, x0, x1, uxtx
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 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
1004 | 1030 | 1001 | 1001 | 1000 | 25603 | 1000 | 1000 | 2000 | 1001 | 1000 |
Code:
sub x0, x0, x1, uxtx
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) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
10204 | 10030 | 10101 | 10101 | 10108 | 259416 | 10107 | 10214 | 20228 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 0 | 0 | 10001 | 0 | 0 | 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 | 10029 | 259474 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
Code:
sub x0, x1, x0, uxtx
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 | 10107 | 259433 | 10107 | 10214 | 20228 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 10001 | 10100 |
10204 | 10030 | 10101 | 10101 | 10107 | 259539 | 10107 | 10212 | 20224 | 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 | 259490 | 10028 | 10034 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
10024 | 10030 | 10021 | 10021 | 10020 | 259591 | 10020 | 10020 | 20020 | 10011 | 10010 |
Count: 8
Code:
sub x0, x8, x9, uxtx sub x1, x8, x9, uxtx sub x2, x8, x9, uxtx sub x3, x8, x9, uxtx sub x4, x8, x9, uxtx sub x5, x8, x9, uxtx sub x6, x8, x9, uxtx sub x7, x8, x9, uxtx
mov x8, 9 mov x9, 10
(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 | 26910 | 80115 | 80115 | 80120 | 240360 | 80120 | 80222 | 160244 | 80015 | 80100 |
80204 | 26740 | 80114 | 80114 | 80119 | 240360 | 80120 | 80224 | 160248 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 160248 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 160248 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 160248 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 160248 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80222 | 160244 | 80015 | 80100 |
80204 | 26867 | 80115 | 80115 | 80120 | 240360 | 80120 | 80222 | 160248 | 80015 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 160352 | 80057 | 80100 |
80204 | 26737 | 80115 | 80115 | 80120 | 240360 | 80120 | 80224 | 160248 | 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 | 27933 | 80039 | 80039 | 80044 | 261477 | 80042 | 80046 | 160072 | 80029 | 80010 |
80024 | 26833 | 80021 | 80021 | 80020 | 272071 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26722 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160186 | 80070 | 80010 |
80024 | 26730 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26724 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |
80024 | 26717 | 80021 | 80021 | 80020 | 282738 | 80020 | 80020 | 160020 | 80011 | 80010 |