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/bcopy-V.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 / bcopy-V.spec` 22 lines ยท 1117 bytes Raw Blame History 1 @ng a64-enc 2 ; bcopy ngV: ngB vectorised, 16 bytes per pass: LDR Q, REV64 + EXT #8 (a full 16-byte reverse), EOR with k 3 ; broadcast by DUP, STR Q at dst + 65520 - i. 65536 is a multiple of 16, so there is no tail. The SIMD 4 ; words are literal (the encoder has no SIMD forms); each one's text is checked by objdump. 5 ; @old 0x40011c 0xd2800002 0xd2a00023 0xeb03005f 0x54000202 0xd29fffe3 0xcb020064 0xd2a00025 0xeb05005f 0x54000562 0xd2a21006 0x386268c8 0xca010109 0xd2a0002a 0xeb0a009f 0x540004a2 0xd2a2102b 0x38246969 0x91000442 0x17ffffef 6 ; @at 0x40011c 7 movzx 2 0 0 | mov x2, #0x0 8 movzx 3 1 1 | mov x3, #0x10000 9 movzx 4 0xfff0 0 | mov x4, #0xfff0 10 movzx 6 0x1080 1 | mov x6, #0x10800000 11 movzx 11 0x1081 1 | mov x11, #0x10810000 12 ; @word 0x4e010c21 | dup v1.16b, w1 13 ; @word 0x3ce268c0 | ldr q0, [x6, x2] 14 ; @word 0x4e200800 | rev64 v0.16b, v0.16b 15 ; @word 0x6e004000 | ext v0.16b, v0.16b, v0.16b, #8 16 ; @word 0x6e211c00 | eor v0.16b, v0.16b, v1.16b 17 ; @word 0x3ca46960 | str q0, [x11, x4] 18 addxi 2 2 16 0 | add x2, x2, #0x10 19 subxi 4 4 16 0 | sub x4, x4, #0x10 20 subsx 31 2 3 | cmp x2, x3 21 bcond 1 -8 | b.ne @-32 22 ; @nop 0x400168