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:
fmov v0.8h, #1.0
(no loop instructions)
Retires: 1.000
Issues: 1.000
Integer unit issues: 0.000
Load/store unit issues: 0.000
SIMD/FP unit issues: 1.000
retire uop (01) | cycle (02) | 03 | 1e | 3f | 51 | schedule uop (52) | schedule simd uop (54) | dispatch simd uop (57) | ldst uops in schedulers (5b) | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map simd uop (7e) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst simd alu (9a) | l1d cache writeback (a8) | ac | cf | d5 | map dispatch bubble (d6) | e0 | ? simd retires (ee) | f5 | f6 | f7 | f8 | fd |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 3 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 0 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 3 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 0 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 3 | 73 | 0 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 3 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 1 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 0 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
1004 | 288 | 2 | 0 | 40 | 25 | 1000 | 1000 | 1000 | 7000 | 269 | 288 | 288 | 123 | 3 | 146 | 1000 | 1000 | 288 | 288 | 1 | 1 | 1001 | 1000 | 0 | 0 | 73 | 0 | 16 | 285 | 1000 | 289 | 289 | 289 | 289 | 289 |
Count: 8
Code:
fmov v0.8h, #1.0 fmov v1.8h, #1.0 fmov v2.8h, #1.0 fmov v3.8h, #1.0 fmov v4.8h, #1.0 fmov v5.8h, #1.0 fmov v6.8h, #1.0 fmov v7.8h, #1.0
(fused SUBS/B.cc loop)
Result (median cycles for code divided by count): 0.2505
retire uop (01) | cycle (02) | 03 | mmu table walk instruction (07) | mmu table walk data (08) | l2 tlb miss instruction (0a) | l2 tlb miss data (0b) | 18 | 19 | 1e | 3f | 51 | 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) | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | l1d tlb access (a0) | l1d tlb miss (a1) | l1d cache writeback (a8) | ac | branch cond mispred nonspec (c5) | branch mispred nonspec (cb) | cd | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80204 | 20067 | 161 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 31 | 25 | 80108 | 100 | 80008 | 100 | 80020 | 500 | 560128 | 0 | 20019 | 20038 | 20038 | 9977 | 6 | 9989 | 80120 | 200 | 80032 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 5120 | 3 | 16 | 1 | 1 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 31 | 25 | 80108 | 100 | 80008 | 100 | 80020 | 500 | 560128 | 0 | 20019 | 20038 | 20038 | 9977 | 6 | 9989 | 80120 | 200 | 80032 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 5120 | 0 | 16 | 0 | 1 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 411 | 25 | 80108 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20112 | 20112 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5112 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 42 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 5 | 16 | 3 | 3 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 92 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5110 | 1 | 16 | 1 | 3 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 1 | 0 | 1 | 0 | 0 | 0 | 3 | 42 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5112 | 2 | 16 | 1 | 3 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 160 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 42 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 3 | 0 | 0 | 0 | 5112 | 1 | 16 | 2 | 3 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 42 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5110 | 4 | 16 | 3 | 2 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 82 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5112 | 3 | 16 | 3 | 1 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
80204 | 20038 | 161 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 42 | 25 | 80100 | 100 | 80000 | 100 | 80000 | 500 | 560000 | 0 | 20019 | 20038 | 20038 | 9973 | 3 | 9996 | 80100 | 200 | 80000 | 200 | 20038 | 20038 | 1 | 1 | 80201 | 100 | 99 | 100 | 100 | 80000 | 100 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5112 | 1 | 16 | 2 | 1 | 20035 | 0 | 80000 | 100 | 20039 | 20039 | 20039 | 20039 | 20039 |
Result (median cycles for code divided by count): 0.2505
retire uop (01) | cycle (02) | 03 | mmu table walk data (08) | 09 | l2 tlb miss data (0b) | 18 | 19 | 1e | 1f | 3f | 51 | 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) | 5f | 60 | 69 | 6d | 6e | map stall dispatch (70) | map rewind (75) | map stall (76) | dispatch uop (78) | map int uop (7c) | map simd uop (7e) | map int uop inputs (7f) | 82 | 83 | flush restart other nonspec (84) | 85 | inst all (8c) | inst branch (8d) | inst branch taken (90) | inst branch cond (94) | inst int alu (97) | inst simd alu (9a) | 9f | l1d tlb access (a0) | l1d tlb miss (a1) | ld unit uop (a6) | l1d cache writeback (a8) | ac | c2 | cf | d5 | map dispatch bubble (d6) | dd | fetch restart (de) | e0 | ? int output thing (e9) | ? simd retires (ee) | ? int retires (ef) | f5 | f6 | f7 | f8 | fd |
80024 | 20039 | 161 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 39 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 1 | 0 | 12 | 88 | 39 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 3 | 16 | 4 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 160 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 39 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 165 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 3 | 0 | 5020 | 4 | 16 | 4 | 2 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 165 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 3 | 0 | 5020 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 39 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 3 | 0 | 5020 | 4 | 29 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 0 | 0 | 12 | 0 | 380 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 1 | 3 | 0 | 5020 | 3 | 16 | 3 | 2 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 60 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 0 | 0 | 0 | 5020 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 160 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 131 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 1 | 3 | 0 | 5037 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |
80024 | 20038 | 161 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 165 | 25 | 80010 | 10 | 80000 | 10 | 80000 | 50 | 560000 | 0 | 0 | 20019 | 20038 | 20038 | 9996 | 3 | 10018 | 80010 | 20 | 80000 | 20 | 20038 | 20038 | 1 | 1 | 80021 | 10 | 9 | 10 | 10 | 80000 | 10 | 0 | 0 | 0 | 1 | 0 | 0 | 5020 | 3 | 16 | 3 | 3 | 20035 | 0 | 80000 | 10 | 20039 | 20039 | 20039 | 20039 | 20039 |