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 / apirest / tcinfo.om

22 lines · 527 bytes Raw Blame History
1om2
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3fn ar_tci y edit uint 24 i ulong v ulong to void
4put y i uint and v 4294967295
5put y add i 1 uint shr v 32
6ret
7end
8fn artcinfo q view ulong 16 y edit uint 24 to ulong
9for i ulong 24
10put y i 0
11end
12for i ulong 9
13put y i uint get q i
14end
15put y 9 uint get q 2
16put y 10 uint get q 9
17ar_tci y 12 mul mul get q 1 get q 3 get q 4
18ar_tci y 14 mul mul get q 2 get q 3 get q 4
19ar_tci y 16 mul mul mul mul get q 2 get q 8 get q 5 get q 4 32
20put y 23 uint get q 10
21ret 0
22end