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:
extr x0, x0, x1, 13
mov x0, 1 mov x1, 2
(no loop instructions)
Retires: 2.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) |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
2004 | 1031 | 2001 | 2001 | 2000 | 7000 | 2000 | 2000 | 3000 | 2001 | 2000 |
Code:
extr x0, x0, x1, 13
mov x0, 1 mov x1, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 1.0035
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) |
20204 | 10057 | 20110 | 20110 | 20113 | 70343 | 20113 | 20218 | 30227 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20218 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
20204 | 10035 | 20110 | 20110 | 20113 | 70343 | 20113 | 20216 | 30224 | 20010 | 20100 |
Result (median cycles for code): 1.0031
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) |
20024 | 10057 | 20020 | 20020 | 20023 | 70073 | 20023 | 20038 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 10031 | 20011 | 20011 | 20010 | 70030 | 20010 | 20020 | 30020 | 20001 | 20010 |
Code:
extr x0, x1, x0, 13
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) |
20204 | 20030 | 20101 | 20101 | 20105 | 379918 | 20105 | 20210 | 30215 | 20001 | 20100 |
20205 | 20060 | 20115 | 20115 | 20138 | 380193 | 20138 | 20248 | 30221 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20106 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30272 | 20015 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
20204 | 20030 | 20101 | 20101 | 20105 | 379979 | 20105 | 20212 | 30218 | 20001 | 20100 |
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) |
20024 | 20030 | 20011 | 20011 | 20015 | 379799 | 20015 | 20032 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
20024 | 20030 | 20011 | 20011 | 20010 | 379776 | 20010 | 20020 | 30020 | 20001 | 20010 |
Count: 8
Code:
extr x0, x8, x9, 13 extr x1, x8, x9, 13 extr x2, x8, x9, 13 extr x3, x8, x9, 13 extr x4, x8, x9, 13 extr x5, x8, x9, 13 extr x6, x8, x9, 13 extr x7, x8, x9, 13
mov x8, 9 mov x9, 10
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 1.0004
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) |
160204 | 80057 | 160110 | 160110 | 160113 | 560343 | 160113 | 160218 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240284 | 160040 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160205 | 80066 | 160140 | 160140 | 160150 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
160204 | 80035 | 160110 | 160110 | 160113 | 560343 | 160113 | 160216 | 240224 | 160010 | 160100 |
Result (median cycles for code divided by count): 1.0004
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) |
160024 | 80053 | 160020 | 160020 | 160023 | 560073 | 160023 | 160036 | 240047 | 160010 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |
160025 | 80066 | 160050 | 160050 | 160060 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560193 | 160060 | 160080 | 240020 | 160001 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560030 | 160010 | 160020 | 240107 | 160040 | 160010 |
160024 | 80063 | 160020 | 160020 | 160023 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |
160024 | 80031 | 160011 | 160011 | 160010 | 560030 | 160010 | 160020 | 240020 | 160001 | 160010 |