Debian Codegraph @

visa/iga/GEDLibrary/GED_external/build/autogen-intel64/ged_ins_field.h

raw
1 /*========================== begin_copyright_notice ============================
2
3 Copyright (C) 2017-2021 Intel Corporation
4
5 SPDX-License-Identifier: MIT
6
7 ============================= end_copyright_notice ===========================*/
8
9 /*
10 * !!! DO NOT EDIT THIS FILE !!!
11 *
12 * This file was automagically crafted by GED's model parser.
13 */
14
15
16 #ifndef GED_INS_FIELD_H
17 #define GED_INS_FIELD_H
18
19
20 /*!
21 * This is an enumeration of all the instruction fields available for queries by GED. It is a consolidated list of all instruction
22 * fields from all instruction formats of all supported models.
23 *
24 * @note Some fields may not be available on all models.
25 */
26 typedef enum
27 {
28
29 /*!
30 * Instruction Operation Code. This field contains the instruction operation code. Each opcode is given a unique mnemonic.
31 *
32 * @par Models: all
33 */
34 GED_INS_FIELD_Opcode,
35
36 /*!
37 * Compaction Control. Indicates whether the instruction is compacted to the 64-bit compact instruction format. When this bit is
38 * set, the 64-bit compact instruction format is used. The EU decodes the compact format using lookup tables internal to the
39 * hardware, but documented for use by software tools. Only some instruction variations can be compacted, the variations supported
40 * by those lookup tables and the compact format.
41 *
42 * @par Models: all
43 */
44 GED_INS_FIELD_CmptCtrl,
45
46 /*!
47 *
48 *
49 * @par Models: all
50 */
51 GED_INS_FIELD_,
52
53 /*!
54 * Reserved. Not intended for use.
55 *
56 * @par Models: all
57 */
58 GED_INS_FIELD_Reserved,
59
60 /*!
61 *
62 *
63 * @par Models: all
64 */
65 GED_INS_FIELD____SrcImm,
66
67 /*!
68 * Number of source operands in this instruction.
69 *
70 * @par XE2, XE3, XE3P.CRI
71 *
72 *
73 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
74 */
75 GED_INS_FIELD_NumOfSourceOperands,
76
77 /*!
78 * The presence of a destination operand in this instruction.
79 *
80 * If the value is 0, some GED API functions regarding Dst operand might still function correctly, but this means that the EU
81 * ignores that operand.
82 *
83 * @par XE2, XE3, XE3P.CRI
84 *
85 *
86 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
87 */
88 GED_INS_FIELD_HasDestinationOperand,
89
90 /*!
91 * Access Mode. This field determines the operand access for the instruction. It applies to all source and destination operands.
92 *
93 * @par Models: 10, 7, 7.5, 8, 8.1, 9
94 */
95 GED_INS_FIELD_AccessMode,
96
97 /*!
98 * Mask Control (formerly Write Enable Control). This field determines if the per channel write enables are used to generate the
99 * final write enable. This field should be normally "0".
100 *
101 * @par XE2, XE3, XE3P.CRI
102 *
103 *
104 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
105 */
106 GED_INS_FIELD_MaskCtrl,
107
108 /*!
109 * Destination Dependency Control. This field selectively disables destination dependency check and clear for this instruction.
110 *
111 * @par Models: 10, 11, 7, 7.5, 8, 8.1, 9
112 */
113 GED_INS_FIELD_DepCtrl,
114
115 /*!
116 * Execution mask offset - in charge of the QtrCtrl and NibCtrl values. This field provides explicit control for ARF selection.
117 *
118 * This field combined with ExecSize determines which channels are used for the ARF registers.
119 *
120 * Sets NibCtrl implicitly according to the selected QtrCtrl value.
121 *
122 * @par Models: 10, 11, 7, 7.5, 8, 8.1, 9
123 */
124 GED_INS_FIELD_ExecMaskOffsetCtrl,
125
126 /*!
127 *
128 *
129 * @par 10, 11, TGL, XE.HP, XE.HPG, XE.LPG.MD, 7, 7.5, 8, 8.1, 9
130 * TBD
131 *
132 * @par XE.HPC.A, XE.HPC
133 * This field provides offset information for ARF selection. The can be thought of as a starting channel offset for the execution
134 * mask and other ARF registers implicitly accessed
135 *
136 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
137 */
138 GED_INS_FIELD_ChannelOffset,
139
140 /*!
141 * Thread Control. This field provides explicit control for thread switching.
142 *
143 * @par XE2, XE3, XE3P.CRI
144 *
145 *
146 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
147 */
148 GED_INS_FIELD_ThreadCtrl,
149
150 /*!
151 * Predicate Control. This field, together with PredInv, enables and controls the generation of the predication mask for the
152 * instruction. It allows per-channel conditional execution of the instruction based on the content of the selected flag register.
153 *
154 * @par XE2, XE3, XE3P.CRI
155 *
156 *
157 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
158 */
159 GED_INS_FIELD_PredCtrl,
160
161 /*!
162 * Predicate Inverse. This field, together with PredCtrl, enables and controls the generation of the predication mask for the
163 * instruction. When it is set, the predication uses the inverse of the predication bits generated according to setting of
164 * Predicate Control. In other words, effect of PredInv happens after PredCtrl.
165 *
166 * @par XE2, XE3, XE3P.CRI
167 *
168 *
169 * @par XE.HPC.A, XE.HPC
170 * This field is ignored by hardware if Predicate Control is set to 0000 - there is no predication. PMask is the final predication
171 * mask produced by the effects of both fields.
172 *
173 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
174 */
175 GED_INS_FIELD_PredInv,
176
177 /*!
178 * Execution Size. This field determines the number of channels operating in parallel for this instruction. The size cannot exceed
179 * the maximum number of channels allowed for the given data type.
180 *
181 * @par XE2, XE3, XE3P.CRI
182 *
183 *
184 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
185 */
186 GED_INS_FIELD_ExecSize,
187
188 /*!
189 * Conditional Modifier. This field sets the flag register based on the internal conditional signals output from the execution
190 * pipe such as sign, zero, overflow and NaNs, etc. If this field is set to 0000, no flag registers are updated. Flag registers
191 * are not updated for instructions with embedded compares.
192 *
193 * @par XE2, XE3, XE3P.CRI
194 *
195 *
196 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
197 */
198 GED_INS_FIELD_CondModifier,
199
200 /*!
201 * This field allows per instruction accumulator write control.
202 *
203 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.LPG.MD, 7, 7.5, 8, 8.1, 9
204 */
205 GED_INS_FIELD_AccWrCtrl,
206
207 /*!
208 * Debug Control. This field allows the insertion of a breakpoint at the current instruction. When the bit is set, hardware
209 * automatically stores the current IP in CR register and jumps to the System IP (SIP) BEFORE executing the current instruction.
210 *
211 * @par XE2, XE3, XE3P.CRI
212 *
213 *
214 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
215 */
216 GED_INS_FIELD_DebugCtrl,
217
218 /*!
219 * Saturate. This field controls the destination saturation.
220 *
221 * @par XE2, XE3, XE3P.CRI
222 *
223 *
224 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
225 */
226 GED_INS_FIELD_Saturate,
227
228 /*!
229 * Destination Register File. This field identifies the register file of the destination operand (dst). Note that it is obvious
230 * that immediate cannot be a destination operand.
231 *
232 * For a send instruction, this field applies to the PostDst - the post destination operand.
233 *
234 * @par XE2, XE3, XE3P.CRI
235 *
236 *
237 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
238 */
239 GED_INS_FIELD_DstRegFile,
240
241 /*!
242 * Destination Data Type. This field specifies the numeric data type of the destination operand (dst). The bits of the destination
243 * operand are interpreted as the identified numeric data type, rather than coerced into a type implied by the operator. For a
244 * send instruction, this field applies to the CurrDst - the current destination operand.
245 *
246 * @par XE2, XE3, XE3P.CRI
247 *
248 *
249 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
250 */
251 GED_INS_FIELD_DstDataType,
252
253 /*!
254 * Source 0 Register File. This field identifies the register file of the first source operand (src0).
255 *
256 * @par XE2, XE3, XE3P.CRI
257 *
258 *
259 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
260 */
261 GED_INS_FIELD_Src0RegFile,
262
263 /*!
264 * Source 0 Data Type. This field specifies the numeric data type of the first source operand (src0). The bits of a source operand
265 * are interpreted as the identified numeric data type, rather than coerced into a type implied by the operator. Depending on
266 * Src0RegFile, there are two different encodings for this field. If a source is a register operand, this field follows the Source
267 * Register Type Encoding. If a source is an immediate operand, this field follows the Source Immediate Type Encoding.
268 *
269 * @par XE2, XE3, XE3P.CRI
270 *
271 *
272 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
273 */
274 GED_INS_FIELD_Src0DataType,
275
276 /*!
277 *
278 *
279 * @par TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
280 * Source 1 Register File. This field identifies the register file of the second source operand (src1).
281 *
282 * @par 10, 11, 7, 7.5, 8, 8.1, 9
283 * Source 1 Register File. This field identifies the register file of the second source operand (src1). Note that ARF cannot be a
284 * src1 operand
285 *
286 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
287 */
288 GED_INS_FIELD_Src1RegFile,
289
290 /*!
291 * Source 1 Data Type. This field specifies the numeric data type of the second source operand (src1). The bits of a source
292 * operand are interpreted as the identified numeric data type, rather than coerced into a type implied by the operator. Depending
293 * on Src1RegFile, there are two different encodings for this field. If a source is a register operand, this field follows the
294 * Source Register Type Encoding. If a source is an immediate operand, this field follows the Source Immediate Type Encoding.
295 *
296 * @par XE2, XE3, XE3P.CRI
297 *
298 *
299 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
300 */
301 GED_INS_FIELD_Src1DataType,
302
303 /*!
304 * Channel Enable. Four channel enables are defined for controlling which channels will be written into the destination region.
305 * These channel mask bits are applied in a modulo-four manner to all ExecSize channels. There is 1-bit Channel Enable for each
306 * channel within the group of 4. If the bit is cleared, the write for the corresponding channel is disabled. If the bit is set,
307 * the write is enabled. Mnemonic for the bit being set for the group of 4 is "x", "y", "z", and "w", respectively, where "x"
308 * corresponds to Channel 0 in the group and "w" corresponds to channel 3 in the group.
309 *
310 * For a send instruction, this field applies to the CurrDst.
311 *
312 * @par Models: 10, 7, 7.5, 8, 8.1, 9
313 */
314 GED_INS_FIELD_DstChanEn,
315
316 /*!
317 * Sub-Register Number. This field provides the sub-register number for the destination operand. For a GRF register operand, it
318 * provides the byte address within a 256-bit register. For an ARF register operand, this field also provides the sub-register
319 * number according to the encoding defined for the given architecture register.
320 *
321 * For a send instruction, this field applies to CurrDst.
322 *
323 * @par XE2, XE3, XE3P.CRI
324 *
325 *
326 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
327 */
328 GED_INS_FIELD_DstSubRegNum,
329
330 /*!
331 * Address Immediate. This field provides the immediate value in units of bytes added to the address register to compute the
332 * register address (byte-aligned region origin) for the destination operand. It is a signed integer.
333 *
334 * For a send instruction, this field applies to PostDst.
335 *
336 * @par XE2, XE3, XE3P.CRI
337 *
338 *
339 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
340 */
341 GED_INS_FIELD_DstAddrImm,
342
343 /*!
344 * Register Number. This field provides the register number for the destination operand. For a GRF register operand, it provides
345 * the portion of register address aligning to 256-bit. For an ARF register operand, this field is encoded such that MSBs identify
346 * the architecture register type and LSBs provide its register number.
347 *
348 * For a send instruction, this field applies to PostDst.
349 *
350 * @par XE2, XE3, XE3P.CRI
351 *
352 *
353 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
354 */
355 GED_INS_FIELD_DstRegNum,
356
357 /*!
358 * Address Sub-Register Number. This field provides the subregister number for the destination address register. The address
359 * register contains 8 sub-registers. The size of each subregister is one word. The address register contains the register address
360 * of the operand, when the operand is in register-indirect addressing mode.
361 *
362 * For a send instruction, this field applies to PostDst.
363 *
364 * @par XE2, XE3, XE3P.CRI
365 *
366 *
367 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
368 */
369 GED_INS_FIELD_DstAddrSubRegNum,
370
371 /*!
372 * Horizontal Stride. This field provides the distance in unit of data elements between two adjacent data elements within a row
373 * (horizontal) in the register region for the destination operand.
374 *
375 * For a send instruction, this field applies to CurrDst. PostDst only uses the register number.
376 *
377 * @par XE2, XE3, XE3P.CRI
378 *
379 *
380 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
381 */
382 GED_INS_FIELD_DstHorzStride,
383
384 /*!
385 * Addressing Mode. This field determines the addressing method of the destination operand.
386 *
387 * For a send instruction, this field applies to PostDst - the post destination operand. Addressing mode for CurrDst (current
388 * destination operand) is fixed as Direct.
389 *
390 * @par XE2, XE3, XE3P.CRI
391 *
392 *
393 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
394 */
395 GED_INS_FIELD_DstAddrMode,
396
397 /*!
398 * Channel Select. This field controls the channel swizzle for the first source operand (src0). The normally sequential channel
399 * assignment can be altered by explicitly identifying neighboring data elements for each channel. Out of the 8-bit field, 2 bits
400 * are assigned for each channel within the group of 4. ChanSel[1:0], [3.2], [5.4] and [7,6] are for channel 0 ("x"), 1 ("y"), 2
401 * ("z"), and 3 ("w") in the group, respectively.
402 *
403 * @par Models: 10, 7, 7.5, 8, 8.1, 9
404 */
405 GED_INS_FIELD_Src0ChanSel,
406
407 /*!
408 * Sub-Register Number. This field provides the sub-register number for the first source operand (src0). For a GRF register
409 * operand, it provides the byte address within a 256-bit register. For an ARF register operand, this field also provides the
410 * sub-register number according to the encoding defined for the given architecture register.
411 *
412 * @par XE2, XE3, XE3P.CRI
413 *
414 *
415 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
416 */
417 GED_INS_FIELD_Src0SubRegNum,
418
419 /*!
420 * Address Immediate. This field provides the immediate value in units of bytes added to the address register to compute the
421 * register address (byte-aligned region origin) for the first source operand (src0). It is a signed integer.
422 *
423 * @par XE2, XE3, XE3P.CRI
424 *
425 *
426 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
427 */
428 GED_INS_FIELD_Src0AddrImm,
429
430 /*!
431 * Register Number. This field provides the register number for the first source operand (src0). For a GRF register operand, it
432 * provides the portion of register address aligning to 256-bit. For an ARF register operand, this field is encoded such that MSBs
433 * identify the architecture register type and LSBs provide its register number.
434 *
435 * @par XE2, XE3, XE3P.CRI
436 *
437 *
438 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
439 */
440 GED_INS_FIELD_Src0RegNum,
441
442 /*!
443 * Address Sub-Register Number. This field provides the subregister number for the first source (src0) address register. The
444 * address register contains 8 sub-registers. The size of each subregister is one word. The address register contains the register
445 * address of the operand, when the operand is in register-indirect addressing mode.
446 *
447 * @par XE2, XE3, XE3P.CRI
448 *
449 *
450 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
451 */
452 GED_INS_FIELD_Src0AddrSubRegNum,
453
454 /*!
455 * Source Modifier. This field specifies the numeric modification of the first source operand (src0). The value of each data
456 * element of the source operand can optionally have its absolute value taken and/or its sign inverted prior to delivery to the
457 * execution pipe. The absolute value is prior to negate such that a guaranteed negative value can be produced.
458 *
459 * @par XE2, XE3, XE3P.CRI
460 *
461 *
462 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
463 */
464 GED_INS_FIELD_Src0SrcMod,
465
466 /*!
467 * Addressing Mode. This field determines the addressing method of the first source operand (src0).
468 *
469 * @par XE2, XE3, XE3P.CRI
470 *
471 *
472 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
473 */
474 GED_INS_FIELD_Src0AddrMode,
475
476 /*!
477 * Horizontal Stride. This field provides the distance in unit of data elements between two adjacent data elements within a row
478 * (horizontal) in the register region for the first source operand (src0).
479 *
480 * @par XE2, XE3, XE3P.CRI
481 *
482 *
483 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
484 */
485 GED_INS_FIELD_Src0HorzStride,
486
487 /*!
488 * Width. This field specifies the number of elements in the horizontal dimension of the region for the first source operand
489 * (src0). This field cannot exceed the ExecSize field of the instruction.
490 *
491 * @par XE2, XE3, XE3P.CRI
492 *
493 *
494 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
495 */
496 GED_INS_FIELD_Src0Width,
497
498 /*!
499 * Vertical Stride. The field provides the vertical stride of the register region in unit of data elements for the first source
500 * operand (src0).
501 *
502 * GED uses a (dummy) vertical stride to denote the special values Vx1 or VxH.
503 *
504 * @par XE2, XE3, XE3P.CRI
505 *
506 *
507 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
508 */
509 GED_INS_FIELD_Src0VertStride,
510
511 /*!
512 * Flag Subregister Number.
513 *
514 * @par XE2, XE3, XE3P.CRI
515 *
516 *
517 * @par 10, 11, TGL, XE.HP, XE.HPG, XE.LPG.MD, 8, 8.1, 9
518 * This field contains the 16-bit flag subregister number (.0 or .1) for instructions with a non-zero Conditional Modifier. The
519 * specified flag subregister is the source for any predication and the destination for new flag values produced by any enabled
520 * conditional modifier. A flag subregister can be both a predication source and a conditional modifier destination in the same
521 * instruction. The number of flag bits used or updated depends on the execution size.
522 *
523 * @par 7, 7.5
524 * This field contains the flag subregister number for instructions with a non-zero Conditional Modifier.
525 *
526 * @par XE.HPC.A, XE.HPC
527 * This field specifies the sub-register number for a flag register operand. There are two sub-registers in the flag register.
528 * Each sub-register contains 16 flag bits. The selected flag sub-register is the source for predication if predication is enabled
529 * for the instruction. It is the destination to store conditional flag bits if conditional modifier is enabled for the
530 * instruction. The same flag sub-register can be both the predication source and conditional destination, if both predication and
531 * conditional modifier are enabled.
532 *
533 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
534 */
535 GED_INS_FIELD_FlagSubRegNum,
536
537 /*!
538 * Flag Register Number.
539 *
540 * @par XE2, XE3, XE3P.CRI
541 *
542 *
543 * @par 10, 11, TGL, XE.HP, XE.HPG, XE.LPG.MD, 8, 8.1, 9
544 * This field contains the 32-bit flag register number (f0 or f1) for instructions with a non-zero Conditional Modifier.
545 *
546 * @par 7, 7.5
547 * This field contains the flag register number for instructions with a non-zero Conditional Modifier.
548 *
549 * @par XE.HPC.A, XE.HPC
550 * This field specifies the register number for a flag register operand.
551 *
552 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
553 */
554 GED_INS_FIELD_FlagRegNum,
555
556 /*!
557 * Channel Select. This field controls the channel swizzle for the second source operand (src1). The normally sequential channel
558 * assignment can be altered by explicitly identifying neighboring data elements for each channel. Out of the 8-bit field, 2 bits
559 * are assigned for each channel within the group of 4. ChanSel[1:0], [3.2], [5.4] and [7,6] are for channel 0 ("x"), 1 ("y"), 2
560 * ("z"), and 3 ("w") in the group, respectively.
561 *
562 * @par Models: 10, 7, 7.5, 8, 8.1, 9
563 */
564 GED_INS_FIELD_Src1ChanSel,
565
566 /*!
567 * Sub-Register Number. This field provides the sub-register number for the second source operand (src1). For a GRF register
568 * operand, it provides the byte address within a 256-bit register.
569 *
570 * @par XE2, XE3, XE3P.CRI
571 *
572 *
573 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
574 */
575 GED_INS_FIELD_Src1SubRegNum,
576
577 /*!
578 * Address Immediate. This field provides the immediate value in units of bytes added to the address register to compute the
579 * register address (byte-aligned region origin) for the second source operand (src1). It is a signed integer.
580 *
581 * @par XE2, XE3, XE3P.CRI
582 *
583 *
584 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
585 */
586 GED_INS_FIELD_Src1AddrImm,
587
588 /*!
589 * Register Number. This field provides the register number for the second source operand (src1). For a GRF register operand, it
590 * provides the portion of register address aligning to 256-bit.
591 *
592 * @par XE2, XE3, XE3P.CRI
593 *
594 *
595 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
596 */
597 GED_INS_FIELD_Src1RegNum,
598
599 /*!
600 * Address Sub-Register Number. This field provides the subregister number for the second source (src1) address register. The
601 * address register contains 8 sub-registers. The size of each subregister is one word. The address register contains the register
602 * address of the operand, when the operand is in register-indirect addressing mode.
603 *
604 * @par XE2, XE3, XE3P.CRI
605 *
606 *
607 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
608 */
609 GED_INS_FIELD_Src1AddrSubRegNum,
610
611 /*!
612 * Source Modifier. This field specifies the numeric modification of the second source operand (src1). The value of each data
613 * element of the source operand can optionally have its absolute value taken and/or its sign inverted prior to delivery to the
614 * execution pipe. The absolute value is prior to negate such that a guaranteed negative value can be produced.
615 *
616 * @par XE2, XE3, XE3P.CRI
617 *
618 *
619 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
620 */
621 GED_INS_FIELD_Src1SrcMod,
622
623 /*!
624 * Addressing Mode. This field determines the addressing method of the second source operand (src1)
625 *
626 * @par XE2, XE3, XE3P.CRI
627 *
628 *
629 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
630 */
631 GED_INS_FIELD_Src1AddrMode,
632
633 /*!
634 * Horizontal Stride. This field provides the distance in unit of data elements between two adjacent data elements within a row
635 * (horizontal) in the register region for the second source operand (src1).
636 *
637 * @par XE2, XE3, XE3P.CRI
638 *
639 *
640 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
641 */
642 GED_INS_FIELD_Src1HorzStride,
643
644 /*!
645 * Width. This field specifies the number of elements in the horizontal dimension of the region for the second source operand
646 * (src1). This field cannot exceed the ExecSize field of the instruction.
647 *
648 * @par XE2, XE3, XE3P.CRI
649 *
650 *
651 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
652 */
653 GED_INS_FIELD_Src1Width,
654
655 /*!
656 * Vertical Stride. The field provides the vertical stride of the register region in unit of data elements for the second source
657 * operand (src1).
658 *
659 * GED uses a (dummy) vertical stride to denote the special values Vx1 or VxH.
660 *
661 * @par XE2, XE3, XE3P.CRI
662 *
663 *
664 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
665 */
666 GED_INS_FIELD_Src1VertStride,
667
668 /*!
669 * 32-bit Immediate. The 32-bit immediate data field for the operand. It may contain any legal bit pattern for its associated
670 * type. Only one 32-bit immediate value may be present in an instruction, therefore binary operations only support src1 as an
671 * immediate value.
672 *
673 * The low order bits are directly used when fewer than 32-bits are needed to describe the desired type; the 32-bits are not
674 * coerced into the designated type.
675 *
676 * For UW and W data types, programmer is required to replicate the lower word to the upper word of this field.
677 *
678 * @par XE2, XE3, XE3P.CRI
679 *
680 *
681 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
682 */
683 GED_INS_FIELD_Imm,
684
685 /*!
686 * Source Modifier. This field specifies the numeric modification of the third source operand (src2). The value of each data
687 * element of the source operand can optionally have its absolute value taken and/or its sign inverted prior to delivery to the
688 * execution pipe. The absolute value is prior to negate such that a guaranteed negative value can be produced.
689 *
690 * @par XE2, XE3, XE3P.CRI
691 *
692 *
693 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
694 */
695 GED_INS_FIELD_Src2SrcMod,
696
697 /*!
698 * Source Data Type.
699 *
700 * @par 10
701 * In Align16, this field is valid only for three-source instructions and contains the data type for all three source operands.
702 * Three source instructions can use operands with mixed-mode precision. When the SrcDataType field is set to :f or :hf it defines
703 * precision for source 0 only, and fields Src1DataType and Src2DataType define precision for other source operands.
704 *
705 * @par 7, 7.5, 8
706 * This field is valid only for three-source instructions and contains the data type for all three source operands.
707 *
708 * @par 8.1, 9
709 * This field is valid only for three-source instructions and contains the data type for all three source operands. Three source
710 * instructions can use operands with mixed-mode precision. When the SrcDataType field is set to :f or :hf it defines precision
711 * for source 0 only, and fields Src1DataType and Src2DataType define precision for other source operands.
712 *
713 * @par Models: 10, 7, 7.5, 8, 8.1, 9
714 */
715 GED_INS_FIELD_SrcDataType,
716
717 /*!
718 * Replicate Control. This field controls the replication of the starting channel to all channels in the execution size.
719 *
720 * @par Models: 10, 7, 7.5, 8, 8.1, 9
721 */
722 GED_INS_FIELD_Src0RepCtrl,
723
724 /*!
725 * Replicate Control. This field controls the replication of the starting channel to all channels in the execution size.
726 *
727 * @par Models: 10, 7, 7.5, 8, 8.1, 9
728 */
729 GED_INS_FIELD_Src1RepCtrl,
730
731 /*!
732 * Replicate Control. This field controls the replication of the starting channel to all channels in the execution size.
733 *
734 * @par Models: 10, 7, 7.5, 8, 8.1, 9
735 */
736 GED_INS_FIELD_Src2RepCtrl,
737
738 /*!
739 * Channel Select. This field controls the channel swizzle for the third source operand (src2). The normally sequential channel
740 * assignment can be altered by explicitly identifying neighboring data elements for each channel. Out of the 8-bit field, 2 bits
741 * are assigned for each channel within the group of 4. ChanSel[1:0], [3.2], [5.4] and [7,6] are for channel 0 ("x"), 1 ("y"), 2
742 * ("z"), and 3 ("w") in the group, respectively.
743 *
744 * @par Models: 10, 7, 7.5, 8, 8.1, 9
745 */
746 GED_INS_FIELD_Src2ChanSel,
747
748 /*!
749 *
750 *
751 * @par TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
752 * Sub-Register Number. This field provides the sub-register number for the third source operand (src2). For a GRF register
753 * operand, it provides the byte address within a 256-bit register.
754 *
755 * @par 10, 11, 7, 7.5, 8, 8.1, 9
756 * Sub-Register Number. This field provides the sub-register number for the third source operand (src2). For a GRF register
757 * operand, it provides the byte address within a 256-bit register. For an ARF register operand, this field also provides the
758 * sub-register number according to the encoding defined for the given architecture register.
759 *
760 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
761 */
762 GED_INS_FIELD_Src2SubRegNum,
763
764 /*!
765 *
766 *
767 * @par TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
768 * Register Number. This field provides the register number for the third source operand (src2). For a GRF register operand, it
769 * provides the portion of register address aligning to 256-bit.
770 *
771 * @par 10, 11, 7, 7.5, 8, 8.1, 9
772 * Register Number. This field provides the register number for the third source operand (src2). For a GRF register operand, it
773 * provides the portion of register address aligning to 256-bit. For an ARF register operand, this field is encoded such that MSBs
774 * identify the architecture register type and LSBs provide its register number.
775 *
776 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
777 */
778 GED_INS_FIELD_Src2RegNum,
779
780 /*!
781 * Source 2 Register File. This field identifies the register file of the third source operand (src2).
782 *
783 * @par XE2, XE3, XE3P.CRI
784 *
785 *
786 * @par 10, 11
787 * In three source instructions, src2 is either GRF or Immediate. If src0 is Immediate, src2 must be GRF.
788 *
789 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
790 */
791 GED_INS_FIELD_Src2RegFile,
792
793 /*!
794 * Addressing Mode. This field determines the addressing method of the third source operand (src2)
795 *
796 * @par XE2, XE3, XE3P.CRI
797 *
798 *
799 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
800 */
801 GED_INS_FIELD_Src2AddrMode,
802
803 /*!
804 * Vertical Stride. The field provides the vertical stride of the register region in unit of data elements for the third source
805 * operand (src2).
806 *
807 * GED uses a (dummy) vertical stride to denote the special values Vx1 or VxH.
808 *
809 * @par Models: 10, 11, 7, 7.5, 8, 8.1, 9
810 */
811 GED_INS_FIELD_Src2VertStride,
812
813 /*!
814 * Shared Function ID.
815 *
816 * @par XE2, XE3, XE3P.CRI
817 *
818 *
819 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
820 */
821 GED_INS_FIELD_SFID,
822
823 /*!
824 *
825 *
826 * @par TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, 7, 7.5
827 * Message Descriptor Register File. This field describes the message descriptor of the send instruction.
828 *
829 * @par 10, 11, 8, 8.1, 9
830 * Message descriptor Register File. This field describes the message descriptor of the send instruction.
831 *
832 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
833 */
834 GED_INS_FIELD_DescRegFile,
835
836 /*!
837 *
838 *
839 * @par 7, 7.5
840 * Message Descriptor Data Type. This field specifies the numeric data type of the message descriptor. The bits of a source
841 * operand are interpreted as the identified numeric data type, rather than coerced into a type implied by the operator. Depending
842 * on DescRegFile, there are two different encodings for this field. If a source is a register operand, this field follows the
843 * Source Register Type Encoding. If a source is an immediate operand, this field follows the Source Immediate Type Encoding.
844 *
845 * @par 8, 8.1
846 * Message descriptor Data Type. This field specifies the numeric data type of the message descriptor. The bits of a source
847 * operand are interpreted as the identified numeric data type, rather than coerced into a type implied by the operator. Depending
848 * on Src1RegFile, there are two different encodings for this field. If a source is a register operand, this field follows the
849 * Source Register Type Encoding. If a source is an immediate operand, this field follows the Source Immediate Type Encoding.
850 *
851 * @par Models: 7, 7.5, 8, 8.1
852 */
853 GED_INS_FIELD_DescDataType,
854
855 /*!
856 * Sub-Register Number. This field provides the sub-register number for the message descriptor. For a GRF register operand, it
857 * provides the byte address within a 256-bit register. For an ARF register operand, this field also provides the sub-register
858 * number according to the encoding defined for the given architecture register.
859 *
860 * @par Models: 10, 11, 7, 7.5, 8, 8.1, 9
861 */
862 GED_INS_FIELD_DescAddrSubRegNum,
863
864 /*!
865 * Register Number. This field provides the register number for the message descriptor. For a GRF register operand, it provides
866 * the portion of register address aligning to 256-bit. For an ARF register operand, this field is encoded such that MSBs identify
867 * the architecture register type and LSBs provide its register number.
868 *
869 * @par Models: 10, 11, 7, 7.5, 8, 8.1, 9
870 */
871 GED_INS_FIELD_DescRegNum,
872
873 /*!
874 * Horizontal Stride. This field provides the distance in unit of data elements between two adjacent data elements within a row
875 * (horizontal) in the register region for the message descriptor.
876 *
877 * @par Models: 7
878 */
879 GED_INS_FIELD_DescHorzStride,
880
881 /*!
882 * Width. This field specifies the number of elements in the horizontal dimension of the region for the message descriptor. This
883 * field cannot exceed the ExecSize field of the instruction.
884 *
885 * @par Models: 7
886 */
887 GED_INS_FIELD_DescWidth,
888
889 /*!
890 * Vertical Stride. The field provides the vertical stride of the register region in unit of data elements for the message
891 * descriptor.
892 *
893 * GED uses a (dummy) vertical stride to denote the special values Vx1 or VxH.
894 *
895 * @par Models: 7
896 */
897 GED_INS_FIELD_DescVertStride,
898
899 /*!
900 * Message Description. This field provides the description of the message to be sent.
901 *
902 * The meaning of the field depends on the type of message as well as the message shared function target.
903 *
904 * @par XE2, XE3, XE3P.CRI
905 *
906 *
907 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
908 */
909 GED_INS_FIELD_MsgDesc,
910
911 /*!
912 * Extended Message Description. This field provides the extended description of the message to be sent.
913 *
914 * @par XE2, XE3, XE3P.CRI
915 *
916 *
917 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
918 */
919 GED_INS_FIELD_ExMsgDescImm,
920
921 /*!
922 * End of Thread. This field controls the termination of the thread. For a send instruction, if this field is set, EU will
923 * terminate the thread and also set the EOT bit in the message sideband.
924 *
925 * @par XE2, XE3, XE3P.CRI
926 *
927 *
928 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
929 */
930 GED_INS_FIELD_EOT,
931
932 /*!
933 * Function Control. The type of extended math function to apply.
934 *
935 * @par XE2, XE3, XE3P.CRI
936 *
937 *
938 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
939 */
940 GED_INS_FIELD_MathFC,
941
942 /*!
943 *
944 *
945 * @par 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, 8, 8.1, 9
946 * Jump Instruction Pointer. The byte aligned jump distance if a jump is taken for the instruction. JIP should reference the end
947 * of the innermost conditional block.
948 *
949 * @par 7, 7.5
950 * Jump Target Offset. The jump distance in number of eight-byte units if a jump is taken for the instruction.
951 *
952 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
953 */
954 GED_INS_FIELD_JIP,
955
956 /*!
957 *
958 *
959 * @par 7, 7.5
960 * The jump distance in number of eight-byte units if a jump is taken for the channel.
961 *
962 * @par 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, 8, 8.1, 9
963 * Update Instruction Pointer. The byte aligned jump distance if a jump is taken for the instruction. UIP should reference the
964 * instruction where all channels are expected to come together.
965 *
966 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
967 */
968 GED_INS_FIELD_UIP,
969
970 /*!
971 *
972 *
973 * @par XE.HPC.A, XE.HPC
974 * Lookup one of 32 18-bit values. That value is used (from MSB to LSB) for the CondModifier[3:0], Saturate, AtomicCtrl, MaskCtrl,
975 * PredInv, PredCtrl[1:0], ChOff[1:0], FlagRegNum[1:0], FlagSubRegNum, ExecSize[2:0] bit fields.
976 *
977 * @par 10, 11, 7, 7.5, 8, 8.1, 9
978 * Lookup one of 32 19-bit values. That value is used (from MSB to LSB) for the FlagRegNum, FlagSubRegNum, Saturate, ExecSize,
979 * PredInv, PredCtrl, ThreadCtrl, QtrCtrl, DepCtrl, MaskCtrl, and AccessMode bit fields.
980 *
981 * @par TGL, XE.HP, XE.HPG, XE.LPG.MD
982 * Lookup one of 32 21-bit values. That value is used (from MSB to LSB) for the CondCtrl[3:0], Saturate, AccWrCtrl, AtomicCtrl,
983 * MaskCtrl, PredInv, PredCtrl[3:0], FlagRegNum, FlagSubRegNum, ChOff[2:0], ExecSize[2:0] bit fields.
984 *
985 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
986 */
987 GED_INS_FIELD_ControlIndex,
988
989 /*!
990 *
991 *
992 * @par 7, 7.5
993 * Lookup one of 32 18-bit values. That value is used (from MSB to LSB) for the Dst.AddrMode, Dst.HorzStride, Dst.DstType,
994 * Dst.RegFile, Src0.SrcType, Src0.RegFile, Src1.SrcType, and Src1.RegType bit fields.
995 *
996 * @par TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
997 * Lookup one of 32 20-bit values. That value is used (from MSB to LSB) for the Src1.RegFile[0], Src1.SrcType[3:0],
998 * Src0.RegFile[0], Dst.RegFile[0], Dst.HorzStride[1:0], Src1.IsImm, Src0.IsImm, Src0.SrcType[3:0], Dst.DstType[3:0], Dst.AddrMode
999 * bit fields.
1000 *
1001 * @par 10, 11, 8, 8.1, 9
1002 * Lookup one of 32 21-bit values. That value is used (from MSB to LSB) for the Dst.AddrMode, Dst.HorzStride, Src1.SrcType,
1003 * Src1.RegFile, Src0.SrcType, Src0.RegFile, Dst.DstType, and Dst.RegFile bit fields.
1004 *
1005 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
1006 */
1007 GED_INS_FIELD_DataTypeIndex,
1008
1009 /*!
1010 *
1011 *
1012 * @par XE.HPC.A, XE.HPC
1013 * Lookup one of 16 12-bit values. That value is used (from MSB to LSB) for .
1014 *
1015 * @par TGL, XE.HP, XE.HPG, XE.LPG.MD
1016 * Lookup one of 32 15-bit values. That value is used (from MSB to LSB) for .
1017 *
1018 * @par 10, 11, 7, 7.5, 8, 8.1, 9
1019 * Lookup one of 32 15-bit values. That value is used (from MSB to LSB) for various fields for Src1, Src0, and Dst, including
1020 * ChanEn/ChanSel, SubRegNum, and AddrImm[4] or AddrImm[4:0], depending on AddrMode and AccessMode.
1021 *
1022 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
1023 */
1024 GED_INS_FIELD_SubRegIndex,
1025
1026 /*!
1027 *
1028 *
1029 * @par TGL, XE.HP, XE.HPG, XE.LPG.MD
1030 * Lookup one of 16 12-bit values. That value is used (from MSB to LSB) for the Src0.VertStride, various Src0 bit fields based on
1031 * AccessMode (Src0.ChanSel[7:4], Src0.Width, Src0.HorzStride), Src0.AddrMode, and Src0.SrcMod bit fields. Note that this field
1032 * spans a DWord boundary within the QWord compacted instruction.
1033 *
1034 * @par 7, 7.5
1035 * Lookup one of 32 12-bit values. That value is used (from MSB to LSB) for the Src0.AddrMode, Src0.ChanSel[7:4], Src0.HorzStride,
1036 * Src0.SrcMod, Src0.VertStride, and Src0.Width bit fields. Note that this field spans a DWord boundary within the QWord compacted
1037 * instruction.
1038 *
1039 * @par 10, 11, 8, 8.1, 9
1040 * Lookup one of 32 12-bit values. That value is used (from MSB to LSB) for the Src0.VertStride, various Src0 bit fields based on
1041 * AccessMode (Src0.ChanSel[7:4], Src0.Width, Src0.HorzStride), Src0.AddrMode, and Src0.SrcMod bit fields. Note that this field
1042 * spans a DWord boundary within the QWord compacted instruction.
1043 *
1044 * @par XE.HPC.A, XE.HPC
1045 * Lookup one of 8 11-bit values. That value is used (from MSB to LSB) for the Src0.VertStride, various Src0 bit fields based on
1046 * AccessMode (Src0.ChanSel[7:4], Src0.Width, Src0.HorzStride), Src0.AddrMode, and Src0.SrcMod bit fields. Note that this field
1047 * spans a DWord boundary within the QWord compacted instruction.
1048 *
1049 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
1050 */
1051 GED_INS_FIELD_Src0Index,
1052
1053 /*!
1054 *
1055 *
1056 * @par 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, 8, 8.1, 9
1057 * If not an immediate operand, lookup one of 32 12-bit values that maps to bits 120:109. That value is used (from MSB to LSB) for
1058 * the Src1.VertStride, various Src1 bit fields based on AccessMode (Src1.ChanSel[7:4], Src1.Width, Src1.HorzStride),
1059 * Src1.AddrMode, and Src1.SrcMod bit fields.
1060 *
1061 * If an immediate operand, there is no lookup. Determines bits 127:104 (Imm[31:8]) as follows: map bits 39:35 directly to bits
1062 * 108:104. Sign extend to fill bits 127:109. Compact format bit 39 is thus copied to all of bits 127:108 for an immediate
1063 * operand.
1064 *
1065 * @par 7, 7.5
1066 * Lookup one of 32 12-bit values. If not an immediate operand, maps to bits 120:109, covering the Src1.AddrMode,
1067 * Src1.ChanSel[7:4], Src1.HorzStride, Src1.SrcMod, Src1.VertStride, and Src1.Width bit fields. If an immediate operand, does not
1068 * do any lookup. The 5-bit value directly maps to bits 108:104 (Imm[12:8]) and the upper bit (bit 39 in the compact format, bit
1069 * 108 in the native format) is replicated to provide bits 127:109 (Imm[31:13]) in the native format.
1070 *
1071 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
1072 */
1073 GED_INS_FIELD_Src1Index,
1074
1075 /*!
1076 *
1077 *
1078 * @par 8, 8.1
1079 * If not an immediate operand, lookup one of 32 12-bit values that maps to bits 120:109. That value is used (from MSB to LSB) for
1080 * various Desc bit fields.
1081 *
1082 * If an immediate operand, there is no lookup. Determines bits 127:104 (Imm[31:8]) as follows: map bits 39:35 directly to bits
1083 * 108:104. Sign extend to fill bits 127:109. Compact format bit 39 is thus copied to all of bits 127:108 for an immediate
1084 * operand.
1085 *
1086 * @par 7
1087 * Lookup one of 32 12-bit values. If not an immediate operand, maps to bits 120:109, covering the Src1.AddrMode,
1088 * Src1.ChanSel[7:4], Src1.HorzStride, Src1.SrcMod, Src1.VertStride, and Src1.Width bit fields. If an immediate operand, does not
1089 * do any lookup. The 5-bit value directly maps to bits 108:104 (Imm[12:8]) and the upper bit (bit 39 in the compact format, bit
1090 * 108 in the native format) is replicated to provide bits 127:109 (Imm[31:13]) in the native format.
1091 *
1092 * @par 7.5
1093 * Lookup one of 32 12-bit values. If not an immediate operand, maps to bits 120:109, for various Desc bit fields. If an immediate
1094 * operand, does not do any lookup. The 5-bit value directly maps to bits 108:104 (Imm[12:8]) and the upper bit (bit 39 in the
1095 * compact format, bit 108 in the native format) is replicated to provide bits 127:109 (Imm[31:13]) in the native format.
1096 *
1097 * @par Models: 7, 7.5, 8, 8.1
1098 */
1099 GED_INS_FIELD_DescIndex,
1100
1101 /*!
1102 * Extended Message Descriptor Register File. This field describes the extended message descriptor of the send instruction.
1103 *
1104 * @par XE2, XE3, XE3P.CRI
1105 *
1106 *
1107 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7.5, 8, 8.1, 9
1108 */
1109 GED_INS_FIELD_ExDescRegFile,
1110
1111 /*!
1112 * Specifies the extra registers used by the math macro instructions (formerly SpecialAcc).
1113 *
1114 * @par XE2, XE3, XE3P.CRI
1115 *
1116 *
1117 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8, 8.1, 9
1118 */
1119 GED_INS_FIELD_DstMathMacroExt,
1120
1121 /*!
1122 * Specifies the extra registers used by the math macro instructions (formerly SpecialAcc).
1123 *
1124 * @par XE2, XE3, XE3P.CRI
1125 *
1126 *
1127 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8, 8.1, 9
1128 */
1129 GED_INS_FIELD_Src0MathMacroExt,
1130
1131 /*!
1132 * Specifies the extra registers used by the math macro instructions (formerly SpecialAcc).
1133 *
1134 * @par XE2, XE3, XE3P.CRI
1135 *
1136 *
1137 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8, 8.1, 9
1138 */
1139 GED_INS_FIELD_Src1MathMacroExt,
1140
1141 /*!
1142 * Specifies the extra registers used by the math macro instructions (formerly SpecialAcc).
1143 *
1144 * @par XE2, XE3, XE3P.CRI
1145 *
1146 *
1147 * @par Models: 10, 11, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8, 8.1, 9
1148 */
1149 GED_INS_FIELD_Src2MathMacroExt,
1150
1151 /*!
1152 * Branch Control. The instruction directs the instruction pointer to the offset specified by the UIP offset or to the next IP
1153 * based on the BranchCtrl bit in the instruction. The active channels that are predicated on this instruction will take the IP +
1154 * UIP path when BranchCtrl is set else the channels take IP + 1. The active channels that are not predicated on this instruction
1155 * will be made inactive and waiting to be joined at the join IP. The join IP is IP + UIP when BranchCtrl is clear else it is the
1156 * next IP.
1157 *
1158 * @par XE2, XE3, XE3P.CRI
1159 *
1160 *
1161 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8, 8.1, 9
1162 */
1163 GED_INS_FIELD_BranchCtrl,
1164
1165 /*!
1166 *
1167 *
1168 * @par XE.HPC.A, XE.HPC
1169 * Lookup one of 16 21-bit values. That value is used (from MSB to LSB) for the Src1.RegFile[0], Src1.SrcType[3:0],
1170 * Src0.RegFile[0], Dst.RegFile[0], Dst.HorzStride[1:0], Src1.IsImm, Src0.IsImm, Src0.SrcType[3:0], Dst.DstType[3:0], Dst.AddrMode
1171 * bit fields.
1172 *
1173 * @par TGL, XE.HP, XE.HPG, XE.LPG.MD
1174 * Lookup one of 32 20-bit values. That value is used (from MSB to LSB) for the Src1.RegFile[0], Src1.SrcType[3:0],
1175 * Src0.RegFile[0], Dst.RegFile[0], Dst.HorzStride[1:0], Src1.IsImm, Src0.IsImm, Src0.SrcType[3:0], Dst.DstType[3:0], Dst.AddrMode
1176 * bit fields.
1177 *
1178 * @par 8, 8.1
1179 * Lookup one of four 46-bit values. That value is used (from MSB to LSB) for the Src2.RegNum[7], Src1.RegNum[7], Src0.RegNum[7],
1180 * Src2.ChanSel, Src1.ChanSel, Src0.ChanSel, Dst.SubRegNum, Dst.ChanEnable, Dst.DstType, SrcType, Src2.Modifier, Src1.Modifier,
1181 * and Src0.Modifier bit fields.
1182 *
1183 * @par 10, 9
1184 * Lookup one of four 49-bit values. That value is used (from MSB to LSB) for the Src2.SubRegNum, Src2.RegNum[7], Src1.RegNum,
1185 * Src1.RegNum[7], Src0.SubRegNum, Src0.RegNum[7], Src2.ChanSel, Src1.ChanSel, Src0.ChanSel, Dst.SubRegNum, Dst.ChanEnable,
1186 * Dst.DstType, SrcType, Src2.Modifier, Src1.Modifier, and Src0.Modifier bit fields.
1187 *
1188 * @par Models: 10, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8, 8.1, 9
1189 */
1190 GED_INS_FIELD_SourceIndex,
1191
1192 /*!
1193 * Source 2 Data Type.
1194 *
1195 * @par XE2, XE3, XE3P.CRI
1196 *
1197 *
1198 * @par 10
1199 * In Align16 this field is only valid when the SrcDataType is :f or :hf and in which case it defines the data type for the third
1200 * source operand (src2), otherwise it is reserved and MBZ. In Align1 this field is always valid and it defines the data type for
1201 * the third source operand (src2).
1202 *
1203 * @par 8.1, 9
1204 * This field is only valid when the SrcDataType is :f or :hf and in which case it defines the data type for the third source
1205 * operand (src2). Otherwise it is reserved and MBZ.
1206 *
1207 * @par 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
1208 * This field specifies the numeric data type of the third source operand (src2).
1209 *
1210 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 8.1, 9
1211 */
1212 GED_INS_FIELD_Src2DataType,
1213
1214 /*!
1215 * No Source Dependency Set. In send, sendc, sends and sendsc instruction, this bit controls the setting of GRF source dependency.
1216 * The source dependencies of both sources are considered together.
1217 *
1218 * @par Models: 10, 11, 9
1219 */
1220 GED_INS_FIELD_NoSrcDepSet,
1221
1222 /*!
1223 * Extended Function Control.
1224 *
1225 * This field is intended to control the target function unit.
1226 *
1227 * Refer to the section on the specific target function unit for details on the contents of this field.
1228 *
1229 * @par Models: 10, 11, 9
1230 */
1231 GED_INS_FIELD_ExFuncCtrl,
1232
1233 /*!
1234 * Specify the extended message length.
1235 *
1236 * @par Models: 10, 11, 9
1237 */
1238 GED_INS_FIELD_ExMsgLength,
1239
1240 /*!
1241 * Sub-Register Number. This field provides the sub-register number for the extended message descriptor.
1242 *
1243 * @par XE2, XE3, XE3P.CRI
1244 *
1245 *
1246 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 9
1247 */
1248 GED_INS_FIELD_ExDescAddrSubRegNum,
1249
1250 /*!
1251 * Register Number. This field provides the register number for the extended message descriptor. For an ARF register operand, this
1252 * field is encoded such that MSBs identify the architecture register type and LSBs provide its register number.
1253 *
1254 * @par Models: 10, 11, 9
1255 */
1256 GED_INS_FIELD_ExDescRegNum,
1257
1258 /*!
1259 *
1260 *
1261 * @par Models: 9
1262 */
1263 GED_INS_FIELD_MsgDescCategory,
1264
1265 /*!
1266 * Address offset (Hword based)
1267 *
1268 * @par Models: 9
1269 */
1270 GED_INS_FIELD_MsgDescScratchAddrOffset,
1271
1272 /*!
1273 *
1274 *
1275 * @par Models: 9
1276 */
1277 GED_INS_FIELD_MsgDescScratchBlockSize,
1278
1279 /*!
1280 *
1281 *
1282 * @par Models: 9
1283 */
1284 GED_INS_FIELD_MsgDescScratchInvalidateAfterRead,
1285
1286 /*!
1287 * Two modes of channel-enable are provided: a SIMD8 or SIMD16 Dword channel serial view of a register, and a SIMD4x2 view of a
1288 * register.
1289 *
1290 * @par Models: 9
1291 */
1292 GED_INS_FIELD_MsgDescScratchChannelMode,
1293
1294 /*!
1295 * Operation Type
1296 *
1297 * @par Models: 9
1298 */
1299 GED_INS_FIELD_MsgDescScratchMessageType,
1300
1301 /*!
1302 *
1303 *
1304 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1305 */
1306 GED_INS_FIELD_ExecutionDataType,
1307
1308 /*!
1309 * 16-bit Immediate.
1310 *
1311 * @par XE2, XE3, XE3P.CRI
1312 *
1313 *
1314 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1315 */
1316 GED_INS_FIELD_Src0TernaryImm,
1317
1318 /*!
1319 * 16-bit Immediate.
1320 *
1321 * @par XE2, XE3, XE3P.CRI
1322 *
1323 *
1324 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1325 */
1326 GED_INS_FIELD_Src2TernaryImm,
1327
1328 /*!
1329 *
1330 *
1331 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1332 */
1333 GED_INS_FIELD_Src2HorzStride,
1334
1335 /*!
1336 * SWSB.
1337 *
1338 * @par XE2, XE3, XE3P.CRI
1339 *
1340 *
1341 * @par Models: TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1342 */
1343 GED_INS_FIELD_SWSB,
1344
1345 /*!
1346 * Src1IsImm
1347 *
1348 * @par XE2, XE3, XE3P.CRI
1349 *
1350 *
1351 * @par Models: TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1352 */
1353 GED_INS_FIELD_Src1IsImm,
1354
1355 /*!
1356 * Src0IsImm
1357 *
1358 * @par XE2, XE3, XE3P.CRI
1359 *
1360 *
1361 * @par Models: TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1362 */
1363 GED_INS_FIELD_Src0IsImm,
1364
1365 /*!
1366 * TBD
1367 *
1368 * @par Models: TGL, XE.HP, XE.HPG, XE.LPG.MD
1369 */
1370 GED_INS_FIELD_Src0SubRegNumByte,
1371
1372 /*!
1373 * Sync FC.
1374 *
1375 * @par XE2, XE3, XE3P.CRI
1376 *
1377 *
1378 * @par Models: TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1379 */
1380 GED_INS_FIELD_SyncFC,
1381
1382 /*!
1383 * Fusion Control. For send and sendc instruction, this field provides explicit control for EU fusion lock-step execution. When
1384 * this bit is set , the instruction is executed serially starting from the first EU to the last EU in the fused set.
1385 *
1386 * @par Models: TGL, XE.HP, XE.HPG, XE.LPG.MD
1387 */
1388 GED_INS_FIELD_FusionCtrl,
1389
1390 /*!
1391 * Lookup one of 32 19-bit values. That value is used (from MSB to LSB) for the Src1.RegFile[0], Src1.SrcType[3:0],
1392 * Src0.RegFile[0], Dst.RegFile[0], Dst.HorzStride[1:0], Src1.IsImm, Src0.IsImm, Src0.SrcType[3:0], Dst.DstType[3:0], Dst.AddrMode
1393 * bit fields.
1394 *
1395 * @par Models: TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
1396 */
1397 GED_INS_FIELD_DataTypeIndexNoDep,
1398
1399 /*!
1400 * Compacted immediate
1401 *
1402 * @par XE2, XE3, XE3P.CRI
1403 *
1404 *
1405 * @par Models: TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1406 */
1407 GED_INS_FIELD_CompactedImm,
1408
1409 /*!
1410 * This field indicate the number of instructions to be created from a single macro instruction
1411 *
1412 * @par XE2, XE3, XE3P.CRI
1413 *
1414 *
1415 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE2, XE3, XE3P.CRI
1416 */
1417 GED_INS_FIELD_RepeatCount,
1418
1419 /*!
1420 * This field describes the systolic depth of the operation
1421 *
1422 * @par XE2, XE3, XE3P.CRI
1423 *
1424 *
1425 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1426 */
1427 GED_INS_FIELD_SystolicDepth,
1428
1429 /*!
1430 * Source 2 Operand Precision. This field specifies the number of bits per element of the third source operand (src2).
1431 *
1432 * @par XE2, XE3, XE3P.CRI
1433 *
1434 *
1435 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE2, XE3, XE3P.CRI
1436 */
1437 GED_INS_FIELD_Src2Precision,
1438
1439 /*!
1440 * Source 2 Operand Precision. This field specifies the number of bits per element of the second source operand (src1).
1441 *
1442 * @par XE2, XE3, XE3P.CRI
1443 *
1444 *
1445 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE2, XE3, XE3P.CRI
1446 */
1447 GED_INS_FIELD_Src2SubBytePrecision,
1448
1449 /*!
1450 * Source 1 Operand Precision. This field specifies the number of bits per element of the third source operand (src2).
1451 *
1452 * @par XE2, XE3, XE3P.CRI
1453 *
1454 *
1455 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE2, XE3, XE3P.CRI
1456 */
1457 GED_INS_FIELD_Src1Precision,
1458
1459 /*!
1460 * Source 1 Operand Precision. This field specifies the number of bits per element of the second source operand (src1).
1461 *
1462 * @par XE2, XE3, XE3P.CRI
1463 *
1464 *
1465 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE2, XE3, XE3P.CRI
1466 */
1467 GED_INS_FIELD_Src1SubBytePrecision,
1468
1469 /*!
1470 * Index of the lut8 lookup table for the bfn instruction
1471 *
1472 * @par XE2, XE3, XE3P.CRI
1473 *
1474 *
1475 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1476 */
1477 GED_INS_FIELD_BfnFC,
1478
1479 /*!
1480 * This field indicates the Extended Bindless Surface Offset (ExBSO) mode.
1481 *
1482 * @par XE2, XE3, XE3P.CRI
1483 *
1484 *
1485 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1486 */
1487 GED_INS_FIELD_ExBSO,
1488
1489 /*!
1490 * CPS LOD Compensation.
1491 *
1492 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
1493 */
1494 GED_INS_FIELD_CPS,
1495
1496 /*!
1497 * This field specifies the number of 256-bit GRF registers starting from Src1RegNum to be sent out on the request message
1498 * payload.
1499 *
1500 * @par XE2, XE3, XE3P.CRI
1501 *
1502 *
1503 * @par Models: XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI
1504 */
1505 GED_INS_FIELD_Src1Length,
1506
1507 /*!
1508 * Src2IsImm
1509 *
1510 * @par XE2, XE3, XE3P.CRI
1511 *
1512 *
1513 * @par Models: XE.HPC.A, XE.HPC, XE2, XE3, XE3P.CRI
1514 */
1515 GED_INS_FIELD_Src2IsImm,
1516
1517 /*!
1518 *
1519 *
1520 * @par Models: XE3
1521 */
1522 GED_INS_FIELD_MetaRegFile,
1523
1524 /*!
1525 *
1526 *
1527 * @par Models: XE3
1528 */
1529 GED_INS_FIELD_MetaSubRegNum,
1530
1531 /*!
1532 *
1533 *
1534 * @par Models: XE3
1535 */
1536 GED_INS_FIELD_MetaRegNum,
1537
1538 /*!
1539 *
1540 *
1541 * @par Models: XE3P.CRI
1542 */
1543 GED_INS_FIELD_DstRegNum8,
1544
1545 /*!
1546 *
1547 *
1548 * @par Models: XE3P.CRI
1549 */
1550 GED_INS_FIELD_Src0RegNum8,
1551
1552 /*!
1553 *
1554 *
1555 * @par Models: XE3P.CRI
1556 */
1557 GED_INS_FIELD_LfsrFC,
1558
1559 /*!
1560 *
1561 *
1562 * @par Models: XE3P.CRI
1563 */
1564 GED_INS_FIELD_ShuffleFC,
1565
1566 /*!
1567 *
1568 *
1569 * @par Models: XE3P.CRI
1570 */
1571 GED_INS_FIELD_Src1RegNum8,
1572
1573 /*!
1574 *
1575 *
1576 * @par Models: XE3P.CRI
1577 */
1578 GED_INS_FIELD_Src1ScalarReg,
1579
1580 /*!
1581 *
1582 *
1583 * @par Models: XE3P.CRI
1584 */
1585 GED_INS_FIELD_Src2RegNum8,
1586
1587 /*!
1588 *
1589 *
1590 * @par Models: XE3P.CRI
1591 */
1592 GED_INS_FIELD_FwdCtrl,
1593
1594 /*!
1595 *
1596 *
1597 * @par Models: XE3P.CRI
1598 */
1599 GED_INS_FIELD_DnsclMode,
1600
1601 /*!
1602 *
1603 *
1604 * @par Models: XE3P.CRI
1605 */
1606 GED_INS_FIELD_RoundingMode,
1607
1608 /*!
1609 *
1610 *
1611 * @par Models: XE3P.CRI
1612 */
1613 GED_INS_FIELD_ConvSrcDataType,
1614
1615 /*!
1616 *
1617 *
1618 * @par Models: XE3P.CRI
1619 */
1620 GED_INS_FIELD_ConvDstDataType,
1621
1622 /*!
1623 *
1624 *
1625 * @par Models: XE3P.CRI
1626 */
1627 GED_INS_FIELD_SendSwitchCtrl,
1628
1629 /*!
1630 *
1631 *
1632 * @par Models: XE3P.CRI
1633 */
1634 GED_INS_FIELD_IndMsgDesc0IsPresent,
1635
1636 /*!
1637 *
1638 *
1639 * @par Models: XE3P.CRI
1640 */
1641 GED_INS_FIELD_IndMsgDesc1IsPresent,
1642
1643 /*!
1644 *
1645 *
1646 * @par Models: XE3P.CRI
1647 */
1648 GED_INS_FIELD_MsgDesc64,
1649
1650 /*!
1651 *
1652 *
1653 * @par Models: XE3P.CRI
1654 */
1655 GED_INS_FIELD_IndMsgDesc1Addr,
1656
1657 /*!
1658 *
1659 *
1660 * @par Models: XE3P.CRI
1661 */
1662 GED_INS_FIELD_IndMsgDesc0Addr,
1663
1664 /*!
1665 *
1666 *
1667 * @par Models: XE3P.CRI
1668 */
1669 GED_INS_FIELD_Src0Length,
1670
1671 /*!
1672 *
1673 *
1674 * @par Models: XE3P.CRI
1675 */
1676 GED_INS_FIELD_Src4RegFile,
1677
1678 /*!
1679 *
1680 *
1681 * @par Models: XE3P.CRI
1682 */
1683 GED_INS_FIELD_Src3RegFile,
1684
1685 /*!
1686 *
1687 *
1688 * @par Models: XE3P.CRI
1689 */
1690 GED_INS_FIELD_Src4RegNum,
1691
1692 /*!
1693 *
1694 *
1695 * @par Models: XE3P.CRI
1696 */
1697 GED_INS_FIELD_Src3RegNum,
1698
1699 /*!
1700 *
1701 *
1702 * @par Models: XE3P.CRI
1703 */
1704 GED_INS_FIELD_SystolicDepthBlkScl,
1705
1706 /*!
1707 *
1708 *
1709 * @par Models: XE3P.CRI
1710 */
1711 GED_INS_FIELD_Src4SubRegNum,
1712
1713 /*!
1714 *
1715 *
1716 * @par Models: XE3P.CRI
1717 */
1718 GED_INS_FIELD_Src3SubRegNum,
1719
1720 /*!
1721 *
1722 *
1723 * @par Models: XE3P.CRI
1724 */
1725 GED_INS_FIELD_Src3RegNum8,
1726
1727 /*!
1728 *
1729 *
1730 * @par Models: XE3P.CRI
1731 */
1732 GED_INS_FIELD_Src4RegNum8
1733 } GED_INS_FIELD;
1734
1735 /*!
1736 * This is an enumeration of all the pseudo-fields representing interpretable attributes of instruction fields. It is a consolidated
1737 * list of all pseudo-fields from all supported models.
1738 *
1739 * @note Some fields may not be available on all models.
1740 */
1741 typedef enum
1742 {
1743
1744 /*!
1745 * Architecture register type, based on the register number when using the ARF register file.
1746 *
1747 * @par XE2, XE3, XE3P.CRI
1748 *
1749 *
1750 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
1751 */
1752 GED_PSEUDO_FIELD_ArchReg,
1753
1754 /*!
1755 * The architecture register number, based on the register number when using the ARF register file.
1756 *
1757 * @par XE2, XE3, XE3P.CRI
1758 *
1759 *
1760 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, XE3P.CRI, 7, 7.5, 8, 8.1, 9
1761 */
1762 GED_PSEUDO_FIELD_ArchRegNum,
1763
1764 /*!
1765 * Get the swizzle target for the X channel.
1766 *
1767 * @par Models: 10, 7, 7.5, 8, 8.1, 9
1768 */
1769 GED_PSEUDO_FIELD_SwizzleX,
1770
1771 /*!
1772 * Get the swizzle target for the Y channel.
1773 *
1774 * @par Models: 10, 7, 7.5, 8, 8.1, 9
1775 */
1776 GED_PSEUDO_FIELD_SwizzleY,
1777
1778 /*!
1779 * Get the swizzle target for the Z channel.
1780 *
1781 * @par Models: 10, 7, 7.5, 8, 8.1, 9
1782 */
1783 GED_PSEUDO_FIELD_SwizzleZ,
1784
1785 /*!
1786 * Get the swizzle target for the W channel.
1787 *
1788 * @par Models: 10, 7, 7.5, 8, 8.1, 9
1789 */
1790 GED_PSEUDO_FIELD_SwizzleW,
1791
1792 /*!
1793 * This field specifies the number of 256-bit GRF registers starting from src0 to be sent out on the request message payload.
1794 *
1795 * @par XE2, XE3
1796 *
1797 *
1798 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, 7, 7.5, 8, 8.1, 9
1799 */
1800 GED_PSEUDO_FIELD_MessageLength,
1801
1802 /*!
1803 * This field indicates the number of 256-bit registers expected in the message response. A value 0 indicates that the request
1804 * message does not expect any response
1805 *
1806 * @par XE2, XE3
1807 *
1808 *
1809 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3, 7, 7.5, 8, 8.1, 9
1810 */
1811 GED_PSEUDO_FIELD_ResponseLength,
1812
1813 /*!
1814 * If set, indicates that the message includes a header.
1815 *
1816 * @par XE2
1817 *
1818 *
1819 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1820 */
1821 GED_PSEUDO_FIELD_HeaderPresent,
1822
1823 /*!
1824 * Message type of the send instruction.
1825 *
1826 * @par Models: 7, 7.5, 8, 8.1
1827 */
1828 GED_PSEUDO_FIELD_MessageTypeDP_SAMPLER,
1829
1830 /*!
1831 * Message type of the send instruction.
1832 *
1833 * @par XE2
1834 *
1835 *
1836 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1837 */
1838 GED_PSEUDO_FIELD_MessageTypeDP_RC,
1839
1840 /*!
1841 * Message type of the send instruction.
1842 *
1843 * @par Models: 7, 7.5, 8, 8.1
1844 */
1845 GED_PSEUDO_FIELD_MessageTypeDP_CC,
1846
1847 /*!
1848 * Message type of the send instruction.
1849 *
1850 * @par Models: 7, 7.5
1851 */
1852 GED_PSEUDO_FIELD_MessageTypeDP_DC0,
1853
1854 /*!
1855 * This field controls which 8 bits of Pixel/Sample Mask in the message header are ANDed with the execution mask to determine
1856 * which slots are accessed. This field is ignored if the header is not present.
1857 *
1858 * @par XE2
1859 *
1860 *
1861 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1862 */
1863 GED_PSEUDO_FIELD_TypedSurfaceSlotGroup,
1864
1865 /*!
1866 * This field controls which 8 bits of Pixel/Sample Mask in the message header are ANDed with the execution mask to determine
1867 * which slots are accessed.
1868 *
1869 * @par XE2
1870 *
1871 *
1872 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1873 */
1874 GED_PSEUDO_FIELD_TypedAtomicSlotGroup,
1875
1876 /*!
1877 * SIMD Mode.
1878 *
1879 * @par XE2
1880 *
1881 *
1882 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1883 */
1884 GED_PSEUDO_FIELD_UntypedSurfaceSIMDMode,
1885
1886 /*!
1887 * SIMD Mode.
1888 *
1889 * @par XE2
1890 *
1891 *
1892 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1893 */
1894 GED_PSEUDO_FIELD_UntypedAtomicSIMDMode,
1895
1896 /*!
1897 * This field, if enabled, causes all lines in the L3 cache accessed by the message to be invalidated after the read occurs,
1898 * regardless of whether the line contains modified data. It is intended as a performance hint indicating that the data will no
1899 * longer be used to avoid writing back data to memory. This field is ignored for write messages.
1900 *
1901 * Enabling this field is intended for scratch and spill/fill, where the memory is used only by a single thread and thus does not
1902 * need to be maintained after the thread completes.
1903 *
1904 * @par Models: 7, 7.5
1905 */
1906 GED_PSEUDO_FIELD_InvalidateAfterRead,
1907
1908 /*!
1909 * Specifies the number of contiguous OWords to be read or written.
1910 *
1911 * @par XE2
1912 *
1913 *
1914 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1915 */
1916 GED_PSEUDO_FIELD_BlockSize,
1917
1918 /*!
1919 * Red channel mask.
1920 *
1921 * @par XE2
1922 *
1923 *
1924 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1925 */
1926 GED_PSEUDO_FIELD_RedChannel,
1927
1928 /*!
1929 * Green channel mask.
1930 *
1931 * @par XE2
1932 *
1933 *
1934 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1935 */
1936 GED_PSEUDO_FIELD_GreenChannel,
1937
1938 /*!
1939 * Blue channel mask.
1940 *
1941 * @par XE2
1942 *
1943 *
1944 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1945 */
1946 GED_PSEUDO_FIELD_BlueChannel,
1947
1948 /*!
1949 * Alpha Channel Mask.
1950 *
1951 * For the read message, indicates that alpha will be included in the writeback message. For the write message, indicates that
1952 * alpha is included in the message payload, and that alpha will be written to the surface.
1953 *
1954 * @par XE2
1955 *
1956 *
1957 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1958 */
1959 GED_PSEUDO_FIELD_AlphaChannel,
1960
1961 /*!
1962 * Specifies whether return data is sent back to the thread.
1963 *
1964 * @par XE2
1965 *
1966 *
1967 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1968 */
1969 GED_PSEUDO_FIELD_ReturnDataControl,
1970
1971 /*!
1972 * Specifies the atomic operation to be performed.
1973 *
1974 * @par XE2
1975 *
1976 *
1977 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1978 */
1979 GED_PSEUDO_FIELD_AtomicOperationType,
1980
1981 /*!
1982 * Specifies the atomic operation to be performed.
1983 *
1984 * @par XE2
1985 *
1986 *
1987 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1988 */
1989 GED_PSEUDO_FIELD_AtomicCounterOperationType,
1990
1991 /*!
1992 * Identify the supported sub-functions by Message Gateway.
1993 *
1994 * @par XE2
1995 *
1996 *
1997 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
1998 */
1999 GED_PSEUDO_FIELD_SubFuncID,
2000
2001 /*!
2002 * Specifies the index into the binding table for the specified surface.
2003 *
2004 * @par XE2
2005 *
2006 *
2007 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
2008 */
2009 GED_PSEUDO_FIELD_BindingTableIndex,
2010
2011 /*!
2012 * Function Control.
2013 *
2014 * @par XE2
2015 *
2016 *
2017 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7, 7.5, 8, 8.1, 9
2018 */
2019 GED_PSEUDO_FIELD_FuncControl,
2020
2021 /*!
2022 * Message type of the send instruction.
2023 *
2024 * @par XE2
2025 *
2026 *
2027 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 7.5, 8, 8.1, 9
2028 */
2029 GED_PSEUDO_FIELD_MessageTypeDP_DC1,
2030
2031 /*!
2032 * Category of the Data Cache Data Port 0.
2033 *
2034 * @par XE2
2035 *
2036 *
2037 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 8, 8.1, 9
2038 */
2039 GED_PSEUDO_FIELD_MessageTypeDP0Category,
2040
2041 /*!
2042 * Message type of the send instruction, legacy message.
2043 *
2044 * @par XE2
2045 *
2046 *
2047 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 8, 8.1, 9
2048 */
2049 GED_PSEUDO_FIELD_MessageTypeDP_DC0Legacy,
2050
2051 /*!
2052 * Message type of the send instruction, scratch block message.
2053 *
2054 * @par XE2
2055 *
2056 *
2057 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 8, 8.1, 9
2058 */
2059 GED_PSEUDO_FIELD_MessageTypeDP_DC0ScratchBlock,
2060
2061 /*!
2062 * Message type of the send instruction.
2063 *
2064 * @par XE2
2065 *
2066 *
2067 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, 9
2068 */
2069 GED_PSEUDO_FIELD_MessageTypeDP_DC2,
2070
2071 /*!
2072 * Message type of the send instruction.
2073 *
2074 * @par Models: 10, 11, TGL, XE.HP, XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, 9
2075 */
2076 GED_PSEUDO_FIELD_MessageTypeDP_DCRO,
2077
2078 /*!
2079 * This field specifies the number of 256-bit GRF registers starting from src1 to be sent out on the request message payload.
2080 *
2081 * @par Models: TGL
2082 */
2083 GED_PSEUDO_FIELD_ExMessageLength,
2084
2085 /*!
2086 * This field indicates the opcode of DP atomic operation
2087 *
2088 * @par XE2, XE3
2089 *
2090 *
2091 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2092 */
2093 GED_PSEUDO_FIELD_DPOpcode,
2094
2095 /*!
2096 * This field specifies the type of the address payload item in a DP message
2097 *
2098 * @par XE2, XE3
2099 *
2100 *
2101 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2102 */
2103 GED_PSEUDO_FIELD_DPAddrSurfaceType,
2104
2105 /*!
2106 * This field specifies the size of the vector in a DP message
2107 *
2108 * @par XE2, XE3
2109 *
2110 *
2111 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2112 */
2113 GED_PSEUDO_FIELD_DPVectSize,
2114
2115 /*!
2116 * Specifies the type of cache flush operation to perform after the fence is complete.
2117 *
2118 * @par XE2, XE3
2119 *
2120 *
2121 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2122 */
2123 GED_PSEUDO_FIELD_DPFlushType,
2124
2125 /*!
2126 * This field specifies if the data payload vector is packed into the register in the normal SIMT layout, or is packed transposed
2127 * in the SIMD layout.
2128 *
2129 * @par XE2, XE3
2130 *
2131 *
2132 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2133 */
2134 GED_PSEUDO_FIELD_DPTranspose,
2135
2136 /*!
2137 * This field specifies if flush operation is the full cache or over an address range.
2138 *
2139 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD
2140 */
2141 GED_PSEUDO_FIELD_DPFlushRange,
2142
2143 /*!
2144 * This field specifies the size of the data payload item in a DP message
2145 *
2146 * @par XE2, XE3
2147 *
2148 *
2149 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2150 */
2151 GED_PSEUDO_FIELD_DPDataSize,
2152
2153 /*!
2154 * This field specifies the scope of the fence
2155 *
2156 * @par XE2, XE3
2157 *
2158 *
2159 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2160 */
2161 GED_PSEUDO_FIELD_DPFenceScope,
2162
2163 /*!
2164 * This field specifies the size of the address payload item in a DP message
2165 *
2166 * @par XE2, XE3
2167 *
2168 *
2169 * @par Models: XE.HPG, XE.HPC.A, XE.HPC, XE.LPG.MD, XE2, XE3
2170 */
2171 GED_PSEUDO_FIELD_DPAddrSize,
2172
2173 /*!
2174 *
2175 *
2176 * @par Models: XE2, XE3
2177 */
2178 GED_PSEUDO_FIELD_DPCacheStore,
2179
2180 /*!
2181 *
2182 *
2183 * @par Models: XE2, XE3
2184 */
2185 GED_PSEUDO_FIELD_DPCacheLoad,
2186
2187 /*!
2188 *
2189 *
2190 * @par Models: XE2, XE3
2191 */
2192 GED_PSEUDO_FIELD_DPAddrRegSize,
2193
2194 /*!
2195 *
2196 *
2197 * @par Models: XE2, XE3
2198 */
2199 GED_PSEUDO_FIELD_DPOneAddrReg,
2200
2201 /*!
2202 *
2203 *
2204 * @par Models: XE2, XE3
2205 */
2206 GED_PSEUDO_FIELD_DPCmask,
2207
2208 /*!
2209 *
2210 *
2211 * @par Models: XE2
2212 */
2213 GED_PSEUDO_FIELD_MessageTypeDP_CONST
2214 } GED_PSEUDO_FIELD;
2215 #endif // GED_INS_FIELD_H