interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / gpu / nvidia / om / disasm / words.om

15 lines · 355 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Source: word_half and omega_sm121_padding_start; C retains byte transport only.
3fn dis_words b view uchar 8 mode ulong at ulong prev ulong to ulong
4v = ulong 0
5for i ulong 8
6v = or v shl ulong get b i mul i 8
7end
8if eq mode 0
9ret v
10end
11if eq and v 4095 2381
12ret add at 16
13end
14ret prev
15end