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/qualification/om2/sec/s5s7/f5-inline.om # 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 / qualification / om2 / sec / s5s7 / f5-inline.om` 25 lines ยท 727 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note contract 5 fresh, lines 124 and 127 with 4 lines 93-98: an inline callee that writes every 3 note element at constant indexes (after inlining and unrolling) leaves all bits written, and only 4 note non-inline calls are error 27. ASSUMPTION (README A3): `to void inline` is valid and the analysis 5 note sees through the inlined body. stdout s[5] = 7, then 2+..+9 = 44 (exp/f5-inline.out). 6 om2 7 fn fill t edit uchar 8 b uchar to void inline 8 for i ulong 8 unroll 9 put t i add b uchar i 10 end 11 end 12 fn f s edit uchar 8 fresh k ulong to ulong 13 fill s 2 14 acc = ulong 0 15 for j ulong 8 16 acc = add acc ulong get s j 17 end 18 putd ulong get s k 19 ret acc 20 end 21 fn main to int 22 a = new uchar 8 0 23 putd f a 5 24 ret 0 25 end