VPSHUFB (ZMM, 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.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  1.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  |      |      | vpshufb zmm0, zmm1, zmm2
Total Num Of Uops: 1

With 16 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 15.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 |  0.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  | 16.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  |      |      | vpshufb zmm0, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm3, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm4, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm5, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm6, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm7, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm8, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm9, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm10, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm11, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm12, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm16, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm17, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm18, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm19, zmm1, zmm2
|   1      |             |      |             |             |      | 1.0  |      |      | vpshufb zmm20, 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.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  1.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  |      |      | vpshufb zmm0, zmm0, zmm0
Total Num Of Uops: 1