VPTERNLOGD (YMM, YMM, YMM, 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 ymm0, ymm1, ymm2, 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 ymm0, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd ymm3, ymm1, ymm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd ymm4, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd ymm5, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd ymm6, ymm1, ymm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd ymm7, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd ymm8, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd ymm9, ymm1, ymm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd ymm10, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd ymm11, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd ymm12, ymm1, ymm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd ymm16, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd ymm17, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.3  |             |             |      | 0.4  |      |      | vpternlogd ymm18, ymm1, ymm2, 0x2
|   1      | 0.4         | 0.3  |             |             |      | 0.3  |      |      | vpternlogd ymm19, ymm1, ymm2, 0x2
|   1      | 0.3         | 0.4  |             |             |      | 0.3  |      |      | vpternlogd ymm20, ymm1, ymm2, 0x2
Total Num Of Uops: 16

With the same register for for different operands

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 ymm0, ymm0, ymm0, 0x2
Total Num Of Uops: 1