Source/Packages

Accelerator.SM90.Lowering

packages/hardware/architectures/nvidia-sm90/src/Accelerator/SM90/Lowering.alpha

209 lines14 declarations13.1 KiBSHA-256 a56c8a504d68

def · lines 137–204

sm90LowerInstruction

Full file
137def sm90LowerInstruction = (lambda unrestricted instruction : SM86Instruction .
138  eliminate SM86Instruction (lambda unrestricted current : SM86Instruction . NvidiaInstructionRealization) instruction
139    (branch SM86InstructionValue guard body .
140      eliminate SM86InstructionBody (lambda unrestricted current : SM86InstructionBody . NvidiaInstructionRealization) body
141        (branch SM86MoveConstant a b c d . sm90KeepSM86Word instruction)
142        (branch SM86SpecialToRegister a b c . sm90KeepSM86Word instruction)
143        (branch SM86MoveImmediate a b c . sm90KeepSM86Word instruction)
144        (branch SM86IntegerMultiplyAddConstant a b c d e f . sm90KeepSM86Word instruction)
145        (branch SM86IntegerMultiplyAddImmediate a b c d e . sm90KeepSM86Word instruction)
146        (branch SM86IntegerMultiplyAddWideConstant a b c d e f . sm90KeepSM86Word instruction)
147        (branch SM86IntegerAddThreeImmediate a b c d . sm90KeepSM86Word instruction)
148        (branch SM86IntegerAddThreeRegister a b c d . sm90KeepSM86Word instruction)
149        (branch SM86ShiftRightImmediate a b c d . sm90KeepSM86Word instruction)
150        (branch SM86LogicThreeInputTruthTable a b c d e . sm90KeepSM86Word instruction)
151        (branch SM86IntegerToFloat a b c . sm90KeepSM86Word instruction)
152        (branch SM86FloatAdd a b c d . sm90KeepSM86Word instruction)
153        (branch SM86FloatMultiply a b c d . sm90KeepSM86Word instruction)
154        (branch SM86Float64Binary a b c d e . sm90KeepSM86Word instruction)
155        (branch SM86FloatConvert a b . sm90KeepSM86Word instruction)
156        (branch SM86FloatFusedMultiplyAdd a b c d e . sm90KeepSM86Word instruction)
157        (branch SM86MultiFunctionUnitApproximation a b c d . sm90KeepSM86Word instruction)
158        (branch SM86FloatMinimumOrMaximum a b c d e . sm90KeepSM86Word instruction)
159        (branch SM86FloatNegate a b c . sm90KeepSM86Word instruction)
160        (branch SM86FloatPairToPackedHalfPair a b c d . sm90KeepSM86Word instruction)
161        (branch SM86FloatPairToPackedBFloat16Pair a b c d . sm90KeepSM86Word instruction)
162        (branch SM86FloatPairToPackedFloat8Pair a b c d e f g . sm90KeepSM86Word instruction)
163        (branch SM86FloatArithmetic a b c d e f g . sm90KeepSM86Word instruction)
164        (branch SM86HalfToFloat a b c d . sm90KeepSM86Word instruction)
165        (branch SM86BFloat16ToFloat a b c d . sm90KeepSM86Word instruction)
166        (branch SM86TensorCoreHalfMatrixMultiplyAccumulate16x8x16Float32 a b c d e . sm90KeepSM86Word instruction)
167        (branch SM86TensorCoreBFloat16MatrixMultiplyAccumulate16x8x16Float32 a b c d e . sm90KeepSM86Word instruction)
168        (branch SM86TensorCoreHalfMatrixMultiplyAccumulate16x8x16Half a b c d e . sm90KeepSM86Word instruction)
169        (branch SM86TensorCoreInteger8MatrixMultiplyAccumulate16x8x32Integer32 a b c d e . sm90KeepSM86Word instruction)
170        (branch SM86LoadGlobal destination address offset control .
171          sm90RealizeEncoding (sm90EncodeLoadGlobal guard sm90Global32 SM90LoadAllocate
172            destination address (sm86Unsigned32Natural offset) control))
173        (branch SM86LoadGlobalWide destination address offset control .
174          sm90RealizeEncoding (sm90EncodeLoadGlobal guard SM90GlobalLoad128 SM90LoadAllocate
175            destination address (sm86Unsigned32Natural offset) control))
176        (branch SM86WarpShuffle a b c d e f . sm90KeepSM86Word instruction)
177        (branch SM86LoadShared a b c d . sm90KeepSM86Word instruction)
178        (branch SM86LoadSharedMatrix a b c d e f . sm90KeepSM86Word instruction)
179        (branch SM86StoreShared a b c d . sm90KeepSM86Word instruction)
180        (branch SM86LoadGlobalToShared address offset source sourceOffset control .
181          sm90RealizeEncoding (sm90EncodeCopyGlobalToShared guard
182            address (sm86Unsigned32Natural offset) source (sm86Unsigned32Natural sourceOffset) control))
183        (branch SM86CommitAsyncGroup a . sm90KeepSM86Word instruction)
184        (branch SM86WaitAsyncGroups a b . sm90KeepSM86Word instruction)
185        (branch SM86BarrierSynchronize a . sm90KeepSM86Word instruction)
186        (branch SM86BarrierSynchronizeCount a b c . sm90KeepSM86Word instruction)
187        (branch SM86StoreGlobal address value offset control .
188          sm90RealizeEncoding (sm90EncodeStoreGlobal guard SM90GlobalStore32
189            address value (sm86Unsigned32Natural offset) control))
190        (branch SM86StoreGlobalWide address value offset control .
191          sm90RealizeEncoding (sm90EncodeStoreGlobal guard SM90GlobalStore128
192            address value (sm86Unsigned32Natural offset) control))
193        (branch SM86StoreGlobal64 address value offset control .
194          sm90RealizeEncoding (sm90EncodeStoreGlobal guard SM90GlobalStore64
195            address value (sm86Unsigned32Natural offset) control))
196        (branch SM86ReduceGlobalAddFloat32 address value offset control .
197          sm90RealizeEncoding (sm90EncodeReduceGlobalAddFloat32 guard address value (sm86Unsigned32Natural offset) control))
198        (branch SM86PredicateGreaterThanImmediate a b c d . sm90KeepSM86Word instruction)
199        (branch SM86Branch offset descriptor control . sm90LowerBranch guard offset descriptor control)
200        (branch SM86Exit a . sm90KeepSM86Word instruction)
201      (branch SM86System a b .
202        sm90Choose NvidiaInstructionRealization (sm90RegisterSystemAllowed a)
203          (sm90KeepSM86Word instruction)
204          (sm90InstructionRefused b"an SM86 system form has no measured sm_90 encoding"))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.