These perform exact multiplication and return the high half as a second
result.
Also factor out common code shared between 'extended binary ops'.
Paths
| Differential D138624
[mlir][spirv] Define `OpSMulExtended` and `OpUMulExtended` ops ClosedPublic Authored by kuhar on Nov 23 2022, 3:45 PM.
Details Summary These perform exact multiplication and return the high half as a second Also factor out common code shared between 'extended binary ops'.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 23 2022, 4:01 PM This revision was landed with ongoing or failed builds.Nov 23 2022, 4:06 PM Closed by commit rG30275821f1ca: [mlir][spirv] Define `OpSMulExtended` and `OpUMulExtended` ops (authored by kuhar). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 477638 mlir/include/mlir/Dialect/SPIRV/IR/SPIRVArithmeticOps.td
mlir/include/mlir/Dialect/SPIRV/IR/SPIRVBase.td
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
mlir/test/Dialect/SPIRV/IR/arithmetic-ops.mlir
|