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
omega-mv / seed / ng / bench / hand / neg / noeor.spec
| 1 | @ng a64-enc |
| 2 | ; bcopy ngB: ngL plus bounds-check elimination (i in [0, 65536) by the loop test, 65535 - i too), the |
| 3 | ; store index kept as its own down-counting induction variable x4. |
| 4 | ; @old 0x40011c 0xd2800002 0xd2a00023 0xeb03005f 0x54000202 0xd29fffe3 0xcb020064 0xd2a00025 0xeb05005f 0x54000562 0xd2a21006 0x386268c8 0xca010109 0xd2a0002a 0xeb0a009f 0x540004a2 0xd2a2102b 0x38246969 0x91000442 0x17ffffef |
| 5 | ; @at 0x40011c |
| 6 | movzx 2 0 0 | mov x2, #0x0 |
| 7 | movzx 3 1 1 | mov x3, #0x10000 |
| 8 | movzx 4 0xffff 0 | mov x4, #0xffff |
| 9 | movzx 6 0x1080 1 | mov x6, #0x10800000 |
| 10 | movzx 11 0x1081 1 | mov x11, #0x10810000 |
| 11 | ldrbr 8 6 2 0 | ldrb w8, [x6, x2] |
| 12 | strbr 8 11 4 0 | strb w8, [x11, x4] |
| 13 | addxi 2 2 1 0 | add x2, x2, #0x1 |
| 14 | subxi 4 4 1 0 | sub x4, x4, #0x1 |
| 15 | subsx 31 2 3 | cmp x2, x3 |
| 16 | bcond 1 -6 | b.ne @-24 |
| 17 | ; @nop 0x400168 |