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:
frsqrte v0.2d, v0.2d
movi v0.16b, 1 movi v1.16b, 2
(no loop instructions)
Retires: 1.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) |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
1004 | 4033 | 1001 | 1 | 1000 | 1000 | 50608 | 1000 | 1000 | 1000 | 1 | 1000 |
Code:
frsqrte v0.2d, v0.2d
movi v0.16b, 1 movi v1.16b, 2
(fused SUBS/B.cc loop)
Result (median cycles for code): 4.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) |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10006 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10032 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10032 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 300 | 509608 | 10100 | 200 | 10004 | 200 | 10004 | 1 | 10000 | 100 |
10204 | 40033 | 10101 | 101 | 10000 | 100 | 10000 | 307 | 509771 | 10119 | 202 | 10030 | 200 | 10004 | 1 | 10000 | 100 |
Result (median cycles for code): 4.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) |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10006 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
10024 | 40033 | 10021 | 21 | 10000 | 20 | 10000 | 70 | 509608 | 10020 | 20 | 10000 | 20 | 10000 | 11 | 10000 | 10 |
Count: 8
Code:
frsqrte v0.2d, v8.2d frsqrte v1.2d, v8.2d frsqrte v2.2d, v8.2d frsqrte v3.2d, v8.2d frsqrte v4.2d, v8.2d frsqrte v5.2d, v8.2d frsqrte v6.2d, v8.2d frsqrte v7.2d, v8.2d
movi v8.16b, 9
(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 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) |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999932 | 80122 | 200 | 80036 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80004 | 1 | 80000 | 100 |
80205 | 160070 | 80110 | 101 | 80009 | 100 | 80022 | 300 | 1999932 | 80122 | 200 | 80035 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 2000095 | 80144 | 200 | 80060 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80004 | 1 | 80000 | 100 |
80204 | 160035 | 80101 | 101 | 80000 | 100 | 80000 | 300 | 1999769 | 80100 | 200 | 80004 | 200 | 80036 | 1 | 80000 | 100 |
Result (median cycles for code divided by count): 2.0004
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) |
80025 | 160070 | 80030 | 21 | 80009 | 20 | 80022 | 0 | 70 | 0 | 1999767 | 80020 | 20 | 0 | 80004 | 20 | 0 | 80004 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80065 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999769 | 80020 | 20 | 0 | 80000 | 20 | 0 | 80000 | 11 | 0 | 80000 | 10 |
80024 | 160035 | 80021 | 21 | 80000 | 20 | 80000 | 0 | 70 | 0 | 1999932 | 80042 | 20 | 0 | 80032 | 2287 | 1414 | 80041 | 1105 | 631 | 80005 | 1295 |