238def sm90EncodeStoreGlobal =
239 (lambda unrestricted guard : SM86InstructionGuard .
240 unrestricted width : SM90GlobalStoreWidth .
241 unrestricted address : SM86Register .
242 unrestricted value : SM86Register .
243 unrestricted offset : Nat .
244 unrestricted control : SM86Control .
245 then (sm90Require (sm90RegisterGroupAdmitted 2 address) SM90RefusalAddressUnaligned)
246 (sm90Require (sm90RegisterGroupAdmitted (sm90StoreRegisters width) value) SM90RefusalDataUnaligned)
247 (sm90Require (nat-less-than offset sm90GlobalOffsetLimit) SM90RefusalGlobalOffsetOutOfRange)
248 (sm90Require (sm90ControlFits control) SM90RefusalControlOutOfRange)
249 (sm90Emit
250 (nest nat-add (sm90HeaderLow sm90OpcodeStoreGlobal guard)
251 (sm90Put (sm90RegisterNumber address) sm90SourcePlace)
252 (sm90Put (sm90RegisterNumber value) sm90SecondSourcePlace)
253 (sm90Put offset sm90GlobalOffsetPlace)))
254 (nest nat-add (sm90HeaderHigh control)
255 sm90StoreGlobalFixed (sm90Put (sm90StoreSize width) sm90SizePlace))
256 (sm90Put (sm90StoreStrength width) sm90StrengthPlace))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.