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 / n-bcastf32.oir

12 lines · 204 bytes Raw Blame History
1omegair 1
2export @f0 flags 0 -> i32
3block ^0
4%1 = const u32 2147483648
5%2 = bitcast f32 %1
6%3 = bitcast u32 %2
7%4 = eq bool %1 %3
8%5 = const i32 1
9%6 = const i32 0
10%7 = select i32 %4 %6 %5
11retv %0 %7
12end