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, v1.2s, v2.2s }, [x6] 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
(no loop instructions)
Retires (minus 60 nops): 3.000
Issues: 3.000
Integer unit issues: 0.001
Load/store unit issues: 2.000
SIMD/FP unit issues: 1.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | schedule ldst uop (55) | dispatch simd uop (57) | dispatch ldst uop (58) | simd uops in schedulers (5a) | ldst uops in schedulers (5b) | dispatch uop (78) | map ldst uop (7d) | map simd uop (7e) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) |
63006 | 29557 | 3007 | 1 | 1002 | 2004 | 1002 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29301 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29302 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29301 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29310 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29301 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29303 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29301 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29301 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
63004 | 29308 | 3001 | 1 | 1000 | 2000 | 1000 | 2000 | 12750 | 4000 | 3000 | 2000 | 1000 | 4000 | 2000 | 1 | 2000 | 1000 |
Count: 8
Code:
st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6] st1 { v0.2s, v1.2s, v2.2s }, [x6]
mov x7, x6 mov x8, x6 mov x9, x6 mov x10, x6 mov x11, x6 mov x12, x6 mov x13, x6
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 2.0005
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) | ? simd retires (ee) | ? int retires (ef) |
240206 | 160153 | 240143 | 101 | 80024 | 160018 | 100 | 80025 | 160001 | 300 | 2719997 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719868 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160037 | 300 | 2720732 | 320097 | 240161 | 200 | 160048 | 80024 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240205 | 160083 | 240143 | 101 | 80024 | 160018 | 100 | 80025 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
240204 | 160038 | 240103 | 101 | 80002 | 160000 | 100 | 80003 | 160001 | 300 | 2719904 | 320013 | 240104 | 200 | 160008 | 80004 | 200 | 320016 | 160008 | 1 | 160000 | 80000 | 100 |
Result (median cycles for code divided by count): 2.0005
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) | ? simd retires (ee) | ? int retires (ef) |
240026 | 160146 | 240053 | 11 | 80024 | 160018 | 10 | 80025 | 160038 | 30 | 2720766 | 320098 | 240072 | 20 | 160049 | 80025 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2720189 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240025 | 160083 | 240050 | 11 | 80021 | 160018 | 10 | 80021 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320096 | 160048 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |
240024 | 160038 | 240011 | 11 | 80000 | 160000 | 10 | 80000 | 160000 | 30 | 2719901 | 320000 | 240010 | 20 | 160000 | 80000 | 20 | 320000 | 160000 | 1 | 160000 | 80000 | 10 |