ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

Sub

T1 dxil alu insn
DirectX DXIL Op: Sub (#10)
SourceMicrosoft DirectX DXIL & DXBC Shader Bytecode Spec (DXC) (microsoft_dxil_dxbc)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeDirectX Shader Model 6.x (DXIL)
DirectX Shader Model 4 / 5 (DXBC) & 6.x (DXIL)
License & VersionNCSA
dxc/main
Upstreamhttps://github.com/microsoft/DirectXShaderCompiler
Privilegeuser
ExtensionsDXIL, SM6, BinaryOperator

Summary

returns the difference of its two operands. DXIL opcode #10 (class BinaryOperator) from Microsoft DirectXShaderCompiler.

Syntax / Encoding

dx.op.Sub  ; opcode 10