Skip to content

Commit f21e201

Browse files
pszymichigcbot
authored andcommitted
Update VISA documentation
1 parent ec37e5c commit f21e201

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

documentation/visa/6_instructions.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,21 @@ Arithmetic Instructions
7070

7171
- [DIV - division](instructions/DIV.md)
7272

73-
- [DIVM - IEEE floating point divide {SKL,XEHP+}](instructions/DIVM.md)
73+
- [DIVM - IEEE floating point divide {XEHP+,SKL}](instructions/DIVM.md)
7474

7575
- [DP4A - dot product 4 accumulate {TGLLP+}](instructions/DP4A.md)
7676

7777
- [DPAS - Dot Product Accumulate Systolic {XEHP+}](instructions/DPAS.md)
7878

79-
- [DPASW - Dot Product Accumulate Systolic Wide {XEHP,DG2}](instructions/DPASW.md)
79+
- [DPASW - Dot Product Accumulate Systolic Wide {DG2,XEHP}](instructions/DPASW.md)
8080

8181
- [EXP - exponent](instructions/EXP.md)
8282

8383
- [FRC - fraction](instructions/FRC.md)
8484

8585
- [INV - reciprocal](instructions/INV.md)
8686

87-
- [INVM - Div macro {SKL,XEHP+}](instructions/INVM.md)
87+
- [INVM - Div macro {XEHP+,SKL}](instructions/INVM.md)
8888

8989
- [LOG - logarithm](instructions/LOG.md)
9090

@@ -116,7 +116,7 @@ Arithmetic Instructions
116116

117117
- [RSQRT - inverse square root](instructions/RSQRT.md)
118118

119-
- [RSQTM - Inverse square root macro {SKL,XEHP+}](instructions/RSQTM.md)
119+
- [RSQTM - Inverse square root macro {XEHP+,SKL}](instructions/RSQTM.md)
120120

121121
- [SAD2 - two-wide sum of absolute {-ICLLP}](instructions/SAD2.md)
122122

@@ -126,7 +126,7 @@ Arithmetic Instructions
126126

127127
- [SQRT - square root](instructions/SQRT.md)
128128

129-
- [SQRTM - ieee square root {SKL,XEHP+}](instructions/SQRTM.md)
129+
- [SQRTM - ieee square root {XEHP+,SKL}](instructions/SQRTM.md)
130130

131131
- [SRND - Stochastic round {PVC_XT+}](instructions/SRND.md)
132132

@@ -162,7 +162,7 @@ Control Flow Instructions
162162

163163
- [SUBROUTINE - subroutine](instructions/SUBROUTINE.md)
164164

165-
- [SWITCHJMP - switch jump table {-TGLLP,PVC+}](instructions/SWITCHJMP.md)
165+
- [SWITCHJMP - switch jump table {PVC+,-TGLLP}](instructions/SWITCHJMP.md)
166166

167167

168168
Data Movement Instructions
@@ -296,19 +296,19 @@ Surface-based Memory Access Instructions
296296
SVM - Shared Virtual Memory Access
297297
----------------------------------
298298

299-
- [SVM_SCATTER - SMV scatter](instructions/SVM_SCATTER.md)
300-
301299
- [SVM_BLOCK_LD - SMV Block Load](instructions/SVM_BLOCK_LD.md)
302300

303-
- [SVM_ATOMIC - SVM atomic operations](instructions/SVM_ATOMIC.md)
301+
- [SVM_GATHER - SMV gather](instructions/SVM_GATHER.md)
302+
303+
- [SVM_BLOCK_ST - SMV Block Store](instructions/SVM_BLOCK_ST.md)
304304

305305
- [SVM_GATHER4_SCALED - SVM gather4 with scaling pitch](instructions/SVM_GATHER4_SCALED.md)
306306

307307
- [SVM_SCATTER4_SCALED - SVM scatter4 with scaling pitch](instructions/SVM_SCATTER4_SCALED.md)
308308

309-
- [SVM_GATHER - SMV gather](instructions/SVM_GATHER.md)
309+
- [SVM_SCATTER - SMV scatter](instructions/SVM_SCATTER.md)
310310

311-
- [SVM_BLOCK_ST - SMV Block Store](instructions/SVM_BLOCK_ST.md)
311+
- [SVM_ATOMIC - SVM atomic operations](instructions/SVM_ATOMIC.md)
312312

313313

314314
Synchronization Instructions

documentation/visa/7_appendix_debug_information.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ Debug information header format is as follows:
229229
VarLiveIntervalsGenISA callerbefp;
230230
ub retAddrValid;
231231
VarLiveIntervalsGenISA retAddr;
232+
uw CEOffsetFromFPOff;
233+
uw CEStoreIP;
232234
uw numCalleeSaveEntries;
233235
PhyRegSaveInfoPerIP calleeSaveEntry[numCalleeSaveEntries];
234236
ud numCallerSaveEntries;
@@ -250,6 +252,11 @@ Debug information header format is as follows:
250252
frame.
251253
- **retAddr:** Live-interval of variable holding return address of
252254
current frame. Valid only if retAddrValid is 1.
255+
- **CEOffsetFromFPOff:** Offset from FP where CE ARF register value
256+
is stored in current frame. If the value is not stored then this
257+
field is 0xffff.
258+
- **CEStoreIP:** IP from where CE register value is available on
259+
stack. Valid only when CEOffsetFromFPOff is not 0xffff.
253260
- **numCalleeSaveEntries:** Number of entries in callee save area
254261
table. Useful during virtual stack unwinding.
255262
- **calleeSaveEntry:** Caller frame's variables allocated to callee

documentation/visa/instructions/LSC_UNTYPED.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,19 +329,13 @@ and enables one to emulate block loads and stores.
329329
In this mode a single address is taken and loads successive vector components
330330
across a regster (or block of them). Note, transpose only supports SIMD1.
331331

332-
Kernel payload arguments can be read in a program using `AddrType` == `arg`.
333-
Here is spec defining implicit arguments that may be read using this
334-
`AddrType`:
335-
https://github.com/intel-innersource/drivers.gpu.abi/blob/master/internal/implicit-args.md
336-
337332
Atomic operations (except for append counter atomic) are also gather/scatter
338333
operation. They operate on the addresses in `Src0Addrs` and possibly with data
339334
in `Src1Data` and `Src2Data`, and can read back the result to `DstData`
340335
(or use `%null` to avoid the writeback). For operations that do not use
341336
`Src1Data` or `Src2Data`, specify the null register `%null`. Transpose is
342337
not permitted for atomic operations.
343338

344-
345339
The `lsc_load_strided` and `lsc_store_strided` operations take a single
346340
address and a stride and generate an arithmetic (linear) sequence to
347341
compute each SIMT address to load. Similar to the `lsc_load`/`lsc_store`

documentation/visa/instructions/LZD.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ SPDX-License-Identifier: MIT
8686

8787
#### Properties
8888
- **Supported Types:** UD
89-
- **Saturation:** Yes
9089
- **Source Modifier:** false
9190

9291

documentation/visa/instructions/SRND.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ SPDX-License-Identifier: MIT
9595
#### Operand type maps
9696
- **Type map**
9797
- **Dst types:** HF
98-
- **Src types:** F
98+
- **Src types:**
9999
- **Type map**
100100
- **Dst types:** UB
101-
- **Src types:** HF
101+
- **Src types:**
102102

103103

104104
## Text

0 commit comments

Comments
 (0)