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.1d, v1.1d, v2.1d, v3.1d }, [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): 4.000
Issues: 4.000
Integer unit issues: 0.001
Load/store unit issues: 2.000
SIMD/FP unit issues: 2.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) |
64006 | 29634 | 4009 | 1 | 2004 | 2004 | 2004 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4004 | 4004 | 1 | 2000 | 2000 |
64004 | 29436 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29425 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29424 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29426 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29428 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29424 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29424 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29426 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
64004 | 29428 | 4001 | 1 | 2000 | 2000 | 2000 | 2000 | 17751 | 8000 | 4000 | 2000 | 2000 | 4000 | 4000 | 1 | 2000 | 2000 |
Count: 8
Code:
st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [x6] st1 { v0.1d, v1.1d, v2.1d, v3.1d }, [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.0006
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) |
320206 | 160144 | 320165 | 101 | 160046 | 160018 | 100 | 160048 | 160002 | 300 | 2720007 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720056 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320205 | 160118 | 320163 | 101 | 160044 | 160018 | 100 | 160046 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160049 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320096 | 320096 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160002 | 300 | 2720105 | 640026 | 320108 | 200 | 160008 | 160008 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 100 |
320204 | 160047 | 320105 | 101 | 160004 | 160000 | 100 | 160006 | 160038 | 300 | 2720591 | 640186 | 320184 | 200 | 160048 | 160048 | 200 | 320016 | 320016 | 1 | 160000 | 160000 | 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) |
320026 | 160152 | 320075 | 11 | 160046 | 160018 | 10 | 160048 | 160002 | 30 | 2719912 | 640026 | 320018 | 20 | 160008 | 160008 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320096 | 320096 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160038 | 30 | 2720447 | 640186 | 320094 | 20 | 160048 | 160048 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |
320024 | 160039 | 320011 | 11 | 160000 | 160000 | 10 | 160000 | 160000 | 30 | 2719955 | 640000 | 320010 | 20 | 160000 | 160000 | 20 | 320000 | 320000 | 1 | 160000 | 160000 | 10 |