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:
ldursb x0, [x6, #1]
mov x0, 1 mov x1, 2 mov x8, 0
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 0.001
Load/store unit issues: 1.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) |
1005 | 659 | 1025 | 1 | 1024 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 550 | 1001 | 1 | 1000 | 1000 | 8166 | 1000 | 1000 | 1000 | 1 | 1000 |
Chain cycles: 3
Code:
ldursb x0, [x6, #1] eor x8, x8, x0 eor x8, x8, x0 add x6, x6, x8
mov x0, 1 mov x1, 2 mov x8, 0
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 3 chain cycles): 4.0040
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) |
40205 | 70152 | 40108 | 30107 | 10001 | 30130 | 10003 | 1859350 | 693923 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70042 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859446 | 694013 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70042 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859446 | 694013 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70042 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859446 | 694013 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40205 | 70135 | 40110 | 30108 | 10002 | 30135 | 10003 | 1859662 | 694095 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70040 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859392 | 693993 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70040 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859392 | 693993 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70040 | 40102 | 30102 | 10000 | 30103 | 10003 | 1860958 | 694631 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70048 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859473 | 694026 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
40204 | 70040 | 40102 | 30102 | 10000 | 30103 | 10003 | 1859392 | 693993 | 40106 | 30212 | 10004 | 60224 | 10004 | 30002 | 10000 | 30100 |
Result (median cycles for code, minus 3 chain cycles): 4.0049
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) |
40025 | 70151 | 40018 | 30017 | 10001 | 30040 | 10003 | 1859623 | 694693 | 40016 | 30032 | 10004 | 60020 | 10000 | 30003 | 10000 | 30010 |
40024 | 70047 | 40013 | 30013 | 10000 | 30010 | 10000 | 1859652 | 694714 | 40010 | 30020 | 10000 | 60020 | 10000 | 30003 | 10000 | 30010 |
40024 | 70047 | 40013 | 30013 | 10000 | 30010 | 10000 | 1859652 | 694714 | 40010 | 30020 | 10000 | 60020 | 10000 | 30003 | 10000 | 30010 |
40025 | 70158 | 40021 | 30019 | 10002 | 30045 | 10000 | 1859598 | 694699 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
40024 | 70040 | 40012 | 30012 | 10000 | 30010 | 10000 | 1859463 | 694644 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
40025 | 70137 | 40020 | 30018 | 10002 | 30045 | 10000 | 1859625 | 694710 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
40024 | 70040 | 40012 | 30012 | 10000 | 30010 | 10000 | 1859517 | 694666 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
40024 | 70044 | 40012 | 30012 | 10000 | 30010 | 10000 | 1859463 | 694644 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
40024 | 70040 | 40012 | 30012 | 10000 | 30010 | 10000 | 1859463 | 694644 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
40024 | 70040 | 40012 | 30012 | 10000 | 30010 | 10000 | 1859463 | 694644 | 40010 | 30020 | 10000 | 60020 | 10000 | 30002 | 10000 | 30010 |
Count: 8
Code:
ldursb x0, [x6, #1] ldursb x0, [x6, #1] ldursb x0, [x6, #1] ldursb x0, [x6, #1] ldursb x0, [x6, #1] ldursb x0, [x6, #1] ldursb x0, [x6, #1] ldursb x0, [x6, #1]
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): 0.5006
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) |
80205 | 40535 | 80137 | 101 | 80036 | 100 | 80008 | 300 | 248190 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40048 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80057 | 300 | 542959 | 80157 | 200 | 80069 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640070 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
80204 | 40045 | 80101 | 101 | 80000 | 100 | 80008 | 300 | 640124 | 80108 | 200 | 80012 | 200 | 80012 | 1 | 80000 | 100 |
Result (median cycles for code divided by count): 0.5006
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) | 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) |
80025 | 40252 | 80035 | 11 | 0 | 80024 | 10 | 0 | 80000 | 30 | 412350 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40052 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80059 | 30 | 550811 | 80069 | 20 | 80072 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80057 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |
80024 | 40050 | 80011 | 11 | 0 | 80000 | 10 | 0 | 80000 | 30 | 640166 | 80010 | 20 | 80000 | 20 | 80000 | 1 | 80000 | 10 |