aboutsummaryrefslogtreecommitdiff
path: root/include/spirv/spir-v.xml
diff options
context:
space:
mode:
authorMichael Kinsner <michael.kinsner@intel.com>2020-05-25 17:15:28 -0300
committerMichael Kinsner <michael.kinsner@intel.com>2020-05-25 17:15:28 -0300
commit982a08f59028b4efae595eb9de099df535230d51 (patch)
treede34d3ce1426efe9057869330e9ae49639134787 /include/spirv/spir-v.xml
parentac638f1815425403e946d0ab78bac71d2bdbf3be (diff)
downloadSPIRV-Headers-982a08f59028b4efae595eb9de099df535230d51.tar.gz
Propose bit allocation mechanism for the FP Fast Math Mode bitfield, following from the mechanism previously added for the loop control bitfield.
Diffstat (limited to 'include/spirv/spir-v.xml')
-rw-r--r--include/spirv/spir-v.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/spirv/spir-v.xml b/include/spirv/spir-v.xml
index 2fac9c5..73a5eb1 100644
--- a/include/spirv/spir-v.xml
+++ b/include/spirv/spir-v.xml
@@ -143,4 +143,22 @@
<ids type="LoopControl" start="23" end="30" comment="Unreserved bits reservable for use by vendors"/>
<ids type="LoopControl" start="31" end="31" vendor="Khronos" comment="Reserved LoopControl bit, not available to vendors"/>
+
+ <!-- SECTION: SPIR-V FP Fast Math Mode Bit Reservations -->
+ <!-- Reserve ranges of bits in the “FP Fast Math Mode” bitfield.
+ Each vendor determines the use of values in their own ranges.
+ Vendors are not required to disclose those uses. If the use of a
+ value is included in an extension that is adopted by a Khronos
+ extension or specification, then that value's use may be permanently
+ fixed as if originally reserved in a Khronos range.
+ The SPIR Working Group strongly recommends:
+ - Each value is used for only one purpose.
+ - All values in a range should be used before allocating a new range.
+ -->
+
+ <!-- Reserved FP fast math mode bits -->
+ <ids type="FPFastMathMode" start="0" end="15" vendor="Khronos" comment="Reserved FPFastMathMode bits, not available to vendors - see the SPIR-V Specification"/>
+ <ids type="FPFastMathMode" start="16" end="17" vendor="Intel" comment="Contact michael.kinsner@intel.com"/>
+ <ids type="FPFastMathMode" start="18" end="31" comment="Unreserved bits reservable for use by vendors"/>
+
</registry>