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 / wasm / cases.tsv
| 1 | # unit export return typed-arguments native-status |
| 2 | # Commas delimit arguments; colon separates type and decimal value. - means none. |
| 3 | dev01 clamp_add uchar uchar:0,uchar:0 0 |
| 4 | dev01 clamp_add uchar uchar:250,uchar:20 0 |
| 5 | dev01 clamp_add uchar uchar:1,uchar:2 0 |
| 6 | dev02 absdiff long int:-2147483648,int:2147483647 0 |
| 7 | dev02 absdiff long int:9,int:-3 0 |
| 8 | dev02 absdiff long int:0,int:0 0 |
| 9 | dev03 popcount uchar ulong:0 0 |
| 10 | dev03 popcount uchar ulong:18446744073709551615 0 |
| 11 | dev03 popcount uchar ulong:9223372036854775808 0 |
| 12 | dev04 gcd uint uint:48,uint:18 0 |
| 13 | dev04 gcd uint uint:0,uint:9 0 |
| 14 | dev04 gcd uint uint:4294967295,uint:1 0 |
| 15 | dev05 checked_mul short short:-12,short:7 0 |
| 16 | dev05 checked_mul short short:32767,short:1 0 |
| 17 | dev05 checked_mul short short:32767,short:2 101 |
| 18 | dev05 checked_mul short short:-32768,short:-1 101 |
| 19 | dev06 safe_div uint uint:4294967295,uint:2 0 |
| 20 | dev06 safe_div uint uint:9,uint:0 102 |
| 21 | dev07 isqrt uint uint:0 0 |
| 22 | dev07 isqrt uint uint:4294967295 0 |
| 23 | dev07 isqrt uint uint:144 0 |
| 24 | dev08 collatz_steps uint uint:1 0 |
| 25 | dev08 collatz_steps uint uint:27 0 |
| 26 | dev08 collatz_steps uint uint:0 104 |
| 27 | dev09 bitrev8 uchar uchar:1 0 |
| 28 | dev09 bitrev8 uchar uchar:165 0 |
| 29 | dev09 bitrev8 uchar uchar:255 0 |
| 30 | dev10 to_i8 byte int:-128 0 |
| 31 | dev10 to_i8 byte int:127 0 |
| 32 | dev10 to_i8 byte int:128 105 |
| 33 | integers addu8 uchar uchar:255,uchar:1 0 |
| 34 | integers addu8 uchar uchar:19,uchar:7 0 |
| 35 | integers subu16 ushort ushort:0,ushort:1 0 |
| 36 | integers mulu32 uint uint:4294967295,uint:4294967295 0 |
| 37 | integers addu64 ulong ulong:18446744073709551615,ulong:1 0 |
| 38 | integers subi8 byte byte:-128,byte:1 101 |
| 39 | integers subi8 byte byte:127,byte:1 0 |
| 40 | integers muli16 short short:-32768,short:1 0 |
| 41 | integers muli16 short short:32767,short:2 101 |
| 42 | integers addi32 int int:2147483647,int:1 101 |
| 43 | integers addi32 int int:-2147483648,int:1 0 |
| 44 | integers addi64 long long:9223372036854775807,long:1 101 |
| 45 | integers addi64 long long:-9223372036854775808,long:-1 101 |
| 46 | integers addi64 long long:-9223372036854775808,long:9223372036854775807 0 |
| 47 | integers subi64 long long:-9223372036854775808,long:1 101 |
| 48 | integers subi64 long long:9223372036854775807,long:-1 101 |
| 49 | integers subi64 long long:0,long:-9223372036854775808 101 |
| 50 | integers subi64 long long:-19,long:-7 0 |
| 51 | integers muli64 long long:9223372036854775807,long:2 101 |
| 52 | integers muli64 long long:-9223372036854775808,long:-1 101 |
| 53 | integers muli64 long long:-1,long:-9223372036854775808 101 |
| 54 | integers muli64 long long:-9223372036854775808,long:1 0 |
| 55 | integers muli64 long long:0,long:-9223372036854775808 0 |
| 56 | integers muli64 long long:-19,long:-7 0 |
| 57 | integers divu64 ulong ulong:18446744073709551615,ulong:3 0 |
| 58 | integers divu64 ulong ulong:1,ulong:0 102 |
| 59 | integers divi64 long long:-19,long:7 0 |
| 60 | integers divi64 long long:19,long:-7 0 |
| 61 | integers divi64 long long:-9223372036854775808,long:-1 101 |
| 62 | integers remi64 long long:-19,long:7 0 |
| 63 | integers remi64 long long:-9223372036854775808,long:-1 0 |
| 64 | integers remu64 ulong ulong:18446744073709551615,ulong:3 0 |
| 65 | integers shli64 long long:1,uint:62 0 |
| 66 | integers shli64 long long:-1,uint:63 0 |
| 67 | integers shli64 long long:1,uint:63 101 |
| 68 | integers shli64 long long:1,uint:64 107 |
| 69 | integers shri64 long long:-9223372036854775808,byte:63 0 |
| 70 | integers shri64 long long:-1,byte:-1 107 |
| 71 | integers shru64 ulong ulong:18446744073709551615,uint:63 0 |
| 72 | integers shlu8 uchar uchar:255,uint:1 0 |
| 73 | integers shlu8 uchar uchar:1,uint:8 107 |
| 74 | integers andi64 long long:-1,long:-9223372036854775808 0 |
| 75 | integers oru32 uint uint:2147483648,uint:1 0 |
| 76 | integers xoru64 ulong ulong:18446744073709551615,ulong:9223372036854775808 0 |
| 77 | integers negi64 long long:-9223372036854775808 101 |
| 78 | integers negi64 long long:-9223372036854775807 0 |
| 79 | integers negu8 uchar uchar:1 0 |
| 80 | integers noti8 byte byte:0 0 |
| 81 | integers noti8 byte byte:-128 0 |
| 82 | integers notbool bool bool:true 0 |
| 83 | integers notbool bool bool:false 0 |
| 84 | integers castsu ulong long:-1 105 |
| 85 | integers castsu ulong long:9223372036854775807 0 |
| 86 | integers castus long ulong:9223372036854775808 105 |
| 87 | integers castus long ulong:9223372036854775807 0 |
| 88 | integers casti8 byte long:-129 105 |
| 89 | integers casti8 byte long:-128 0 |
| 90 | integers castu8 uchar ulong:256 105 |
| 91 | integers castu8 uchar ulong:255 0 |
| 92 | integers voidfn void uint:7 0 |
| 93 | control eq64 bool ulong:18446744073709551615,ulong:18446744073709551615 0 |
| 94 | control eq64 bool ulong:1,ulong:0 0 |
| 95 | control ne64 bool long:-1,long:1 0 |
| 96 | control ne64 bool long:0,long:0 0 |
| 97 | control lts64 bool long:-9223372036854775808,long:9223372036854775807 0 |
| 98 | control lts64 bool long:1,long:-1 0 |
| 99 | control ltu64 bool ulong:18446744073709551615,ulong:1 0 |
| 100 | control ltu64 bool ulong:1,ulong:18446744073709551615 0 |
| 101 | control les32 bool int:-2147483648,int:0 0 |
| 102 | control les32 bool int:1,int:1 0 |
| 103 | control les32 bool int:1,int:0 0 |
| 104 | control leu32 bool uint:4294967295,uint:1 0 |
| 105 | control leu32 bool uint:1,uint:1 0 |
| 106 | control gts16 bool short:-32768,short:32767 0 |
| 107 | control gts16 bool short:32767,short:-32768 0 |
| 108 | control gtu16 bool ushort:65535,ushort:0 0 |
| 109 | control gtu16 bool ushort:0,ushort:65535 0 |
| 110 | control ges8 bool byte:-128,byte:-128 0 |
| 111 | control ges8 bool byte:-128,byte:127 0 |
| 112 | control geu8 bool uchar:255,uchar:0 0 |
| 113 | control geu8 bool uchar:0,uchar:255 0 |
| 114 | control booland bool bool:true,bool:false 0 |
| 115 | control boolor bool bool:true,bool:false 0 |
| 116 | control boolxor bool bool:true,bool:true 0 |
| 117 | control addone uint uint:4294967295 0 |
| 118 | control nested uint uint:4294967295 0 |
| 119 | control six uint uint:1,uint:2,uint:3,uint:4,uint:5,uint:6 0 |
| 120 | control breaks uint uint:5 0 |
| 121 | control breaks uint uint:0 0 |
| 122 | control forbreak uint uint:10 0 |
| 123 | control forbreak uint uint:0 0 |
| 124 | control choose int int:-7 0 |
| 125 | control choose int int:0 0 |
| 126 | control looptrap uint uint:2 0 |
| 127 | control looptrap uint uint:3 104 |
| 128 | control explicit uint - 109 |
| 129 | mutant mutadd uint uint:19,uint:7 0 |
| 130 | integers voidcall void uint:7 0 |
| 131 | integers voidthen uint uint:4294967295 0 |