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/tests/opt/o-shfl.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 / tests / opt / o-shfl.oir` 23 lines ยท 378 bytes Raw Blame History 1 omegair 1 2 kernel @f0 flags 0 threads 32 1 1 subgroup 32 -> void 3 block ^0 4 %1 = const u64 7 5 %2 = const u32 1 6 %3 = const u64 0 7 br ^1 %0 %3 8 block ^1 %4:tok %5:u64 9 %6 = const u64 4 10 %7 = lt bool %5 %6 11 cbr %4 %7 ^2 ^3 12 block ^2 %8:tok 13 %9 = shfl u64 1 %1 %2 14 %10 = add u64 %5 %9 15 br ^1 %8 %10 16 block ^3 %11:tok 17 ret %11 18 end 19 export @f1 flags 0 -> i32 20 block ^0 21 %1 = const i32 0 22 retv %0 %1 23 end