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:
autdb x0, x1
mov x0, 1
(requires arm64e binary, with arm64e_preview_abi boot arg)
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 1.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) | ? int output thing (e9) | ? int retires (ef) |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
1004 | 6029 | 1001 | 1001 | 1000 | 52725 | 1000 | 1001 | 1000 |
Code:
autdb x0, x1
mov x0, 1
(requires arm64e binary, with arm64e_preview_abi boot arg)
(fused SUBS/B.cc loop)
Result (median cycles for code): 6.0029
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 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 0 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
Result (median cycles for code): 6.0029
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) |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10025 | 60058 | 10024 | 10024 | 0 | 10031 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 0 | 10020 | 529785 | 10020 | 20 | 20 | 10011 | 10010 |
Chain cycles: 1
Code:
add x1, x0, x0 mov x0, 0 autdb x0, x1
mov x0, 1
(requires arm64e binary, with arm64e_preview_abi boot arg)
(fused SUBS/B.cc loop)
Result (median cycles for code, minus 1 chain cycle): 6.0029
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 | 70029 | 20201 | 20201 | 20202 | 1429562 | 20202 | 10204 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70129 | 20213 | 20213 | 20254 | 1429568 | 20202 | 10204 | 20240 | 0 | 0 | 20107 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429967 | 20228 | 10220 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70079 | 20208 | 20208 | 20229 | 1429568 | 20202 | 10204 | 20338 | 0 | 0 | 20125 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1430219 | 20256 | 10239 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70080 | 20207 | 20207 | 20229 | 1429568 | 20202 | 10204 | 20434 | 0 | 0 | 20143 | 0 | 0 | 30100 |
30204 | 71230 | 20351 | 20351 | 20832 | 1429568 | 20202 | 10204 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 0 | 20101 | 0 | 0 | 30100 |
Result (median cycles for code, minus 1 chain cycle): 6.0029
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) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
30024 | 70029 | 20021 | 20021 | 20022 | 0 | 1429189 | 0 | 0 | 20022 | 10024 | 0 | 0 | 20060 | 0 | 20015 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20060 | 0 | 20016 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 0 | 1429198 | 0 | 0 | 20020 | 10020 | 0 | 0 | 20020 | 0 | 20011 | 0 | 0 | 30010 |
Count: 8
Code:
autdb x0, x8 autdb x1, x8 autdb x2, x8 autdb x3, x8 autdb x4, x8 autdb x5, x8 autdb x6, x8 autdb x7, x8
(requires arm64e binary, with arm64e_preview_abi boot arg)
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 2.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) | map ldst uop inputs (80) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
80204 | 160030 | 80201 | 80201 | 80202 | 1360379 | 80202 | 200 | 504 | 233 | 80262 | 118 | 1 | 80317 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360478 | 80220 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80109 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360580 | 80220 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
80204 | 160030 | 80201 | 80201 | 80202 | 1360481 | 80202 | 200 | 200 | 0 | 80101 | 0 | 0 | 80100 |
Result (median cycles for code divided by count): 2.0004
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) |
80024 | 160030 | 80021 | 80021 | 0 | 80022 | 1359839 | 80022 | 20 | 20 | 80021 | 80010 |
80024 | 160030 | 80021 | 80021 | 0 | 80020 | 1359931 | 80020 | 20 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 0 | 80020 | 1359931 | 80020 | 20 | 20 | 80021 | 80010 |
80024 | 160030 | 80021 | 80021 | 0 | 80020 | 1359931 | 80020 | 20 | 20 | 80011 | 80010 |
80025 | 160064 | 80030 | 80030 | 0 | 80040 | 1359931 | 80020 | 20 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 0 | 80020 | 1359931 | 80020 | 20 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 0 | 80020 | 1359931 | 80020 | 20 | 20 | 80011 | 80010 |
80024 | 160078 | 80034 | 80034 | 0 | 80039 | 1359931 | 80020 | 20 | 20 | 80021 | 80010 |
80024 | 160030 | 80021 | 80021 | 0 | 80020 | 1359931 | 80020 | 20 | 20 | 80011 | 80010 |
80502 | 162665 | 80434 | 80293 | 141 | 80256 | 1359890 | 80022 | 20 | 20 | 80011 | 80010 |