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 / gpu / nvidia / om / api / mm_next.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | om2 |
| 3 | fn mm_next q edit ulong 8 to bool |
| 4 | put q 1 add get q 1 1 |
| 5 | if eq get q 1 get q 3 |
| 6 | put q 1 0 |
| 7 | put q 0 add get q 0 1 |
| 8 | end |
| 9 | put q 5 add mul get q 0 get q 3 get q 1 |
| 10 | ret lt get q 0 get q 4 |
| 11 | end |