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 x0, v0.d[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 x0, v0.d[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 | 1248868 | 899368 | 20100 | 200 | 10003 | 10003 | 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 | 10026 | 10026 | 10003 | 10000 | 10100 |
20204 | 70050 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10021 | 307 | 1231658 | 900064 | 20138 | 202 | 10025 | 10025 | 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 |
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) |
20025 | 70063 | 30017 | 10013 | 10002 | 10002 | 10 | 10015 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10003 | 10003 | 20 | 10002 | 10002 | 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 | 10002 | 10002 | 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 | 10025 | 10025 | 10003 | 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 x0, v8.d[1] umov x1, v8.d[1] umov x2, v8.d[1] umov x3, v8.d[1] umov x4, v8.d[1] umov x5, v8.d[1] umov x6, v8.d[1] umov x7, v8.d[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 | 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 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80204 | 80034 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 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) |
80025 | 80081 | 160052 | 80035 | 80017 | 20 | 80023 | 70 | 320010 | 80022 | 20 | 80008 | 20 | 80008 | 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 |
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 |