VPADDQ (ZMM, K, ZMM, ZMM) - 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.5     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.5  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.5         |      |             |             |      | 0.5  |      |      | vpaddq zmm0{k1}, zmm1, zmm2
Total Num Of Uops: 1

With 16 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 7.95 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 |  8.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  8.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm0{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm3{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm4{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm5{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm6{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm7{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm8{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm9{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm10{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm11{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm12{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm16{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm17{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm18{k1}, zmm1, zmm2
|   1      | 1.0         |      |             |             |      |      |      |      | vpaddq zmm19{k1}, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpaddq zmm20{k1}, zmm1, zmm2
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.5     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.5  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   1      | 0.5         |      |             |             |      | 0.5  |      |      | vpaddq zmm0{k1}, zmm0, zmm0
Total Num Of Uops: 1