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/v-spill-swap.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 / v-spill-swap.oir` 36 lines ยท 695 bytes Raw Blame History 1 omegair 1 2 type %t32 = vec f32 4 3 fn @f0 flags 0 %1:u64 -> void 4 block ^0 5 ret %0 6 end 7 export @f1 flags 0 -> i32 8 block ^0 9 %1 = const f32 0x3f800000 10 %2 = const f32 0x40000000 11 %3 = vsplat %t32 %1 12 %4 = vsplat %t32 %2 13 %5 = const u64 0 14 br ^1 %0 %5 %3 %4 15 block ^1 %6:tok %7:u64 %8:%t32 %9:%t32 16 %10 = const u64 1 17 %11 = lt bool %7 %10 18 cbr %6 %11 ^2 ^3 19 block ^2 %12:tok 20 %13 = const u64 0 21 %14 = call void %12 @f0 %13 22 %15 = const u64 16 23 %16 = chk.fuel 4 %14 %7 %15 24 %17 = const u64 1 25 %18 = add u64 %7 %17 26 br ^1 %16 %18 %9 %8 27 block ^3 %19:tok 28 %20 = vextract f32 0 %8 29 %21 = vextract f32 0 %9 30 %22 = conv i32 0 %20 31 %23 = conv i32 0 %21 32 %24 = const i32 10 33 %25 = mul i32 %22 %24 34 %26 = add i32 %25 %23 35 retv %19 %26 36 end