1 # NOTE: Assertions have been autogenerated by utils/update_mca_test_checks.py
2 # RUN: llvm-mca -mtriple=x86_64-unknown-unknown -mcpu=znver4 -instruction-tables < %s | FileCheck %s
4 vpdpbusd
%zmm16
, %zmm17
, %zmm19
5 vpdpbusd
(%rax
), %zmm17
, %zmm19
6 vpdpbusd
(%rax
){1to16
}, %zmm17
, %zmm19
7 vpdpbusd
%zmm16
, %zmm17
, %zmm19
{k1
}
8 vpdpbusd
(%rax
), %zmm17
, %zmm19
{k1
}
9 vpdpbusd
(%rax
){1to16
}, %zmm17
, %zmm19
{k1
}
10 vpdpbusd
%zmm16
, %zmm17
, %zmm19
{z
}{k1
}
11 vpdpbusd
(%rax
), %zmm17
, %zmm19
{z
}{k1
}
12 vpdpbusd
(%rax
){1to16
}, %zmm17
, %zmm19
{z
}{k1
}
14 vpdpbusds
%zmm16
, %zmm17
, %zmm19
15 vpdpbusds
(%rax
), %zmm17
, %zmm19
16 vpdpbusds
(%rax
){1to16
}, %zmm17
, %zmm19
17 vpdpbusds
%zmm16
, %zmm17
, %zmm19
{k1
}
18 vpdpbusds
(%rax
), %zmm17
, %zmm19
{k1
}
19 vpdpbusds
(%rax
){1to16
}, %zmm17
, %zmm19
{k1
}
20 vpdpbusds
%zmm16
, %zmm17
, %zmm19
{z
}{k1
}
21 vpdpbusds
(%rax
), %zmm17
, %zmm19
{z
}{k1
}
22 vpdpbusds
(%rax
){1to16
}, %zmm17
, %zmm19
{z
}{k1
}
24 vpdpwssd
%zmm16
, %zmm17
, %zmm19
25 vpdpwssd
(%rax
), %zmm17
, %zmm19
26 vpdpwssd
(%rax
){1to16
}, %zmm17
, %zmm19
27 vpdpwssd
%zmm16
, %zmm17
, %zmm19
{k1
}
28 vpdpwssd
(%rax
), %zmm17
, %zmm19
{k1
}
29 vpdpwssd
(%rax
){1to16
}, %zmm17
, %zmm19
{k1
}
30 vpdpwssd
%zmm16
, %zmm17
, %zmm19
{z
}{k1
}
31 vpdpwssd
(%rax
), %zmm17
, %zmm19
{z
}{k1
}
32 vpdpwssd
(%rax
){1to16
}, %zmm17
, %zmm19
{z
}{k1
}
34 vpdpwssds
%zmm16
, %zmm17
, %zmm19
35 vpdpwssds
(%rax
), %zmm17
, %zmm19
36 vpdpwssds
(%rax
){1to16
}, %zmm17
, %zmm19
37 vpdpwssds
%zmm16
, %zmm17
, %zmm19
{k1
}
38 vpdpwssds
(%rax
), %zmm17
, %zmm19
{k1
}
39 vpdpwssds
(%rax
){1to16
}, %zmm17
, %zmm19
{k1
}
40 vpdpwssds
%zmm16
, %zmm17
, %zmm19
{z
}{k1
}
41 vpdpwssds
(%rax
), %zmm17
, %zmm19
{z
}{k1
}
42 vpdpwssds
(%rax
){1to16
}, %zmm17
, %zmm19
{z
}{k1
}
44 # CHECK: Instruction Info:
45 # CHECK-NEXT: [1]: #uOps
46 # CHECK-NEXT: [2]: Latency
47 # CHECK-NEXT: [3]: RThroughput
48 # CHECK-NEXT: [4]: MayLoad
49 # CHECK-NEXT: [5]: MayStore
50 # CHECK-NEXT: [6]: HasSideEffects (U)
52 # CHECK: [1] [2] [3] [4] [5] [6] Instructions:
53 # CHECK-NEXT: 1 4 2.00 vpdpbusd %zmm16, %zmm17, %zmm19
54 # CHECK-NEXT: 1 10 1.00 * vpdpbusd (%rax), %zmm17, %zmm19
55 # CHECK-NEXT: 1 10 1.00 * vpdpbusd (%rax){1to16}, %zmm17, %zmm19
56 # CHECK-NEXT: 1 4 2.00 vpdpbusd %zmm16, %zmm17, %zmm19 {%k1}
57 # CHECK-NEXT: 1 10 1.00 * vpdpbusd (%rax), %zmm17, %zmm19 {%k1}
58 # CHECK-NEXT: 1 10 1.00 * vpdpbusd (%rax){1to16}, %zmm17, %zmm19 {%k1}
59 # CHECK-NEXT: 1 4 2.00 vpdpbusd %zmm16, %zmm17, %zmm19 {%k1} {z}
60 # CHECK-NEXT: 1 10 1.00 * vpdpbusd (%rax), %zmm17, %zmm19 {%k1} {z}
61 # CHECK-NEXT: 1 10 1.00 * vpdpbusd (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
62 # CHECK-NEXT: 1 4 2.00 vpdpbusds %zmm16, %zmm17, %zmm19
63 # CHECK-NEXT: 1 10 1.00 * vpdpbusds (%rax), %zmm17, %zmm19
64 # CHECK-NEXT: 1 10 1.00 * vpdpbusds (%rax){1to16}, %zmm17, %zmm19
65 # CHECK-NEXT: 1 4 2.00 vpdpbusds %zmm16, %zmm17, %zmm19 {%k1}
66 # CHECK-NEXT: 1 10 1.00 * vpdpbusds (%rax), %zmm17, %zmm19 {%k1}
67 # CHECK-NEXT: 1 10 1.00 * vpdpbusds (%rax){1to16}, %zmm17, %zmm19 {%k1}
68 # CHECK-NEXT: 1 4 2.00 vpdpbusds %zmm16, %zmm17, %zmm19 {%k1} {z}
69 # CHECK-NEXT: 1 10 1.00 * vpdpbusds (%rax), %zmm17, %zmm19 {%k1} {z}
70 # CHECK-NEXT: 1 10 1.00 * vpdpbusds (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
71 # CHECK-NEXT: 1 4 2.00 vpdpwssd %zmm16, %zmm17, %zmm19
72 # CHECK-NEXT: 1 10 1.00 * vpdpwssd (%rax), %zmm17, %zmm19
73 # CHECK-NEXT: 1 10 1.00 * vpdpwssd (%rax){1to16}, %zmm17, %zmm19
74 # CHECK-NEXT: 1 4 2.00 vpdpwssd %zmm16, %zmm17, %zmm19 {%k1}
75 # CHECK-NEXT: 1 10 1.00 * vpdpwssd (%rax), %zmm17, %zmm19 {%k1}
76 # CHECK-NEXT: 1 10 1.00 * vpdpwssd (%rax){1to16}, %zmm17, %zmm19 {%k1}
77 # CHECK-NEXT: 1 4 2.00 vpdpwssd %zmm16, %zmm17, %zmm19 {%k1} {z}
78 # CHECK-NEXT: 1 10 1.00 * vpdpwssd (%rax), %zmm17, %zmm19 {%k1} {z}
79 # CHECK-NEXT: 1 10 1.00 * vpdpwssd (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
80 # CHECK-NEXT: 1 4 2.00 vpdpwssds %zmm16, %zmm17, %zmm19
81 # CHECK-NEXT: 1 10 1.00 * vpdpwssds (%rax), %zmm17, %zmm19
82 # CHECK-NEXT: 1 10 1.00 * vpdpwssds (%rax){1to16}, %zmm17, %zmm19
83 # CHECK-NEXT: 1 4 2.00 vpdpwssds %zmm16, %zmm17, %zmm19 {%k1}
84 # CHECK-NEXT: 1 10 1.00 * vpdpwssds (%rax), %zmm17, %zmm19 {%k1}
85 # CHECK-NEXT: 1 10 1.00 * vpdpwssds (%rax){1to16}, %zmm17, %zmm19 {%k1}
86 # CHECK-NEXT: 1 4 2.00 vpdpwssds %zmm16, %zmm17, %zmm19 {%k1} {z}
87 # CHECK-NEXT: 1 10 1.00 * vpdpwssds (%rax), %zmm17, %zmm19 {%k1} {z}
88 # CHECK-NEXT: 1 10 1.00 * vpdpwssds (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
91 # CHECK-NEXT: [0] - Zn4AGU0
92 # CHECK-NEXT: [1] - Zn4AGU1
93 # CHECK-NEXT: [2] - Zn4AGU2
94 # CHECK-NEXT: [3] - Zn4ALU0
95 # CHECK-NEXT: [4] - Zn4ALU1
96 # CHECK-NEXT: [5] - Zn4ALU2
97 # CHECK-NEXT: [6] - Zn4ALU3
98 # CHECK-NEXT: [7] - Zn4BRU1
99 # CHECK-NEXT: [8] - Zn4FP0
100 # CHECK-NEXT: [9] - Zn4FP1
101 # CHECK-NEXT: [10] - Zn4FP2
102 # CHECK-NEXT: [11] - Zn4FP3
103 # CHECK-NEXT: [12.0] - Zn4FP45
104 # CHECK-NEXT: [12.1] - Zn4FP45
105 # CHECK-NEXT: [13] - Zn4FPSt
106 # CHECK-NEXT: [14.0] - Zn4LSU
107 # CHECK-NEXT: [14.1] - Zn4LSU
108 # CHECK-NEXT: [14.2] - Zn4LSU
109 # CHECK-NEXT: [15.0] - Zn4Load
110 # CHECK-NEXT: [15.1] - Zn4Load
111 # CHECK-NEXT: [15.2] - Zn4Load
112 # CHECK-NEXT: [16.0] - Zn4Store
113 # CHECK-NEXT: [16.1] - Zn4Store
115 # CHECK: Resource pressure per iteration:
116 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1]
117 # CHECK-NEXT: - - - - - - - - 48.00 24.00 - 24.00 12.00 12.00 - 8.00 8.00 8.00 8.00 8.00 8.00 - -
119 # CHECK: Resource pressure by instruction:
120 # CHECK-NEXT: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12.0] [12.1] [13] [14.0] [14.1] [14.2] [15.0] [15.1] [15.2] [16.0] [16.1] Instructions:
121 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpbusd %zmm16, %zmm17, %zmm19
122 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusd (%rax), %zmm17, %zmm19
123 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusd (%rax){1to16}, %zmm17, %zmm19
124 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpbusd %zmm16, %zmm17, %zmm19 {%k1}
125 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusd (%rax), %zmm17, %zmm19 {%k1}
126 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusd (%rax){1to16}, %zmm17, %zmm19 {%k1}
127 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpbusd %zmm16, %zmm17, %zmm19 {%k1} {z}
128 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusd (%rax), %zmm17, %zmm19 {%k1} {z}
129 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusd (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
130 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpbusds %zmm16, %zmm17, %zmm19
131 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusds (%rax), %zmm17, %zmm19
132 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusds (%rax){1to16}, %zmm17, %zmm19
133 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpbusds %zmm16, %zmm17, %zmm19 {%k1}
134 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusds (%rax), %zmm17, %zmm19 {%k1}
135 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusds (%rax){1to16}, %zmm17, %zmm19 {%k1}
136 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpbusds %zmm16, %zmm17, %zmm19 {%k1} {z}
137 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusds (%rax), %zmm17, %zmm19 {%k1} {z}
138 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpbusds (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
139 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpwssd %zmm16, %zmm17, %zmm19
140 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssd (%rax), %zmm17, %zmm19
141 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssd (%rax){1to16}, %zmm17, %zmm19
142 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpwssd %zmm16, %zmm17, %zmm19 {%k1}
143 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssd (%rax), %zmm17, %zmm19 {%k1}
144 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssd (%rax){1to16}, %zmm17, %zmm19 {%k1}
145 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpwssd %zmm16, %zmm17, %zmm19 {%k1} {z}
146 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssd (%rax), %zmm17, %zmm19 {%k1} {z}
147 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssd (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}
148 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpwssds %zmm16, %zmm17, %zmm19
149 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssds (%rax), %zmm17, %zmm19
150 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssds (%rax){1to16}, %zmm17, %zmm19
151 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpwssds %zmm16, %zmm17, %zmm19 {%k1}
152 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssds (%rax), %zmm17, %zmm19 {%k1}
153 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssds (%rax){1to16}, %zmm17, %zmm19 {%k1}
154 # CHECK-NEXT: - - - - - - - - 2.00 2.00 - - - - - - - - - - - - - vpdpwssds %zmm16, %zmm17, %zmm19 {%k1} {z}
155 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssds (%rax), %zmm17, %zmm19 {%k1} {z}
156 # CHECK-NEXT: - - - - - - - - 1.00 - - 1.00 0.50 0.50 - 0.33 0.33 0.33 0.33 0.33 0.33 - - vpdpwssds (%rax){1to16}, %zmm17, %zmm19 {%k1} {z}