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.8h, v1.8h, v2.8h }, [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: 3.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch ldst uop (58) | simd uops in schedulers (5a) | dispatch uop (78) | map ldst uop (7d) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) |
63005 | 29720 | 3007 | 1 | 3006 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29433 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29442 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63005 | 29444 | 3004 | 1 | 3003 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29668 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29438 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29718 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29713 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 30061 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
63004 | 29441 | 3001 | 1 | 3000 | 3000 | 12000 | 3000 | 3000 | 6000 | 1 | 3000 |
Count: 8
Code:
st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [x6] st1 { v0.8h, v1.8h, v2.8h }, [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): 3.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) |
240205 | 240155 | 240119 | 101 | 240018 | 100 | 240001 | 300 | 4080010 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240205 | 240067 | 240118 | 101 | 240017 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480096 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240034 | 300 | 4079996 | 240134 | 200 | 240048 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480016 | 1 | 240000 | 100 |
240204 | 240039 | 240101 | 101 | 240000 | 100 | 240001 | 300 | 4079886 | 240101 | 200 | 240008 | 200 | 480096 | 1 | 240000 | 100 |
Result (median cycles for code divided by count): 3.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) |
240025 | 240152 | 240029 | 11 | 240018 | 10 | 240001 | 30 | 4080010 | 240011 | 20 | 240008 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480096 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240035 | 30 | 4079999 | 240045 | 20 | 240048 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480096 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240000 | 30 | 4079883 | 240010 | 20 | 240000 | 20 | 480000 | 1 | 240000 | 10 |
240024 | 240039 | 240011 | 11 | 240000 | 10 | 240034 | 30 | 4080248 | 240044 | 20 | 240048 | 20 | 480000 | 1 | 240000 | 10 |