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:
smov x0, 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 | 4101 | 1025 | 1026 | 1000 | 1001 | 1000 |
Code:
smov x0, 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 | 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 | 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 | 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 | 70033 | 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 |
20025 | 70062 | 30017 | 10013 | 10002 | 10002 | 10 | 10015 | 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 | 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:
smov x0, v8.b[1] smov x1, v8.b[1] smov x2, v8.b[1] smov x3, v8.b[1] smov x4, v8.b[1] smov x5, v8.b[1] smov x6, v8.b[1] smov x7, 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 | 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 | 320083 | 80122 | 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 | 80036 | 80015 | 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) |
80024 | 80049 | 160021 | 80021 | 80000 | 20 | 80002 | 70 | 320010 | 80022 | 20 | 80008 | 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 | 320096 | 80045 | 20 | 80036 | 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 |