Dependencies
This extension is written against the SPIR-V Specification, Version 1.5 Revision 2.
This extension requires SPIR-V 1.0.
Overview
This extension adds two new bit masks to the FPFastMathMode decoration, to allow floating point operations to be annotated as allowing reassociation, and contraction.
Extension Name
To use this extension within a SPIR-V module, the following OpExtension must be present in the module:
OpExtension "SPV_INTEL_fp_fast_math_mode"
Modifications to the SPIR-V Specification, Version 1.5
Modify Section 3.15, FP Fast Math Mode, adding the following rows to the fp fast math mode table.
0x10000 |
AllowContractFastINTEL |
FPFastMathModeINTEL |
0x20000 |
AllowReassocINTEL |
FPFastMathModeINTEL |