Skip to content

Commit f0070e9

Browse files
authored
Add Arm.ExperimentalMLOperations instruction set (#415)
1 parent a57d197 commit f0070e9

3 files changed

Lines changed: 97 additions & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ ASCIIDOC_HTML_OPTIONS = --trace --failure-level ERROR \
3232
-a toc2 \
3333
-a toclevels=1
3434

35-
SRC_ASCIIDOC = $(wildcard extensions/*/*.asciidoc) $(wildcard nonsemantic/*.asciidoc)
35+
SRC_ASCIIDOC = $(wildcard extensions/*/*.asciidoc) $(wildcard nonsemantic/*.asciidoc) $(wildcard extended/*.asciidoc)
3636
DST_HTML = $(SRC_ASCIIDOC:.asciidoc=.html)
3737

3838
all: $(DST_HTML)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,4 +224,5 @@ Note: we no longer push the HTML along side the extension.
224224

225225
## Extended Instruction Set Specifications
226226

227+
* [Arm.ExperimentalMLOperations ]( https://github.khronos.org/SPIRV-Registry/extended/Arm.ExperimentalMLOperations.html)
227228
* [TOSA.001000.1 ]( https://github.khronos.org/SPIRV-Registry/extended/TOSA.001000.1.html)
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
Arm Experimental ML Operations Instructions
2+
===========================================
3+
4+
Revision 1
5+
6+
Contact
7+
-------
8+
9+
To report problems with this extended instruction set, please open a new issue at:
10+
11+
https://github.com/KhronosGroup/SPIRV-Headers
12+
13+
Contributors
14+
------------
15+
16+
- Kévin Petit, Arm Ltd.
17+
18+
Notice
19+
------
20+
21+
Copyright (c) 2025 Arm Ltd.
22+
23+
Status
24+
------
25+
26+
Unratified extended instruction set.
27+
28+
Version
29+
-------
30+
31+
[width="40%",cols="25,25"]
32+
|========================================
33+
| Last Modified Date | 2025-10-31
34+
| Revision | 1
35+
|========================================
36+
37+
Dependencies
38+
------------
39+
40+
This instruction set requires SPIR-V 1.0.
41+
42+
1. Introduction
43+
---------------
44+
45+
This specifies the Arm.ExperimentalMLOperations extended instruction set. It
46+
provides a mechanism to encode experimental ML operations in SPIR-V modules.
47+
48+
Import this extended instruction set using an *OpExtInstImport*
49+
`Arm.ExperimentalMLOperations.<ver>` instruction, where `<ver>` indicates the
50+
version.
51+
52+
2. Version
53+
----------
54+
55+
This extended instruction set is versioned. The version is specified via the
56+
import string. It must be an integer between 1 and the version specified at the
57+
beginning of this instruction set. Differences between the version are
58+
specified below.
59+
60+
3. Binary Form
61+
---------------
62+
63+
[cols="3"]
64+
|=====
65+
3+|[[CALL]]*CALL* +
66+
+
67+
Call an experimental ML operation. +
68+
+
69+
'Opcode' is a literal integer that specifies the operation being called. +
70+
+
71+
'Parameters' provides zero or more '<id>' operands, as required by the
72+
operation being called. +
73+
+
74+
1+| 0 | 'Literal' +
75+
'Opcode' |
76+
Optional '<id>', '<id>', ... +
77+
'Parameters'
78+
|=====
79+
80+
Issues
81+
------
82+
83+
None.
84+
85+
Revision History
86+
----------------
87+
88+
[cols="5,15,15,70"]
89+
[grid="rows"]
90+
[options="header"]
91+
|========================================
92+
|Rev|Date|Author|Changes
93+
|1|2025-10-31|Kevin Petit|Initial revision
94+
|========================================
95+

0 commit comments

Comments
 (0)