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/bench/hand/leafcall-I.spec # 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 / bench / hand / leafcall-I.spec` 19 lines ยท 942 bytes Raw Blame History 1 @ng a64-enc 2 ; leafcall ngI: mix inlined into the loop (MUL, LSR #5, EOR), constants hoisted, rotation; the loop 3 ; works in x1 (s), x2 (t), x3 (i) as omc does, so the exit state matches with no moves. 4 ; @old 0x40028c 0xd2987004 0xf2a03924 0xeb04007f 0x54000302 0xd100c3ff 0xeb3c63ff 0x54000f63 0xf90003e0 0xf90007e1 0xf9000be2 0xf9000fe3 0xf90013fe 0xf9400fe0 0xd28f3621 0xf2b3c6e1 0x97ffffcd 0xaa0003e4 0xf94003e0 0xf94007e1 0xf9400be2 0xf9400fe3 0xf94013fe 0x9100c3ff 0x8b040021 0xca010042 0x91000463 0x17ffffe6 5 ; @at 0x40028c 6 movzx 4 0xc380 0 | mov x4, #0xc380 7 movkx 4 0x1c9 1 | movk x4, #0x1c9, lsl #16 8 movzx 5 0x79b1 0 | mov x5, #0x79b1 9 movkx 5 0x9e37 1 | movk x5, #0x9e37, lsl #16 10 mulx 6 3 5 | mul x6, x3, x5 11 ubfmx 7 3 5 63 | lsr x7, x3, #5 12 eorx 6 6 7 | eor x6, x6, x7 13 addx 1 1 6 | add x1, x1, x6 14 eorx 2 2 1 | eor x2, x2, x1 15 addxi 3 3 1 0 | add x3, x3, #0x1 16 subsx 31 3 4 | cmp x3, x4 17 bcond 3 -7 | b.cc @-28 18 b 15 | b @+60 19 ; @nop 0x4002f8