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 / seed / ng / tests / ir / x-bits.oir

20 lines · 365 bytes Raw Blame History
1omegair 1
2export @f0 flags 0 -> i32
3block ^0
4%1 = const i32 -16
5%2 = const i32 2
6%3 = shr i32 %1 %2
7%4 = const u32 4294967280
8%5 = const u32 2
9%6 = shr u32 %4 %5
10%7 = lt bool %3 %2
11%8 = const i32 7
12%9 = select i32 %7 %8 %2
13%10 = rotl u32 %6 %5
14%11 = const u32 255
15%12 = and u32 %10 %11
16%13 = conv i32 0 %12
17%14 = add i32 %13 %9
18%15 = add i32 %14 %3
19retv %0 %15
20end