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/matmul-B.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 / matmul-B.spec` 37 lines ยท 1723 bytes Raw Blame History 1 @ng a64-enc 2 ; matmul ngB: ngL without the three bounds checks: r = 300i <= 89700 and k < 300 give r + k < 90000; 3 ; q = j + 300k <= 299 + 89700 < 90000; r + j < 90000. 4 ; @old 0x4002bc 0xd2800000 0xf104b01f 0x54000562 0xd2802582 0x9b027c01 0xd2800002 0xf104b05f 0x54000482 0xd2800003 0xaa0203e4 0xd2800005 0xf104b0bf 0x540002a2 0x8b050026 0xd28bf208 0xf2a00028 0xeb0800df 0x54000402 0xd2800409 0xf2a21009 0xf866792a 0xd28bf20b 0xf2a0002b 0xeb0b009f 0x54000322 0xd29f940c 0xf2a2114c 0xf864798d 0x9b0d7d4e 0x8b0e0063 0x9104b084 0x910004a5 0x17ffffeb 0x8b020025 0xd28bf206 0xf2a00026 0xeb0600bf 0x54000182 0xd29f2408 0xf2a212a8 0xf8257903 0x91000442 0x17ffffdc 0x91000400 0x17ffffd5 0xd65f03c0 5 ; @at 0x4002bc 6 movzx 0 0 0 | mov x0, #0x0 7 movzx 9 0x20 0 | mov x9, #0x20 8 movkx 9 0x1080 1 | movk x9, #0x1080, lsl #16 9 movzx 12 0xfca0 0 | mov x12, #0xfca0 10 movkx 12 0x108a 1 | movk x12, #0x108a, lsl #16 11 movzx 15 0xf920 0 | mov x15, #0xf920 12 movkx 15 0x1095 1 | movk x15, #0x1095, lsl #16 13 movzx 16 300 0 | mov x16, #0x12c 14 mulx 1 0 16 | mul x1, x0, x16 15 movzx 2 0 0 | mov x2, #0x0 16 movzx 3 0 0 | mov x3, #0x0 17 addxi 4 2 0 0 | add x4, x2, #0x0 18 movzx 5 0 0 | mov x5, #0x0 19 addx 6 1 5 | add x6, x1, x5 20 ldrxr 10 9 6 1 | ldr x10, [x9, x6, lsl #3] 21 ldrxr 13 12 4 1 | ldr x13, [x12, x4, lsl #3] 22 mulx 14 10 13 | mul x14, x10, x13 23 addx 3 3 14 | add x3, x3, x14 24 addxi 4 4 300 0 | add x4, x4, #0x12c 25 addxi 5 5 1 0 | add x5, x5, #0x1 26 subsx 31 5 16 | cmp x5, x16 27 bcond 3 -8 | b.cc @-32 28 addx 5 1 2 | add x5, x1, x2 29 strxr 3 15 5 1 | str x3, [x15, x5, lsl #3] 30 addxi 2 2 1 0 | add x2, x2, #0x1 31 subsx 31 2 16 | cmp x2, x16 32 bcond 3 -16 | b.cc @-64 33 addxi 0 0 1 0 | add x0, x0, #0x1 34 subsx 31 0 16 | cmp x0, x16 35 bcond 3 -21 | b.cc @-84 36 ret 30 | ret 37 ; @nop 0x400374