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-mma.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-mma.oir` 39 lines ยท 855 bytes Raw Blame History 1 omegair 1 2 type %t32 = array f32 256 3 type %t33 = ref edit shared %t32 4 type %t34 = array f16 256 5 type %t35 = ref edit shared %t34 6 type %t36 = frag a 16 8 16 f16 7 type %t37 = frag b 16 8 16 f16 8 type %t38 = frag c 16 8 16 f32 9 kernel @f0 flags 0 threads 32 1 1 subgroup 32 -> void 10 block ^0 11 %1 = shared %t33 12 %2 = shared %t35 13 %3 = const u64 0 14 %4 = const u64 16 15 %5 = const u64 256 16 %6 = chk.bounds 3 %0 %2 %3 %5 17 %7 = mmald %t36 0 %6 %2 %3 %4 %5 18 %8 = mmald %t37 0 %6 %2 %3 %4 %5 19 %9 = chk.bounds 3 %6 %1 %3 %5 20 %10 = mmald %t38 0 %9 %1 %3 %4 %5 21 br ^1 %9 %3 22 block ^1 %11:tok %12:u64 23 %13 = const u64 4 24 %14 = lt bool %12 %13 25 cbr %11 %14 ^2 ^3 26 block ^2 %15:tok 27 %16 = mma %t38 0 %7 %8 %10 28 %17 = mmast 0 %15 %1 %3 %4 %5 %16 29 %18 = const u64 1 30 %19 = add u64 %12 %18 31 br ^1 %17 %19 32 block ^3 %20:tok 33 ret %20 34 end 35 export @f1 flags 0 -> i32 36 block ^0 37 %1 = const i32 0 38 retv %0 %1 39 end