Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/seed/ng/a64/tests/oir/u-selvec.oir # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / seed / ng / a64 / tests / oir / u-selvec.oir` 15 lines ยท 278 bytes Raw Blame History 1 omegair 1 2 type %t32 = vec f32 4 3 export @f0 flags 0 -> i32 4 block ^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 14 retv %0 %9 15 end