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 / a64 / tests / oir / u-selvec.oir

15 lines · 278 bytes Raw Blame History
1omegair 1
2type %t32 = vec f32 4
3export @f0 flags 0 -> i32
4block ^0
5%1 = const f32 0x3f800000
6%2 = const f32 0x40000000
7%3 = vsplat %t32 %1
8%4 = vsplat %t32 %2
9%5 = const u64 7
10%6 = eq bool %5 %5
11%7 = select %t32 %6 %3 %4
12%8 = vextract f32 0 %7
13%9 = conv i32 0 %8
14retv %0 %9
15end