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:
sdiv w0, w1, w2
mov w1, #0x7fffffff mov w2, #3
(no loop instructions)
Retires: 1.000
Issues: 2.000
Integer unit issues: 2.001
Load/store unit issues: 0.000
SIMD/FP unit issues: 0.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
1004 | 13030 | 2001 | 2001 | 1000 | 115532 | 1000 | 1000 | 2000 | 2001 | 1000 |
Chain cycles: 2
Code:
sdiv w0, w1, w2 eor x1, x1, x0 eor x1, x1, x0
mov w1, #0x7fffffff mov w2, #3
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 2 chain cycles): 13.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | 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) |
30204 | 150030 | 40201 | 40201 | 30203 | 4018014 | 30203 | 30210 | 60296 | 0 | 0 | 40104 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30205 | 150060 | 40206 | 40206 | 30232 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30205 | 150060 | 40204 | 40204 | 30231 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 0 | 40101 | 0 | 0 | 30100 |
Result (median cycles for code, minus 2 chain cycles): 13.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | 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) | ? int output thing (e9) | ? int retires (ef) |
30024 | 150030 | 40011 | 40011 | 30013 | 0 | 4018317 | 0 | 0 | 30013 | 30030 | 0 | 0 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60020 | 40001 | 30010 |
30025 | 150060 | 40014 | 40014 | 30041 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60116 | 40004 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60020 | 40001 | 30010 |
30025 | 150060 | 40014 | 40014 | 30041 | 0 | 4018670 | 0 | 0 | 30040 | 30065 | 0 | 0 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018679 | 0 | 0 | 30042 | 30068 | 0 | 0 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 0 | 4018329 | 0 | 0 | 30010 | 30020 | 0 | 0 | 60020 | 40001 | 30010 |
Chain cycles: 2
Code:
sdiv w0, w1, w2 eor x2, x2, x0 eor x2, x2, x0
mov w1, #0x7fffffff mov w2, #3
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 2 chain cycles): 13.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
30204 | 150030 | 40201 | 40201 | 30203 | 4018014 | 30203 | 30210 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018411 | 30232 | 30248 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018403 | 30232 | 30252 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
30204 | 150030 | 40201 | 40201 | 30203 | 4018070 | 30203 | 30212 | 60224 | 0 | 40101 | 0 | 0 | 30100 |
Result (median cycles for code, minus 2 chain cycles): 13.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
30024 | 150030 | 40011 | 40011 | 30013 | 4018298 | 30010 | 30020 | 60120 | 40004 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60116 | 40004 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60094 | 40004 | 30010 |
30024 | 150030 | 40011 | 40011 | 30010 | 4018329 | 30010 | 30020 | 60020 | 40001 | 30010 |
Code:
sdiv w0, w1, w2
mov w1, #0x7fffffff mov w2, #3
(fused SUBS/B.cc loop)
Result (median cycles for code): 13.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule ldst uop (55) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10206 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159954 | 10111 | 10226 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20248 | 20004 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159948 | 10109 | 10224 | 20216 | 20001 | 10100 |
10204 | 130030 | 20101 | 20101 | 0 | 10100 | 1159832 | 10100 | 10208 | 20216 | 20001 | 10100 |
Result (median cycles for code): 13.0030
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | dispatch int uop (56) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | 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) |
10025 | 130060 | 20024 | 20024 | 10029 | 1159592 | 10020 | 10028 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20068 | 0 | 0 | 20014 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10024 | 130030 | 20021 | 20021 | 10020 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |
10025 | 130060 | 20024 | 20024 | 10029 | 1159592 | 10020 | 10020 | 20020 | 0 | 0 | 20011 | 0 | 0 | 10010 |