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/gpu/nvidia/checks/arest-mstep.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 / gpu / nvidia / checks / arest-mstep.om` 26 lines ยท 647 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note gpu/nvidia/checks/arest-mstep.om: armstep (gpu/nvidia/om/apirest/mstep.om); Q is its 16 q words and then the words of x (uint each); q after the call is output 64 on. Composed before arest.om. 3 text t_name "AREST-MSTEP" 4 text t_au "mstep" 5 fn arop q view ulong 64 nq ulong ny ulong o edit ulong 128 to ulong 6 if or lt nq 16 ne ny 0 7 ckbad 8 end 9 a = new ulong 16 0 10 for i ulong 16 11 put a i get q i 12 end 13 nx = sub nq 16 14 x = new uint 48 0 15 for i ulong nx bound 48 16 if gt get q add 16 i `4294967295` 17 ckbad 18 end 19 put x i uint get q add 16 i 20 end 21 r = armstep a part x 0 nx 22 for i ulong 16 23 put o add 64 i get a i 24 end 25 ret r 26 end