KANDB (K, K, K) - 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 |  1.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.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         |      |             |             |      |      |      |      | kandb k1, k0, k2
Total Num Of Uops: 1

With 6 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 5.95 Cycles       Throughput Bottleneck: Backend
Loop Count:  24
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  6.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.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         |      |             |             |      |      |      |      | kandb k1, k0, k2
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k3, k0, k2
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k4, k0, k2
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k5, k0, k2
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k6, k0, k2
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k7, k0, k2
Total Num Of Uops: 6

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 |  1.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.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         |      |             |             |      |      |      |      | kandb k1, k1, k1
Total Num Of Uops: 1

With 7 independent instructions


Throughput Analysis Report
--------------------------
Block Throughput: 6.95 Cycles       Throughput Bottleneck: Backend
Loop Count:  24
Port Binding In Cycles Per Iteration:
--------------------------------------------------------------------------------------------------
|  Port  |   0   -  DV   |   1   |   2   -  D    |   3   -  D    |   4   |   5   |   6   |   7   |
--------------------------------------------------------------------------------------------------
| Cycles |  7.0     0.0  |  0.0  |  0.0     0.0  |  0.0     0.0  |  0.0  |  0.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         |      |             |             |      |      |      |      | kandb k1, k1, k1
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k2, k2, k2
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k3, k3, k3
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k4, k4, k4
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k5, k5, k5
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k6, k6, k6
|   1      | 1.0         |      |             |             |      |      |      |      | kandb k7, k7, k7
Total Num Of Uops: 7