To report problems with this extension, please open a new issue at:
This extension relaxes the restriction that OpTypeInt
must have a width of 32 bits.
Ints of arbitrary bit widths can be beneficial on targets that can exploit narrower widths such as FPGAs.
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_INTEL_arbitrary_precision_integers"
Modify Section 3.31, Capability, adding a row to the Capability table:
Capability | Implicitly Declares | |
---|---|---|
5844 |
ArbitraryPrecisionIntegersINTEL Allows the use of the OpTypeInt to declare integers of any arbitrary width. The minimum requirement is that all bitwidths up to 32-bits must be supported, but implementations can extend the support beyond 32-bits. |
Int8, Int16 |