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:
fmov w0, s0
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:
fmov w0, s0 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 | 10020 | 300 | 1236677 | 899505 | 20135 | 200 | 10025 | 10025 | 200 | 10003 | 10003 | 10001 | 10000 | 10100 |
20204 | 70096 | 30101 | 10101 | 10000 | 10000 | 100 | 10000 | 10000 | 300 | 1248958 | 899433 | 20100 | 200 | 10002 | 10002 | 200 | 10002 | 10002 | 10001 | 10000 | 10100 |
20204 | 70035 | 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 |
20206 | 70243 | 30116 | 10107 | 10005 | 10004 | 102 | 10030 | 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 |
20205 | 70062 | 30107 | 10103 | 10002 | 10002 | 100 | 10015 | 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 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20025 | 70062 | 30017 | 10013 | 10002 | 10002 | 10 | 10015 | 10000 | 30 | 1249138 | 899563 | 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 | 1249436 | 899779 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70033 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248886 | 899381 | 20010 | 20 | 10000 | 10000 | 20 | 10000 | 10000 | 10001 | 10000 | 10010 |
20024 | 70034 | 30011 | 10011 | 10000 | 10000 | 10 | 10000 | 10000 | 30 | 1248868 | 899368 | 20010 | 20 | 10000 | 10000 | 20 | 10026 | 10026 | 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 |
Count: 8
Code:
fmov w0, s8 fmov w1, s8 fmov w2, s8 fmov w3, s8 fmov w4, s8 fmov w5, s8 fmov w6, s8 fmov w7, s8
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 | 80047 | 160101 | 80101 | 80000 | 100 | 80001 | 300 | 320005 | 80101 | 200 | 80008 | 200 | 80008 | 80001 | 80100 |
80205 | 80069 | 160133 | 80115 | 80018 | 100 | 80024 | 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 | 80040 | 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 | 80047 | 160011 | 80011 | 80000 | 10 | 80001 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80025 | 80070 | 160044 | 80025 | 80019 | 10 | 80025 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80025 | 80069 | 160043 | 80025 | 80018 | 10 | 80024 | 30 | 320000 | 80010 | 20 | 80000 | 20 | 80000 | 80001 | 80010 |
80024 | 80034 | 160011 | 80011 | 80000 | 10 | 80000 | 30 | 320092 | 80034 | 20 | 80039 | 20 | 80000 | 80001 | 80010 |