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:
st1 { v0.2s }, [x6], x8 nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop ; nop
mov x0, 0 mov x8, 0
(no loop instructions)
Retires (minus 60 nops): 1.000
Issues: 2.000
Integer unit issues: 1.001
Load/store unit issues: 1.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch int uop (56) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | dispatch uop (78) | map ldst uop (7d) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) |
61005 | 29434 | 2005 | 1003 | 1002 | 1002 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29174 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29147 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29179 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29170 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29126 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29175 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29219 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29484 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
61004 | 29146 | 2001 | 1001 | 1000 | 1000 | 1000 | 3000 | 4000 | 2000 | 1000 | 3000 | 1001 | 1000 |
Count: 8
Code:
st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8 st1 { v0.2s }, [x6], x8
mov x7, x6 mov x8, x6 mov x9, x6 mov x10, x6 mov x11, x6 mov x12, x6 mov x13, x6 mov x8, 0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0005
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch int uop (56) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map int uop inputs (7f) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) |
80205 | 80149 | 160158 | 80140 | 80018 | 80143 | 80004 | 968824 | 1360026 | 160110 | 200 | 80010 | 200 | 240030 | 80001 | 80000 | 100 |
80205 | 80085 | 160143 | 80126 | 80017 | 80142 | 80001 | 792756 | 1360068 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80039 | 160101 | 80101 | 80000 | 80106 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80039 | 160101 | 80101 | 80000 | 80104 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80039 | 160101 | 80101 | 80000 | 80104 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80033 | 160101 | 80101 | 80000 | 80104 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80039 | 160101 | 80101 | 80000 | 80104 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80039 | 160101 | 80101 | 80000 | 80104 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80205 | 80072 | 160141 | 80124 | 80017 | 80140 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
80204 | 80039 | 160101 | 80101 | 80000 | 80104 | 80001 | 1060580 | 1359942 | 160105 | 200 | 80008 | 200 | 240024 | 80001 | 80000 | 100 |
Result (median cycles for code divided by count): 1.0006
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch int uop (56) | dispatch ldst uop (58) | int uops in schedulers (59) | simd uops in schedulers (5a) | dispatch uop (78) | map int uop (7c) | map ldst uop (7d) | map int uop inputs (7f) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? int retires (ef) |
80025 | 80147 | 160073 | 80055 | 80018 | 80056 | 80000 | 812303 | 1360047 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240144 | 80036 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |
80024 | 80048 | 160011 | 80011 | 80000 | 80010 | 80000 | 340585 | 1360101 | 160010 | 20 | 80000 | 20 | 240000 | 80001 | 80000 | 10 |