VPINSRQ (XMM, XMM, R64, I8) - Throughput and Uops (IACA 3.0)


With different registers for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.94 Cycles       Throughput Bottleneck: Backend
Loop Count:  38
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  |  2.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

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

With 12 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 23.89 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  | 24.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm0, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm2, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm3, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm4, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm5, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm6, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm7, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm8, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm9, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm10, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm11, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm12, xmm1, r8, 0x2
Total Num Of Uops: 24

With the same register for for different operands

With 1 independent instruction

Throughput Analysis Report
--------------------------
Block Throughput: 1.94 Cycles       Throughput Bottleneck: Backend
Loop Count:  38
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  |  2.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

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

With 13 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 25.89 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  | 26.0  |  0.0  |  0.0  |
--------------------------------------------------------------------------------------------------

| Num Of   |                    Ports pressure in cycles                         |      |
|  Uops    |  0  - DV    |  1   |  2  -  D    |  3  -  D    |  4   |  5   |  6   |  7   |
-----------------------------------------------------------------------------------------
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm0, xmm0, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm1, xmm1, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm2, xmm2, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm3, xmm3, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm4, xmm4, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm5, xmm5, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm6, xmm6, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm7, xmm7, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm8, xmm8, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm9, xmm9, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm10, xmm10, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm11, xmm11, r8, 0x2
|   2      |             |      |             |             |      | 2.0  |      |      | vpinsrq xmm12, xmm12, r8, 0x2
Total Num Of Uops: 26