VPTERNLOGD (XMM, XMM, XMM, I8) - Throughput and Uops (IACA 3.0)


With different registers for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 0.98 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  52
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  0.3     0.0  |  0.3  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.3  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm0, xmm1, xmm2, 0x2
Total Num Of Uops: 1

With 16 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 5.32 Cycles       Throughput Bottleneck: Backend
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  5.3     0.0  |  5.4  |  0.0     0.0  |  0.0     0.0  |  0.0  |  5.3  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm0, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm3, xmm1, xmm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm4, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm5, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm6, xmm1, xmm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm7, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm8, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm9, xmm1, xmm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm10, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm11, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm12, xmm1, xmm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm16, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm17, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm18, xmm1, xmm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm19, xmm1, xmm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm20, xmm1, xmm2, 0x2
Total Num Of Uops: 16

With the same register for for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 0.98 Cycles       Throughput Bottleneck: Dependency chains
Loop Count:  52
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  0.3     0.0  |  0.3  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.3  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm0, xmm0, xmm0, 0x2
Total Num Of Uops: 1

With 16 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 5.32 Cycles       Throughput Bottleneck: Backend
Loop Count:  22
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  5.3     0.0  |  5.4  |  0.0     0.0  |  0.0     0.0  |  0.0  |  5.3  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm0, xmm0, xmm0, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm1, xmm1, xmm1, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm2, xmm2, xmm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm3, xmm3, xmm3, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm4, xmm4, xmm4, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm5, xmm5, xmm5, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm6, xmm6, xmm6, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm7, xmm7, xmm7, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm8, xmm8, xmm8, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm9, xmm9, xmm9, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm10, xmm10, xmm10, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm11, xmm11, xmm11, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm12, xmm12, xmm12, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd xmm16, xmm16, xmm16, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd xmm17, xmm17, xmm17, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd xmm18, xmm18, xmm18, 0x2
Total Num Of Uops: 16