|
| 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