interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / ng / bench / kernels / bcopy.om

16 lines · 345 bytes Raw Blame History
1note bench twin: 8000 reversed byte copies of a 64 KiB pattern, each xored with the round number
2global src uchar 65536
3global dst uchar 65536
4fn main to int
5for i ulong 65536
6put src i uchar and mul i 7 255
7end
8for r ulong 8000
9k = uchar and r 255
10for i ulong 65536
11put dst sub 65535 i xor get src i k
12end
13end
14w = write 1 dst 0 65536
15ret 0
16end