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

MOV (from sp, 64-bit)

Test 1: uops

Code:

  mov x0, sp

(no loop instructions)

1000 unrolls and 1 iteration

Retires: 1.000

Issues: 0.500

Integer unit issues: 0.501

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)map int uop (7c)map int uop inputs (7f)? int output thing (e9)? int retires (ef)
10045445005004991497499100010005001000
10042915005004991500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000
10042805015015001500500100010005011000

Test 2: throughput

Count: 8

Code:

  mov x0, sp
  mov x1, sp
  mov x2, sp
  mov x3, sp
  mov x4, sp
  mov x5, sp
  mov x6, sp
  mov x7, sp

(fused SUBS/B.cc loop)

100 unrolls and 100 iterations

Result (median cycles for code divided by count): 0.2511

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)
80204202884001040010400131200394001380226802273991080100
80204201074001040010400131200364001280224802243990980100
80204200864000940009400121200364001280224802243990980100
80204200864000940009400121200364001280224802243990980100
80204200864000940009400121200364001280224802243990980100
80204200864000940009400121200394001380227802273991080100
80204200864000940009400121200364001280224802243990980100
80204200864000940009400121200364001280224802243990980100
80204200864000940009400121200364001280224802243990980100
80204200864000940009400121200364001280224802243990980100

1000 unrolls and 10 iterations

Result (median cycles for code divided by count): 0.2507

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)
80024219484002140021400241200534001180020800204000180010
80024201664001140011400101200454001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010
80024200544001140011400101200494001080020800204000180010