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:
autia 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:
autia 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) | 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 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530425 | 10211 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 10200 | 530325 | 10200 | 200 | 200 | 10101 | 10100 |
10204 | 60029 | 10201 | 10201 | 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) | 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) | ? int output thing (e9) | ? int retires (ef) |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10027 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529785 | 0 | 10020 | 20 | 0 | 20 | 10011 | 10010 |
10024 | 60029 | 10021 | 10021 | 10020 | 0 | 529885 | 0 | 10031 | 20 | 0 | 20 | 10011 | 10010 |
Chain cycles: 1
Code:
add x1, x0, x0 mov x0, 0 autia 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) | ? int output thing (e9) | ? ldst retires (ed) | ? simd retires (ee) | ? int retires (ef) |
30205 | 70058 | 20205 | 20205 | 20227 | 1429574 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20272 | 0 | 20109 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 0 | 20101 | 0 | 0 | 30100 |
30204 | 70029 | 20201 | 20201 | 20202 | 1429568 | 20202 | 10204 | 20208 | 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) | int uops in schedulers (59) | dispatch uop (78) | map int uop (7c) | map int uop inputs (7f) | ? int output thing (e9) | ? int retires (ef) |
30024 | 70029 | 20021 | 20021 | 20022 | 1429181 | 20020 | 10020 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20020 | 20011 | 30010 |
30025 | 70072 | 20025 | 20025 | 20046 | 1429191 | 20022 | 10024 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20060 | 20015 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429198 | 20020 | 10020 | 20020 | 20011 | 30010 |
30024 | 70029 | 20021 | 20021 | 20020 | 1429437 | 20047 | 10040 | 20020 | 20011 | 30010 |
Count: 8
Code:
autia x0, x8 autia x1, x8 autia x2, x8 autia x3, x8 autia x4, x8 autia x5, x8 autia x6, x8 autia 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) | 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) |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360430 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360566 | 80219 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80110 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
80204 | 160030 | 80201 | 80201 | 0 | 80202 | 1360481 | 80202 | 200 | 200 | 80101 | 80100 |
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) | 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) | ? int output thing (e9) | ? int retires (ef) |
80024 | 160030 | 80021 | 80021 | 80022 | 0 | 1359880 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1360144 | 0 | 80058 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1360026 | 0 | 80039 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |
80024 | 160030 | 80021 | 80021 | 80020 | 0 | 1359931 | 0 | 80020 | 20 | 0 | 20 | 80011 | 80010 |