xref: /linux/rust/zerocopy/benches/try_read_from_bytes.x86-64.mca (revision b079329b8691768962aa514b8f8c9077ca352459)
1*c3739801SMiguel OjedaIterations:        100
2*c3739801SMiguel OjedaInstructions:      2000
3*c3739801SMiguel OjedaTotal Cycles:      608
4*c3739801SMiguel OjedaTotal uOps:        2000
5*c3739801SMiguel Ojeda
6*c3739801SMiguel OjedaDispatch Width:    4
7*c3739801SMiguel OjedauOps Per Cycle:    3.29
8*c3739801SMiguel OjedaIPC:               3.29
9*c3739801SMiguel OjedaBlock RThroughput: 5.0
10*c3739801SMiguel Ojeda
11*c3739801SMiguel Ojeda
12*c3739801SMiguel OjedaInstruction Info:
13*c3739801SMiguel Ojeda[1]: #uOps
14*c3739801SMiguel Ojeda[2]: Latency
15*c3739801SMiguel Ojeda[3]: RThroughput
16*c3739801SMiguel Ojeda[4]: MayLoad
17*c3739801SMiguel Ojeda[5]: MayStore
18*c3739801SMiguel Ojeda[6]: HasSideEffects (U)
19*c3739801SMiguel Ojeda
20*c3739801SMiguel Ojeda[1]    [2]    [3]    [4]    [5]    [6]    Instructions:
21*c3739801SMiguel Ojeda 1      1     0.33                        mov	ax, -16191
22*c3739801SMiguel Ojeda 1      1     0.33                        cmp	rsi, 6
23*c3739801SMiguel Ojeda 1      1     1.00                        jne	.LBB5_1
24*c3739801SMiguel Ojeda 1      5     0.50    *                   mov	ecx, dword ptr [rdi]
25*c3739801SMiguel Ojeda 1      1     0.33                        movzx	edx, cx
26*c3739801SMiguel Ojeda 1      1     0.33                        cmp	edx, 49344
27*c3739801SMiguel Ojeda 1      1     1.00                        jne	.LBB5_4
28*c3739801SMiguel Ojeda 1      5     0.50    *                   movzx	eax, word ptr [rdi + 4]
29*c3739801SMiguel Ojeda 1      1     0.50                        shl	rax, 32
30*c3739801SMiguel Ojeda 1      1     0.33                        or	rcx, rax
31*c3739801SMiguel Ojeda 1      1     0.50                        shr	rcx, 16
32*c3739801SMiguel Ojeda 1      1     0.33                        mov	ax, -16192
33*c3739801SMiguel Ojeda 1      1     0.50                        shl	rcx, 16
34*c3739801SMiguel Ojeda 1      1     0.33                        movzx	eax, ax
35*c3739801SMiguel Ojeda 1      1     0.33                        or	rax, rcx
36*c3739801SMiguel Ojeda 1      1     1.00                  U     ret
37*c3739801SMiguel Ojeda 1      1     0.50                        shl	rcx, 16
38*c3739801SMiguel Ojeda 1      1     0.33                        movzx	eax, ax
39*c3739801SMiguel Ojeda 1      1     0.33                        or	rax, rcx
40*c3739801SMiguel Ojeda 1      1     1.00                  U     ret
41*c3739801SMiguel Ojeda
42*c3739801SMiguel Ojeda
43*c3739801SMiguel OjedaResources:
44*c3739801SMiguel Ojeda[0]   - SBDivider
45*c3739801SMiguel Ojeda[1]   - SBFPDivider
46*c3739801SMiguel Ojeda[2]   - SBPort0
47*c3739801SMiguel Ojeda[3]   - SBPort1
48*c3739801SMiguel Ojeda[4]   - SBPort4
49*c3739801SMiguel Ojeda[5]   - SBPort5
50*c3739801SMiguel Ojeda[6.0] - SBPort23
51*c3739801SMiguel Ojeda[6.1] - SBPort23
52*c3739801SMiguel Ojeda
53*c3739801SMiguel Ojeda
54*c3739801SMiguel OjedaResource pressure per iteration:
55*c3739801SMiguel Ojeda[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]
56*c3739801SMiguel Ojeda -      -     5.99   5.99    -     6.02   1.00   1.00
57*c3739801SMiguel Ojeda
58*c3739801SMiguel OjedaResource pressure by instruction:
59*c3739801SMiguel Ojeda[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
60*c3739801SMiguel Ojeda -      -      -     0.99    -     0.01    -      -     mov	ax, -16191
61*c3739801SMiguel Ojeda -      -      -     0.01    -     0.99    -      -     cmp	rsi, 6
62*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     jne	.LBB5_1
63*c3739801SMiguel Ojeda -      -      -      -      -      -      -     1.00   mov	ecx, dword ptr [rdi]
64*c3739801SMiguel Ojeda -      -     0.98    -      -     0.02    -      -     movzx	edx, cx
65*c3739801SMiguel Ojeda -      -     0.99   0.01    -      -      -      -     cmp	edx, 49344
66*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     jne	.LBB5_4
67*c3739801SMiguel Ojeda -      -      -      -      -      -     1.00    -     movzx	eax, word ptr [rdi + 4]
68*c3739801SMiguel Ojeda -      -     0.01    -      -     0.99    -      -     shl	rax, 32
69*c3739801SMiguel Ojeda -      -     0.02   0.98    -      -      -      -     or	rcx, rax
70*c3739801SMiguel Ojeda -      -     1.00    -      -      -      -      -     shr	rcx, 16
71*c3739801SMiguel Ojeda -      -     0.99   0.01    -      -      -      -     mov	ax, -16192
72*c3739801SMiguel Ojeda -      -     1.00    -      -      -      -      -     shl	rcx, 16
73*c3739801SMiguel Ojeda -      -      -     1.00    -      -      -      -     movzx	eax, ax
74*c3739801SMiguel Ojeda -      -      -     1.00    -      -      -      -     or	rax, rcx
75*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ret
76*c3739801SMiguel Ojeda -      -     1.00    -      -      -      -      -     shl	rcx, 16
77*c3739801SMiguel Ojeda -      -      -     1.00    -      -      -      -     movzx	eax, ax
78*c3739801SMiguel Ojeda -      -      -     0.99    -     0.01    -      -     or	rax, rcx
79*c3739801SMiguel Ojeda -      -      -      -      -     1.00    -      -     ret
80