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:
neg x0, x0, asr #17
mov x0, 1 mov x1, 2
(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 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
1004 | 2030 | 2001 | 2001 | 1000 | 52265 | 1000 | 1000 | 1000 | 2001 | 1000 |
Code:
neg x0, x0, asr #17
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 2.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) |
10204 | 20030 | 20101 | 20101 | 10104 | 529100 | 10104 | 10210 | 10210 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10205 | 20060 | 20115 | 20115 | 10137 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
10204 | 20030 | 20101 | 20101 | 10104 | 529186 | 10104 | 10212 | 10212 | 20001 | 10100 |
Result (median cycles for code): 2.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) |
10024 | 20030 | 20021 | 20021 | 10025 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
10024 | 20030 | 20021 | 20021 | 10020 | 529253 | 10020 | 10020 | 10020 | 20011 | 10010 |
Count: 8
Code:
neg x0, x8, asr #17 neg x1, x8, asr #17 neg x2, x8, asr #17 neg x3, x8, asr #17 neg x4, x8, asr #17 neg x5, x8, asr #17 neg x6, x8, asr #17 neg x7, x8, asr #17
mov x8, 9
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.6675
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) | 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) |
80204 | 53611 | 160377 | 160377 | 0 | 80334 | 0 | 1360838 | 0 | 0 | 80130 | 80234 | 0 | 0 | 80236 | 160016 | 80100 |
80204 | 53404 | 160117 | 160117 | 0 | 80130 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80236 | 160017 | 80100 |
80204 | 53404 | 160117 | 160117 | 0 | 80130 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80236 | 160017 | 80100 |
80204 | 53404 | 160117 | 160117 | 0 | 80130 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80290 | 160083 | 80100 |
80204 | 53404 | 160117 | 160117 | 0 | 80130 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80236 | 160017 | 80100 |
80204 | 53404 | 160117 | 160117 | 0 | 80130 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80236 | 160017 | 80100 |
80204 | 53404 | 160117 | 160117 | 0 | 80130 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80445 | 160276 | 80100 |
80205 | 53486 | 160225 | 160225 | 0 | 80229 | 0 | 1360801 | 0 | 0 | 80130 | 80234 | 0 | 0 | 80236 | 160017 | 80100 |
81452 | 57496 | 161529 | 161012 | 517 | 80999 | 0 | 1360557 | 0 | 0 | 80131 | 80238 | 0 | 0 | 80236 | 160017 | 80100 |
80204 | 53456 | 160183 | 160183 | 0 | 80183 | 0 | 1360838 | 0 | 0 | 80130 | 80236 | 0 | 0 | 80236 | 160017 | 80100 |
Result (median cycles for code divided by count): 0.6671
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) |
80024 | 53414 | 160039 | 160039 | 80051 | 1360530 | 80096 | 80108 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1359903 | 80020 | 80020 | 80020 | 0 | 0 | 160011 | 0 | 0 | 80010 |
80024 | 53371 | 160021 | 160021 | 80020 | 1360856 | 80143 | 80160 | 80058 | 0 | 0 | 160029 | 0 | 0 | 80010 |