| Loop Id: 100 | Module: attention-clang-znver5-512 | Source: random.tcc:401-3367 [...] | Coverage: 0.11% |
|---|
| Loop Id: 100 | Module: attention-clang-znver5-512 | Source: random.tcc:401-3367 [...] | Coverage: 0.11% |
|---|
0x4b30 MOV %R13,%RCX |
0x4b33 INC %R13 |
0x4b36 MOV $0x200b,%EDX |
0x4b3b MOV %R13,0x19b8(%RSP) |
0x4b43 MOV 0x638(%RSP,%RCX,8),%RCX |
0x4b4b BEXTR %RDX,%RCX,%RDX |
0x4b50 XOR %RCX,%RDX |
0x4b53 MOV %EDX,%ECX |
0x4b55 SAL $0x7,%ECX |
0x4b58 AND $-0x62d3a980,%ECX |
0x4b5e XOR %RDX,%RCX |
0x4b61 MOV %ECX,%EDX |
0x4b63 SAL $0xf,%EDX |
0x4b66 AND $-0x103a0000,%EDX |
0x4b6c XOR %RCX,%RDX |
0x4b6f MOV %RDX,%RCX |
0x4b72 SHR $0x12,%RCX |
0x4b76 XOR %RDX,%RCX |
0x4b79 DEC %RAX |
0x4b7c VCVTUSI2SS %RCX,%XMM15,%XMM2 |
0x4b82 VFMADD231SS %XMM2,%XMM1,%XMM0 |
0x4b87 VMULSS 0x4479(%RIP),%XMM1,%XMM1 |
0x4b8f JE 4fb0 |
0x4b95 CMP $0x270,%R13 |
0x4b9c JB 4b30 |
0x4b9e VPBROADCASTQ 0x4498(%RIP),%ZMM14 |
0x4ba8 VPBROADCASTQ 0x4496(%RIP),%ZMM15 |
0x4bb2 VPBROADCASTQ 0x4494(%RIP),%ZMM16 |
0x4bbc VPBROADCASTQ 0x4492(%RIP),%ZMM17 |
0x4bc6 VPBROADCASTQ %RBX,%ZMM2 |
0x4bcc XOR %ECX,%ECX |
0x4bce XCHG %AX,%AX |
(101) 0x4bd0 VMOVDQU64 0x640(%RSP,%RCX,8),%ZMM3 |
(101) 0x4bd8 VMOVDQU64 0x680(%RSP,%RCX,8),%ZMM4 |
(101) 0x4be0 VMOVDQU64 0x6c0(%RSP,%RCX,8),%ZMM5 |
(101) 0x4be8 VALIGNQ $0x7,%ZMM2,%ZMM3,%ZMM6 |
(101) 0x4bef VMOVDQU64 0x700(%RSP,%RCX,8),%ZMM2 |
(101) 0x4bf7 VALIGNQ $0x7,%ZMM3,%ZMM4,%ZMM7 |
(101) 0x4bfe VALIGNQ $0x7,%ZMM4,%ZMM5,%ZMM8 |
(101) 0x4c05 VPANDQ %ZMM15,%ZMM3,%ZMM10 |
(101) 0x4c0b VPANDQ %ZMM15,%ZMM4,%ZMM11 |
(101) 0x4c11 VPANDQ %ZMM15,%ZMM5,%ZMM12 |
(101) 0x4c17 VPTESTMQ %ZMM16,%ZMM3,%K1 |
(101) 0x4c1d VPTESTMQ %ZMM16,%ZMM4,%K2 |
(101) 0x4c23 VPTESTMQ %ZMM16,%ZMM5,%K3 |
(101) 0x4c29 VPTERNLOGQ $-0x8,%ZMM14,%ZMM6,%ZMM10 |
(101) 0x4c30 VPTERNLOGQ $-0x8,%ZMM14,%ZMM7,%ZMM11 |
(101) 0x4c37 VPTERNLOGQ $-0x8,%ZMM14,%ZMM8,%ZMM12 |
(101) 0x4c3e VPSRLQ $0x1,%ZMM10,%ZMM6 |
(101) 0x4c45 VPSRLQ $0x1,%ZMM11,%ZMM7 |
(101) 0x4c4c VPSRLQ $0x1,%ZMM12,%ZMM8 |
(101) 0x4c53 VPXORQ 0x12a0(%RSP,%RCX,8),%ZMM6,%ZMM6 |
(101) 0x4c5e VPXORQ 0x12e0(%RSP,%RCX,8),%ZMM7,%ZMM7 |
(101) 0x4c69 VPXORQ 0x1320(%RSP,%RCX,8),%ZMM8,%ZMM8 |
(101) 0x4c74 VALIGNQ $0x7,%ZMM5,%ZMM2,%ZMM9 |
(101) 0x4c7b VPANDQ %ZMM15,%ZMM2,%ZMM13 |
(101) 0x4c81 VPTESTMQ %ZMM16,%ZMM2,%K4 |
(101) 0x4c87 VPTERNLOGQ $-0x8,%ZMM14,%ZMM9,%ZMM13 |
(101) 0x4c8e VPSRLQ $0x1,%ZMM13,%ZMM9 |
(101) 0x4c95 VPXORQ 0x1360(%RSP,%RCX,8),%ZMM9,%ZMM9 |
(101) 0x4ca0 VPXORQ %ZMM17,%ZMM6,%ZMM6{%K1} |
(101) 0x4ca6 VPXORQ %ZMM17,%ZMM7,%ZMM7{%K2} |
(101) 0x4cac VPXORQ %ZMM17,%ZMM8,%ZMM8{%K3} |
(101) 0x4cb2 VMOVDQU64 %ZMM6,0x638(%RSP,%RCX,8) |
(101) 0x4cbd VMOVDQU64 %ZMM7,0x678(%RSP,%RCX,8) |
(101) 0x4cc8 VMOVDQU64 %ZMM8,0x6b8(%RSP,%RCX,8) |
(101) 0x4cd3 VPXORQ %ZMM17,%ZMM9,%ZMM9{%K4} |
(101) 0x4cd9 VMOVDQU64 %ZMM9,0x6f8(%RSP,%RCX,8) |
(101) 0x4ce4 ADD $0x20,%RCX |
(101) 0x4ce8 CMP $0xe0,%RCX |
(101) 0x4cef JNE 4bd0 |
0x4cf5 MOV 0xd40(%RSP),%RDX |
0x4cfd VEXTRACTI32X4 $0x3,%ZMM2,%XMM2 |
0x4d04 MOV 0xd48(%RSP),%RCX |
0x4d0c VPBROADCASTQ 0x432b(%RIP),%XMM8 |
0x4d15 VPBROADCASTQ 0x432a(%RIP),%XMM9 |
0x4d1e VPBROADCASTQ 0x4329(%RIP),%XMM10 |
0x4d27 VPBROADCASTQ 0x4328(%RIP),%XMM11 |
0x4d30 VPEXTRQ $0x1,%XMM2,%RSI |
0x4d36 AND $-0x80000000,%RSI |
0x4d3d MOV %EDX,%EDI |
0x4d3f AND $0x7ffffffe,%EDI |
0x4d45 OR %RSI,%RDI |
0x4d48 MOV %EDX,%ESI |
0x4d4a AND $0x1,%ESI |
0x4d4d AND $-0x80000000,%RDX |
0x4d54 SHR $0x1,%RDI |
0x4d57 XOR 0x19a0(%RSP),%RDI |
0x4d5f NEG %ESI |
0x4d61 AND %R12D,%ESI |
0x4d64 XOR %RDI,%RSI |
0x4d67 MOV %RSI,0xd38(%RSP) |
0x4d6f MOV %ECX,%ESI |
0x4d71 AND $0x7ffffffe,%ESI |
0x4d77 OR %RDX,%RSI |
0x4d7a MOV %ECX,%EDX |
0x4d7c AND $0x1,%EDX |
0x4d7f AND $-0x80000000,%RCX |
0x4d86 SHR $0x1,%RSI |
0x4d89 XOR 0x19a8(%RSP),%RSI |
0x4d91 NEG %EDX |
0x4d93 AND %R12D,%EDX |
0x4d96 XOR %RSI,%RDX |
0x4d99 MOV %RDX,0xd40(%RSP) |
0x4da1 MOV 0xd50(%RSP),%RDX |
0x4da9 MOV %EDX,%ESI |
0x4dab VPBROADCASTQ %RDX,%XMM2 |
0x4db1 AND $0x7ffffffe,%EDX |
0x4db7 AND $0x1,%ESI |
0x4dba OR %RCX,%RDX |
0x4dbd NEG %ESI |
0x4dbf MOV $0xee,%ECX |
0x4dc4 SHR $0x1,%RDX |
0x4dc7 XOR 0x19b0(%RSP),%RDX |
0x4dcf AND %R12D,%ESI |
0x4dd2 XOR %RDX,%RSI |
0x4dd5 MOV %RSI,0xd48(%RSP) |
0x4ddd NOPL (%RAX) |
(102) 0x4de0 VMOVDQU 0x5e8(%RSP,%RCX,8),%XMM3 |
(102) 0x4de9 VMOVDQU 0x5f8(%RSP,%RCX,8),%XMM4 |
(102) 0x4df2 VMOVDQU 0x608(%RSP,%RCX,8),%XMM5 |
(102) 0x4dfb VMOVDQU 0x618(%RSP,%RCX,8),%XMM6 |
(102) 0x4e04 VPALIGNR $0x8,%XMM2,%XMM3,%XMM2 |
(102) 0x4e0a VPAND %XMM3,%XMM9,%XMM7 |
(102) 0x4e0e VPTESTMQ %XMM10,%XMM3,%K1 |
(102) 0x4e14 VPTERNLOGQ $-0x8,%XMM8,%XMM2,%XMM7 |
(102) 0x4e1b VPSRLQ $0x1,%XMM7,%XMM2 |
(102) 0x4e20 VPXOR -0x138(%RSP,%RCX,8),%XMM2,%XMM2 |
(102) 0x4e29 VPXORQ %XMM11,%XMM2,%XMM2{%K1} |
(102) 0x4e2f VPTESTMQ %XMM10,%XMM4,%K1 |
(102) 0x4e35 VMOVDQU %XMM2,0x5e0(%RSP,%RCX,8) |
(102) 0x4e3e VPALIGNR $0x8,%XMM3,%XMM4,%XMM2 |
(102) 0x4e44 VPAND %XMM4,%XMM9,%XMM3 |
(102) 0x4e48 VPTERNLOGQ $-0x8,%XMM8,%XMM2,%XMM3 |
(102) 0x4e4f VPSRLQ $0x1,%XMM3,%XMM2 |
(102) 0x4e54 VPXOR -0x128(%RSP,%RCX,8),%XMM2,%XMM2 |
(102) 0x4e5d VPAND %XMM5,%XMM9,%XMM3 |
(102) 0x4e61 VPXORQ %XMM11,%XMM2,%XMM2{%K1} |
(102) 0x4e67 VPTESTMQ %XMM10,%XMM5,%K1 |
(102) 0x4e6d VMOVDQU %XMM2,0x5f0(%RSP,%RCX,8) |
(102) 0x4e76 VPALIGNR $0x8,%XMM4,%XMM5,%XMM2 |
(102) 0x4e7c VPTERNLOGQ $-0x8,%XMM8,%XMM2,%XMM3 |
(102) 0x4e83 VPSRLQ $0x1,%XMM3,%XMM2 |
(102) 0x4e88 VPXOR -0x118(%RSP,%RCX,8),%XMM2,%XMM2 |
(102) 0x4e91 VPAND %XMM6,%XMM9,%XMM3 |
(102) 0x4e95 VPXORQ %XMM11,%XMM2,%XMM2{%K1} |
(102) 0x4e9b VPTESTMQ %XMM10,%XMM6,%K1 |
(102) 0x4ea1 VMOVDQU %XMM2,0x600(%RSP,%RCX,8) |
(102) 0x4eaa VPALIGNR $0x8,%XMM5,%XMM6,%XMM2 |
(102) 0x4eb0 VPTERNLOGQ $-0x8,%XMM8,%XMM2,%XMM3 |
(102) 0x4eb7 VPSRLQ $0x1,%XMM3,%XMM2 |
(102) 0x4ebc VPXOR -0x108(%RSP,%RCX,8),%XMM2,%XMM2 |
(102) 0x4ec5 VPXORQ %XMM11,%XMM2,%XMM2{%K1} |
(102) 0x4ecb VMOVDQU %XMM2,0x610(%RSP,%RCX,8) |
(102) 0x4ed4 VMOVDQU 0x628(%RSP,%RCX,8),%XMM3 |
(102) 0x4edd VPALIGNR $0x8,%XMM6,%XMM3,%XMM2 |
(102) 0x4ee3 VPAND %XMM3,%XMM9,%XMM4 |
(102) 0x4ee7 VPTESTMQ %XMM10,%XMM3,%K1 |
(102) 0x4eed VPTERNLOGQ $-0x8,%XMM8,%XMM2,%XMM4 |
(102) 0x4ef4 VPSRLQ $0x1,%XMM4,%XMM2 |
(102) 0x4ef9 VPXOR -0xf8(%RSP,%RCX,8),%XMM2,%XMM2 |
(102) 0x4f02 VPXORQ %XMM11,%XMM2,%XMM2{%K1} |
(102) 0x4f08 VMOVDQU %XMM2,0x620(%RSP,%RCX,8) |
(102) 0x4f11 VMOVDQU 0x638(%RSP,%RCX,8),%XMM2 |
(102) 0x4f1a VPALIGNR $0x8,%XMM3,%XMM2,%XMM3 |
(102) 0x4f20 VPAND %XMM2,%XMM9,%XMM4 |
(102) 0x4f24 VPTESTMQ %XMM10,%XMM2,%K1 |
(102) 0x4f2a VPTERNLOGQ $-0x8,%XMM8,%XMM3,%XMM4 |
(102) 0x4f31 VPSRLQ $0x1,%XMM4,%XMM3 |
(102) 0x4f36 VPXOR -0xe8(%RSP,%RCX,8),%XMM3,%XMM3 |
(102) 0x4f3f VPXORQ %XMM11,%XMM3,%XMM3{%K1} |
(102) 0x4f45 VMOVDQU %XMM3,0x630(%RSP,%RCX,8) |
(102) 0x4f4e ADD $0xc,%RCX |
(102) 0x4f52 CMP $0x27a,%RCX |
(102) 0x4f59 JNE 4de0 |
0x4f5f MOV 0x19b0(%RSP),%RCX |
0x4f67 MOV 0x638(%RSP),%RBX |
0x4f6f XOR %R13D,%R13D |
0x4f72 MOV %EBX,%EDX |
0x4f74 AND %R14,%RCX |
0x4f77 AND $0x7ffffffe,%EDX |
0x4f7d OR %RCX,%RDX |
0x4f80 MOV %EBX,%ECX |
0x4f82 AND $0x1,%ECX |
0x4f85 SHR $0x1,%RDX |
0x4f88 XOR 0x1298(%RSP),%RDX |
0x4f90 NEG %ECX |
0x4f92 AND %R12D,%ECX |
0x4f95 XOR %RDX,%RCX |
0x4f98 MOV %RCX,0x19b0(%RSP) |
0x4fa0 JMP 4b30 |
/usr/lib/gcc/x86_64-redhat-linux/11/../../../../include/c++/11/bits/random.tcc: 401 - 3367 |
-------------------------------------------------------------------------------- |
401: for (size_t __k = 0; __k < (__n - __m); ++__k) |
402: { |
403: _UIntType __y = ((_M_x[__k] & __upper_mask) |
404: | (_M_x[__k + 1] & __lower_mask)); |
405: _M_x[__k] = (_M_x[__k + __m] ^ (__y >> 1) |
406: ^ ((__y & 0x01) ? __a : 0)); |
407: } |
408: |
409: for (size_t __k = (__n - __m); __k < (__n - 1); ++__k) |
410: { |
411: _UIntType __y = ((_M_x[__k] & __upper_mask) |
412: | (_M_x[__k + 1] & __lower_mask)); |
413: _M_x[__k] = (_M_x[__k + (__m - __n)] ^ (__y >> 1) |
414: ^ ((__y & 0x01) ? __a : 0)); |
415: } |
416: |
417: _UIntType __y = ((_M_x[__n - 1] & __upper_mask) |
418: | (_M_x[0] & __lower_mask)); |
419: _M_x[__n - 1] = (_M_x[__m - 1] ^ (__y >> 1) |
420: ^ ((__y & 0x01) ? __a : 0)); |
[...] |
455: if (_M_p >= state_size) |
456: _M_gen_rand(); |
457: |
458: // Calculate o(x(i)). |
459: result_type __z = _M_x[_M_p++]; |
460: __z ^= (__z >> __u) & __d; |
461: __z ^= (__z << __s) & __b; |
462: __z ^= (__z << __t) & __c; |
463: __z ^= (__z >> __l); |
[...] |
3364: for (size_t __k = __m; __k != 0; --__k) |
3365: { |
3366: __sum += _RealType(__urng() - __urng.min()) * __tmp; |
3367: __tmp *= __r; |
| Coverage (%) | Name | Source Location | Module |
|---|
| min | med | avg | max |
|---|---|---|---|
| Percentile Index | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value |
| min | med | avg | max |
|---|---|---|---|
| Percentile Index | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
|---|---|---|---|---|---|---|---|---|---|---|
| Value |
| Path / |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 1.93 |
| CQA speedup if FP arith vectorized | 2.04 |
| CQA speedup if fully vectorized | 12.09 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 1.35 |
| Bottlenecks | |
| Function | main |
| Source | random.tcc:401-406,random.tcc:409-409,random.tcc:413-413,random.tcc:417-420,random.tcc:455-455,random.tcc:459-463,random.tcc:3364-3367 |
| Source loop unroll info | NA |
| Source loop unroll confidence level | NA |
| Unroll/vectorization loop type | NA |
| Unroll factor | NA |
| CQA cycles | 8.19 |
| CQA cycles if no scalar integer | 4.25 |
| CQA cycles if FP arith vectorized | 4.01 |
| CQA cycles if fully vectorized | 0.68 |
| Front-end cycles | 7.75 |
| P0 cycles | 5.75 |
| P1 cycles | 5.75 |
| P2 cycles | 5.75 |
| P3 cycles | 5.75 |
| P4 cycles | 5.75 |
| P5 cycles | 5.75 |
| P6 cycles | 3.38 |
| P7 cycles | 3.38 |
| P8 cycles | 3.38 |
| P9 cycles | 3.38 |
| P10 cycles | 2.13 |
| P11 cycles | 2.75 |
| P12 cycles | 2.25 |
| P13 cycles | 1.88 |
| P14 cycles | 0.25 |
| P15 cycles | 0.25 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | 4 |
| FE+BE cycles (UFS) | NA |
| Stall cycles (UFS) | NA |
| Nb insns | 60.00 |
| Nb uops | 62.00 |
| Nb loads | 10.50 |
| Nb stores | 3.00 |
| Nb stack references | 5.50 |
| FLOP/cycle | 0.37 |
| Nb FLOP add-sub | 0.00 |
| Nb FLOP mul | 1.00 |
| Nb FLOP fma | 1.00 |
| Nb FLOP div | 0.00 |
| Nb FLOP rcp | 0.00 |
| Nb FLOP sqrt | 0.00 |
| Nb FLOP rsqrt | 0.00 |
| Bytes/cycle | 10.10 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 80.00 |
| Bytes stored | 24.00 |
| Stride 0 | 0.00 |
| Stride 1 | 0.00 |
| Stride n | 0.00 |
| Stride unknown | 2.00 |
| Stride indirect | 0.00 |
| Vectorization ratio all | 0.77 |
| Vectorization ratio load | 0.00 |
| Vectorization ratio store | 0.00 |
| Vectorization ratio mul | 0.00 |
| Vectorization ratio add_sub | 0.00 |
| Vectorization ratio fma | 0.00 |
| Vectorization ratio div_sqrt | NA |
| Vectorization ratio other | 0.91 |
| Vector-efficiency ratio all | 9.69 |
| Vector-efficiency ratio load | 9.18 |
| Vector-efficiency ratio store | 12.50 |
| Vector-efficiency ratio mul | 6.25 |
| Vector-efficiency ratio add_sub | 12.50 |
| Vector-efficiency ratio fma | 6.25 |
| Vector-efficiency ratio div_sqrt | NA |
| Vector-efficiency ratio other | 9.52 |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 2.75 |
| CQA speedup if FP arith vectorized | 1.78 |
| CQA speedup if fully vectorized | 11.52 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 1.38 |
| Bottlenecks | micro-operation queue, |
| Function | main |
| Source | random.tcc:401-406,random.tcc:409-409,random.tcc:413-413,random.tcc:417-420,random.tcc:455-455,random.tcc:459-463,random.tcc:3364-3367 |
| Source loop unroll info | NA |
| Source loop unroll confidence level | NA |
| Unroll/vectorization loop type | NA |
| Unroll factor | NA |
| CQA cycles | 12.38 |
| CQA cycles if no scalar integer | 4.50 |
| CQA cycles if FP arith vectorized | 6.94 |
| CQA cycles if fully vectorized | 1.07 |
| Front-end cycles | 12.38 |
| P0 cycles | 9.00 |
| P1 cycles | 9.00 |
| P2 cycles | 9.00 |
| P3 cycles | 9.00 |
| P4 cycles | 9.00 |
| P5 cycles | 9.00 |
| P6 cycles | 6.00 |
| P7 cycles | 6.00 |
| P8 cycles | 6.00 |
| P9 cycles | 6.00 |
| P10 cycles | 3.25 |
| P11 cycles | 4.50 |
| P12 cycles | 4.00 |
| P13 cycles | 3.25 |
| P14 cycles | 0.50 |
| P15 cycles | 0.50 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | 4 |
| FE+BE cycles (UFS) | NA |
| Stall cycles (UFS) | NA |
| Nb insns | 95.00 |
| Nb uops | 99.00 |
| Nb loads | 19.00 |
| Nb stores | 5.00 |
| Nb stack references | 10.00 |
| FLOP/cycle | 0.24 |
| Nb FLOP add-sub | 0.00 |
| Nb FLOP mul | 1.00 |
| Nb FLOP fma | 1.00 |
| Nb FLOP div | 0.00 |
| Nb FLOP rcp | 0.00 |
| Nb FLOP sqrt | 0.00 |
| Nb FLOP rsqrt | 0.00 |
| Bytes/cycle | 15.19 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 148.00 |
| Bytes stored | 40.00 |
| Stride 0 | 0.00 |
| Stride 1 | 0.00 |
| Stride n | 0.00 |
| Stride unknown | 2.00 |
| Stride indirect | 0.00 |
| Vectorization ratio all | 1.54 |
| Vectorization ratio load | 0.00 |
| Vectorization ratio store | 0.00 |
| Vectorization ratio mul | 0.00 |
| Vectorization ratio add_sub | NA |
| Vectorization ratio fma | 0.00 |
| Vectorization ratio div_sqrt | NA |
| Vectorization ratio other | 1.82 |
| Vector-efficiency ratio all | 10.29 |
| Vector-efficiency ratio load | 12.11 |
| Vector-efficiency ratio store | 12.50 |
| Vector-efficiency ratio mul | 6.25 |
| Vector-efficiency ratio add_sub | NA |
| Vector-efficiency ratio fma | 6.25 |
| Vector-efficiency ratio div_sqrt | NA |
| Vector-efficiency ratio other | 10.11 |
| Metric | Value |
|---|---|
| CQA speedup if no scalar integer | 1.00 |
| CQA speedup if FP arith vectorized | 3.72 |
| CQA speedup if fully vectorized | 14.29 |
| CQA speedup if no inter-iteration dependency | NA |
| CQA speedup if next bottleneck killed | 1.28 |
| Bottlenecks | |
| Function | main |
| Source | random.tcc:401-406,random.tcc:409-409,random.tcc:413-413,random.tcc:417-420,random.tcc:455-455,random.tcc:459-463,random.tcc:3364-3367 |
| Source loop unroll info | NA |
| Source loop unroll confidence level | NA |
| Unroll/vectorization loop type | NA |
| Unroll factor | NA |
| CQA cycles | 4.00 |
| CQA cycles if no scalar integer | 4.00 |
| CQA cycles if FP arith vectorized | 1.07 |
| CQA cycles if fully vectorized | 0.28 |
| Front-end cycles | 3.13 |
| P0 cycles | 2.50 |
| P1 cycles | 2.50 |
| P2 cycles | 2.50 |
| P3 cycles | 2.50 |
| P4 cycles | 2.50 |
| P5 cycles | 2.50 |
| P6 cycles | 0.75 |
| P7 cycles | 0.75 |
| P8 cycles | 0.75 |
| P9 cycles | 0.75 |
| P10 cycles | 1.00 |
| P11 cycles | 1.00 |
| P12 cycles | 0.50 |
| P13 cycles | 0.50 |
| P14 cycles | 0.00 |
| P15 cycles | 0.00 |
| DIV/SQRT cycles | 0.00 |
| Inter-iter dependencies cycles | 4 |
| FE+BE cycles (UFS) | NA |
| Stall cycles (UFS) | NA |
| Nb insns | 25.00 |
| Nb uops | 25.00 |
| Nb loads | 2.00 |
| Nb stores | 1.00 |
| Nb stack references | 1.00 |
| FLOP/cycle | 0.75 |
| Nb FLOP add-sub | 0.00 |
| Nb FLOP mul | 1.00 |
| Nb FLOP fma | 1.00 |
| Nb FLOP div | 0.00 |
| Nb FLOP rcp | 0.00 |
| Nb FLOP sqrt | 0.00 |
| Nb FLOP rsqrt | 0.00 |
| Bytes/cycle | 5.00 |
| Bytes prefetched | 0.00 |
| Bytes loaded | 12.00 |
| Bytes stored | 8.00 |
| Stride 0 | NA |
| Stride 1 | NA |
| Stride n | NA |
| Stride unknown | NA |
| Stride indirect | NA |
| Vectorization ratio all | 0.00 |
| Vectorization ratio load | 0.00 |
| Vectorization ratio store | 0.00 |
| Vectorization ratio mul | 0.00 |
| Vectorization ratio add_sub | 0.00 |
| Vectorization ratio fma | 0.00 |
| Vectorization ratio div_sqrt | NA |
| Vectorization ratio other | 0.00 |
| Vector-efficiency ratio all | 9.09 |
| Vector-efficiency ratio load | 6.25 |
| Vector-efficiency ratio store | 12.50 |
| Vector-efficiency ratio mul | 6.25 |
| Vector-efficiency ratio add_sub | 12.50 |
| Vector-efficiency ratio fma | 6.25 |
| Vector-efficiency ratio div_sqrt | NA |
| Vector-efficiency ratio other | 8.93 |
| Path / |
| Function | main |
| Source file and lines | random.tcc:401-3367 |
| Module | attention-clang-znver5-512 |
| nb instructions | 60 |
| nb uops | 62 |
| loop length | 287.50 |
| used x86 registers | 7.50 |
| used mmx registers | 0 |
| used xmm registers | 6 |
| used ymm registers | 0 |
| used zmm registers | 2.50 |
| nb stack references | 5.50 |
| micro-operation queue | 7.75 cycles |
| front end | 7.75 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | P15 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 5.75 | 5.75 | 5.75 | 5.75 | 5.75 | 5.75 | 3.38 | 3.38 | 3.38 | 3.38 | 2.13 | 2.75 | 2.25 | 1.88 | 0.25 | 0.25 |
| cycles | 5.75 | 5.75 | 5.75 | 5.75 | 5.75 | 5.75 | 3.38 | 3.38 | 3.38 | 3.38 | 2.13 | 2.75 | 2.25 | 1.88 | 0.25 | 0.25 |
| Cycles executing div or sqrt instructions | NA |
| Longest recurrence chain latency (RecMII) | 4.00 |
| Front-end | 7.75 |
| Dispatch | 5.75 |
| Data deps. | 4.00 |
| Overall L1 | 8.19 |
| all | 0% |
| load | 0% |
| store | 0% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 0% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 0% |
| all | 0% |
| load | 0% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | 0% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 0% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | NA (no other vectorizable/vectorized instructions) |
| all | 0% |
| load | 0% |
| store | 0% |
| mul | 0% |
| add-sub | 0% |
| fma | 0% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 0% |
| all | 10% |
| load | 12% |
| store | 12% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 12% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 9% |
| all | 6% |
| load | 6% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | 6% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 6% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | NA (no other vectorizable/vectorized instructions) |
| all | 9% |
| load | 9% |
| store | 12% |
| mul | 6% |
| add-sub | 12% |
| fma | 6% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 9% |
| Function | main |
| Source file and lines | random.tcc:401-3367 |
| Module | attention-clang-znver5-512 |
| nb instructions | 95 |
| nb uops | 99 |
| loop length | 465 |
| used x86 registers | 10 |
| used mmx registers | 0 |
| used xmm registers | 8 |
| used ymm registers | 0 |
| used zmm registers | 5 |
| nb stack references | 10 |
| micro-operation queue | 12.38 cycles |
| front end | 12.38 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | P15 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 9.00 | 9.00 | 9.00 | 9.00 | 9.00 | 9.00 | 6.00 | 6.00 | 6.00 | 6.00 | 3.25 | 4.50 | 4.00 | 3.25 | 0.50 | 0.50 |
| cycles | 9.00 | 9.00 | 9.00 | 9.00 | 9.00 | 9.00 | 6.00 | 6.00 | 6.00 | 6.00 | 3.25 | 4.50 | 4.00 | 3.25 | 0.50 | 0.50 |
| Cycles executing div or sqrt instructions | NA |
| Longest recurrence chain latency (RecMII) | 4.00 |
| Front-end | 12.38 |
| Dispatch | 9.00 |
| Data deps. | 4.00 |
| Overall L1 | 12.38 |
| all | 1% |
| load | 0% |
| store | 0% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 1% |
| all | 0% |
| load | 0% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | 0% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 0% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | NA (no other vectorizable/vectorized instructions) |
| all | 1% |
| load | 0% |
| store | 0% |
| mul | 0% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 0% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 1% |
| all | 10% |
| load | 12% |
| store | 12% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 10% |
| all | 6% |
| load | 6% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | 6% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 6% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | NA (no other vectorizable/vectorized instructions) |
| all | 10% |
| load | 12% |
| store | 12% |
| mul | 6% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 6% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 10% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | P15 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MOV %R13,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| INC %R13 | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| MOV $0x200b,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| MOV %R13,0x19b8(%RSP) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (12.5%) |
| MOV 0x638(%RSP,%RCX,8),%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | N/A |
| BEXTR %RDX,%RCX,%RDX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| XOR %RCX,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %EDX,%ECX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| SAL $0x7,%ECX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| AND $-0x62d3a980,%ECX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| XOR %RDX,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| MOV %ECX,%EDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| SAL $0xf,%EDX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | scal (6.3%) |
| AND $-0x103a0000,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| XOR %RCX,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %RDX,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| SHR $0x12,%RCX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| XOR %RDX,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| DEC %RAX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| VCVTUSI2SS %RCX,%XMM15,%XMM2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 3-9 | 1 | scal (12.5%) |
| VFMADD231SS %XMM2,%XMM1,%XMM0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (6.3%) |
| VMULSS 0x4479(%RIP),%XMM1,%XMM1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 3 | 0.50 | scal (6.3%) |
| JE 4fb0 <main+0x1600> | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33-0.50 | N/A |
| CMP $0x270,%R13 | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| JB 4b30 <main+0x1180> | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33-0.50 | N/A |
| VPBROADCASTQ 0x4498(%RIP),%ZMM14 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ 0x4496(%RIP),%ZMM15 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ 0x4494(%RIP),%ZMM16 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ 0x4492(%RIP),%ZMM17 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ %RBX,%ZMM2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 2 | 1 | scal (12.5%) |
| XOR %ECX,%ECX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| XCHG %AX,%AX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| MOV 0xd40(%RSP),%RDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | scal (12.5%) |
| VEXTRACTI32X4 $0x3,%ZMM2,%XMM2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 5 | 0.50 | vect (25.0%) |
| MOV 0xd48(%RSP),%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | N/A |
| VPBROADCASTQ 0x432b(%RIP),%XMM8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ 0x432a(%RIP),%XMM9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ 0x4329(%RIP),%XMM10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPBROADCASTQ 0x4328(%RIP),%XMM11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 2 | 0.50 | scal (12.5%) |
| VPEXTRQ $0x1,%XMM2,%RSI | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.50 | 0.50 | 7 | 0.50 | scal (12.5%) |
| AND $-0x80000000,%RSI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %EDX,%EDI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| AND $0x7ffffffe,%EDI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| OR %RSI,%RDI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %EDX,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| AND $0x1,%ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| AND $-0x80000000,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| SHR $0x1,%RDI | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | scal (12.5%) |
| XOR 0x19a0(%RSP),%RDI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| NEG %ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| AND %R12D,%ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| XOR %RDI,%RSI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %RSI,0xd38(%RSP) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (12.5%) |
| MOV %ECX,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| AND $0x7ffffffe,%ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| OR %RDX,%RSI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %ECX,%EDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| AND $0x1,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| AND $-0x80000000,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| SHR $0x1,%RSI | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | scal (12.5%) |
| XOR 0x19a8(%RSP),%RSI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| NEG %EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| AND %R12D,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| XOR %RSI,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %RDX,0xd40(%RSP) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (12.5%) |
| MOV 0xd50(%RSP),%RDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | scal (12.5%) |
| MOV %EDX,%ESI | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| VPBROADCASTQ %RDX,%XMM2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 2 | 1 | scal (12.5%) |
| AND $0x7ffffffe,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| AND $0x1,%ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| OR %RCX,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| NEG %ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| MOV $0xee,%ECX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| SHR $0x1,%RDX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | scal (12.5%) |
| XOR 0x19b0(%RSP),%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| AND %R12D,%ESI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| XOR %RDX,%RSI | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %RSI,0xd48(%RSP) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (12.5%) |
| NOPL (%RAX) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| MOV 0x19b0(%RSP),%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | N/A |
| MOV 0x638(%RSP),%RBX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | scal (12.5%) |
| XOR %R13D,%R13D | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17 | N/A |
| MOV %EBX,%EDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| AND %R14,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| AND $0x7ffffffe,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| OR %RCX,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %EBX,%ECX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| AND $0x1,%ECX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| SHR $0x1,%RDX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | scal (12.5%) |
| XOR 0x1298(%RSP),%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | scal (12.5%) |
| NEG %ECX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| AND %R12D,%ECX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| XOR %RDX,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| MOV %RCX,0x19b0(%RSP) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (12.5%) |
| JMP 4b30 <main+0x1180> | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | N/A |
| Function | main |
| Source file and lines | random.tcc:401-3367 |
| Module | attention-clang-znver5-512 |
| nb instructions | 25 |
| nb uops | 25 |
| loop length | 110 |
| used x86 registers | 5 |
| used mmx registers | 0 |
| used xmm registers | 4 |
| used ymm registers | 0 |
| used zmm registers | 0 |
| nb stack references | 1 |
| micro-operation queue | 3.13 cycles |
| front end | 3.13 cycles |
| P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | P15 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| uops | 2.50 | 2.50 | 2.50 | 2.50 | 2.50 | 2.50 | 0.75 | 0.75 | 0.75 | 0.75 | 1.00 | 1.00 | 0.50 | 0.50 | 0.00 | 0.00 |
| cycles | 2.50 | 2.50 | 2.50 | 2.50 | 2.50 | 2.50 | 0.75 | 0.75 | 0.75 | 0.75 | 1.00 | 1.00 | 0.50 | 0.50 | 0.00 | 0.00 |
| Cycles executing div or sqrt instructions | NA |
| Longest recurrence chain latency (RecMII) | 4.00 |
| Front-end | 3.13 |
| Dispatch | 2.50 |
| Data deps. | 4.00 |
| Overall L1 | 4.00 |
| all | 0% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | 0% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 0% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 0% |
| all | 0% |
| load | 0% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | 0% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 0% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | NA (no other vectorizable/vectorized instructions) |
| all | 0% |
| load | 0% |
| store | 0% |
| mul | 0% |
| add-sub | 0% |
| fma | 0% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 0% |
| all | 9% |
| load | NA (no load vectorizable/vectorized instructions) |
| store | 12% |
| mul | NA (no mul vectorizable/vectorized instructions) |
| add-sub | 12% |
| fma | NA (no fma vectorizable/vectorized instructions) |
| other | 8% |
| all | 6% |
| load | 6% |
| store | NA (no store vectorizable/vectorized instructions) |
| mul | 6% |
| add-sub | NA (no add-sub vectorizable/vectorized instructions) |
| fma | 6% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | NA (no other vectorizable/vectorized instructions) |
| all | 9% |
| load | 6% |
| store | 12% |
| mul | 6% |
| add-sub | 12% |
| fma | 6% |
| div/sqrt | NA (no div/sqrt vectorizable/vectorized instructions) |
| other | 8% |
| Instruction | Nb FU | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 | P8 | P9 | P10 | P11 | P12 | P13 | P14 | P15 | Latency | Recip. throughput | Vectorization |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| MOV %R13,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| INC %R13 | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| MOV $0x200b,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| MOV %R13,0x19b8(%RSP) | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (12.5%) |
| MOV 0x638(%RSP,%RCX,8),%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0.25 | N/A |
| BEXTR %RDX,%RCX,%RDX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| XOR %RCX,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %EDX,%ECX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| SAL $0x7,%ECX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| AND $-0x62d3a980,%ECX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| XOR %RDX,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| MOV %ECX,%EDX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | scal (6.3%) |
| SAL $0xf,%EDX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | scal (6.3%) |
| AND $-0x103a0000,%EDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (6.3%) |
| XOR %RCX,%RDX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| MOV %RDX,%RCX | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | N/A |
| SHR $0x12,%RCX | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33 | N/A |
| XOR %RDX,%RCX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| DEC %RAX | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | scal (12.5%) |
| VCVTUSI2SS %RCX,%XMM15,%XMM2 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 3-9 | 1 | scal (12.5%) |
| VFMADD231SS %XMM2,%XMM1,%XMM0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 4 | 0.50 | scal (6.3%) |
| VMULSS 0x4479(%RIP),%XMM1,%XMM1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.25 | 0.25 | 0.25 | 0.50 | 0.50 | 0 | 0 | 0 | 0 | 3 | 0.50 | scal (6.3%) |
| JE 4fb0 <main+0x1600> | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33-0.50 | N/A |
| CMP $0x270,%R13 | 1 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0.17 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.17 | N/A |
| JB 4b30 <main+0x1180> | 1 | 0 | 0 | 0 | 0.33 | 0.33 | 0.33 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.33-0.50 | N/A |
