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:
umov w0, v0.b[1]
mov x0, 1 mov x1, 2
(no loop instructions)
Retires: 1.000
Issues: 2.000
Integer unit issues: 1.001
Load/store unit issues: 0.000
SIMD/FP unit issues: 1.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch simd uop (57) | ldst uops in schedulers (5b) | dispatch uop (78) | map simd uop (7e) | map simd uop inputs (81) | ? int output thing (e9) | ? int retires (ef) |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
1004 | 1034 | 2001 | 1001 | 1000 | 1000 | 4000 | 1000 | 1000 | 1000 | 1001 | 1000 |
Code:
umov w0, v0.b[1] fmov d0, x0
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 7.0032
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 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1251532 | 901292 | 20100 | 200 | 10003 | 10003 | 200 | 10003 | 10003 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70032 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248904 | 899394 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70034 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248868 | 899368 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
Result (median cycles for code): 7.0032
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 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10003 | 10003 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70035 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70032 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
Count: 8
Code:
umov w0, v8.b[1] umov w1, v8.b[1] umov w2, v8.b[1] umov w3, v8.b[1] umov w4, v8.b[1] umov w5, v8.b[1] umov w6, v8.b[1] umov w7, v8.b[1]
mov x8, 9
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? int retires (ef) |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320088 | 80123 | 200 | 80036 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320092 | 80124 | 200 | 80038 | 200 | 80008 | 80001 | 80100 |
Result (median cycles for code divided by count): 1.0004
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? int retires (ef) |
80024 | 80034 | 160023 | 80021 | 80002 | 20 | 80004 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80025 | 80068 | 160054 | 80035 | 80019 | 20 | 80025 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80024 | 80034 | 160021 | 80021 | 80000 | 20 | 80000 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |
80025 | 80068 | 160054 | 80035 | 80019 | 20 | 80025 | 70 | 320000 | 80020 | 20 | 80000 | 20 | 80000 | 80011 | 80010 |