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:
pmull v0.8h, v1.8b, v2.8b eor v0.16b, v0.16b, v3.16b
movi v0.16b, 1 movi v1.16b, 2 movi v2.16b, 3
(no loop instructions)
Retires: 2.000
Issues: 1.000
Integer unit issues: 0.001
Load/store unit issues: 0.000
SIMD/FP unit issues: 1.000
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch simd uop (57) | ldst uops in schedulers (5b) | dispatch uop (78) | map simd uop (7e) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) |
2004 | 1020 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 553 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 562 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
2004 | 535 | 1001 | 1 | 1000 | 1000 | 4000 | 1000 | 2000 | 4000 | 1 | 2000 |
Chain cycles: 2
Code:
pmull v0.8h, v1.8b, v2.8b eor v0.16b, v0.16b, v3.16b eor v1.16b, v1.16b, v0.16b nop
movi v0.16b, 1 movi v1.16b, 2 movi v2.16b, 3
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 2 chain cycles): 3.0033
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
40204 | 50088 | 20111 | 101 | 20010 | 100 | 20034 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50088 | 20111 | 101 | 20010 | 100 | 20034 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279625 | 20134 | 200 | 30047 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279597 | 20134 | 200 | 30050 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 202 | 60100 | 2 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50199 | 20131 | 101 | 20030 | 100 | 20102 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
Result (median cycles for code, minus 2 chain cycles): 3.0033
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30008 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
Chain cycles: 2
Code:
pmull v0.8h, v1.8b, v2.8b eor v0.16b, v0.16b, v3.16b eor v2.16b, v2.16b, v0.16b nop
movi v0.16b, 1 movi v1.16b, 2 movi v2.16b, 3
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 2 chain cycles): 3.0033
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | 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) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
40205 | 50066 | 20108 | 101 | 20007 | 100 | 20032 | 587 | 24552 | 9748 | 1279892 | 21768 | 1540 | 681 | 30100 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60098 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 0 | 300 | 0 | 1279085 | 20100 | 200 | 0 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
Result (median cycles for code, minus 2 chain cycles): 3.0033
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | 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) | map ldst uop inputs (80) | map simd uop inputs (81) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 0 | 30 | 0 | 1279085 | 20010 | 20 | 0 | 30000 | 20 | 0 | 60000 | 1 | 0 | 30000 | 10 |
Chain cycles: 2
Code:
pmull v0.8h, v1.8b, v2.8b eor v0.16b, v0.16b, v3.16b eor v3.16b, v3.16b, v0.16b nop
movi v0.16b, 1 movi v1.16b, 2 movi v2.16b, 3
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 2 chain cycles): 3.0033
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1281092 | 20288 | 200 | 30201 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1281451 | 20337 | 200 | 30251 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60404 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50264 | 20205 | 101 | 20104 | 100 | 20191 | 300 | 1279085 | 20100 | 200 | 30006 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 307 | 1281128 | 20293 | 202 | 30206 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1281110 | 20289 | 200 | 30203 | 200 | 60012 | 1 | 30000 | 100 |
40204 | 50033 | 20101 | 101 | 20000 | 100 | 20000 | 300 | 1279085 | 20100 | 200 | 30006 | 202 | 60392 | 2 | 30000 | 100 |
Result (median cycles for code, minus 2 chain cycles): 3.0033
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
40025 | 50528 | 20241 | 11 | 20230 | 10 | 20427 | 30 | 1282121 | 20295 | 20 | 30302 | 20 | 60382 | 1 | 30000 | 10 |
40024 | 50439 | 20195 | 13 | 20182 | 12 | 20336 | 30 | 1282111 | 20294 | 20 | 30291 | 20 | 60288 | 1 | 30000 | 10 |
40024 | 50149 | 20063 | 11 | 20052 | 10 | 20098 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1280623 | 20154 | 20 | 30149 | 20 | 60402 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
40024 | 50033 | 20011 | 11 | 20000 | 10 | 20000 | 30 | 1279085 | 20010 | 20 | 30000 | 20 | 60000 | 1 | 30000 | 10 |
Count: 8
Code:
pmull v0.8h, v8.8b, v9.8b eor v0.16b, v0.16b, v10.16b pmull v1.8h, v8.8b, v9.8b eor v1.16b, v1.16b, v10.16b pmull v2.8h, v8.8b, v9.8b eor v2.16b, v2.16b, v10.16b pmull v3.8h, v8.8b, v9.8b eor v3.16b, v3.16b, v10.16b pmull v4.8h, v8.8b, v9.8b eor v4.16b, v4.16b, v10.16b pmull v5.8h, v8.8b, v9.8b eor v5.16b, v5.16b, v10.16b pmull v6.8h, v8.8b, v9.8b eor v6.16b, v6.16b, v10.16b pmull v7.8h, v8.8b, v9.8b eor v7.16b, v7.16b, v10.16b
movi v8.16b, 9 movi v9.16b, 10 movi v10.16b, 11
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.5011
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
160204 | 40479 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40113 | 80110 | 101 | 80009 | 100 | 80013 | 300 | 320373 | 80174 | 200 | 160092 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40100 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40089 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40089 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40089 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320052 | 1 | 160000 | 100 |
160204 | 40100 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40089 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40089 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
160204 | 40089 | 80109 | 101 | 80008 | 100 | 80012 | 300 | 320052 | 80112 | 200 | 160024 | 200 | 320048 | 1 | 160000 | 100 |
Result (median cycles for code divided by count): 0.5052
retire uop (01) | cycle (02) | schedule uop (52) | schedule int uop (53) | schedule simd uop (54) | dispatch int uop (56) | dispatch simd uop (57) | int uops in schedulers (59) | ldst uops in schedulers (5b) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | map simd uop inputs (81) | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) |
160024 | 43845 | 80020 | 11 | 80009 | 10 | 80013 | 30 | 320052 | 80022 | 20 | 160024 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 41164 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40426 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320656 | 80132 | 20 | 160132 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40403 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 321312 | 80254 | 20 | 160264 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40401 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40424 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40401 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40417 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40417 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |
160024 | 40417 | 80011 | 11 | 80000 | 10 | 80000 | 30 | 320000 | 80010 | 20 | 160000 | 20 | 320000 | 1 | 160000 | 10 |