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/train/openaccel-lab/workloads/saxpy/omega.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 / train / openaccel-lab / workloads / saxpy / omega.om` 27 lines ยท 443 bytes Raw Blame History 1 note saxpy: fo[i] = alpha * fb[i] + fc[i]; alpha is fa[0]; a separate mul then add (two roundings) 2 global kn ulong 1 3 fn kern to void 4 al = get fa 0 5 for i ulong get kn 0 6 put fo i add mul al get fb i get fc i 7 end 8 end 9 fn main to int 10 oal_begin 11 put kn 0 ulong oal_p 0 12 a = oal_fa 0 13 b = oal_fb 1 14 c = oal_fc 2 15 w = oal_warm 16 for i ulong add w oal_reps 17 t0 = monons 18 kern 19 t1 = monons 20 if ge i w 21 oal_tick sub t1 t0 22 end 23 end 24 oal_so 0 get kn 0 25 oal_end 26 ret 0 27 end