small string evaluation; strings as values in eval

This commit is contained in:
Ryan Fleury
2024-08-14 10:49:56 -07:00
parent eac1672c4e
commit 918895c091
12 changed files with 175 additions and 112 deletions
+30 -32
View File
@@ -1245,38 +1245,36 @@ RDI_EvalOpTable:
{ConstU16 13 2 0 1}
{ConstU32 14 4 0 1}
{ConstU64 15 8 0 1}
{ConstU128 16 16 0 1}
{ConstU256 17 32 0 1}
{ConstU512 18 64 0 1}
{Abs 19 1 1 1}
{Neg 20 1 1 1}
{Add 21 1 2 1}
{Sub 22 1 2 1}
{Mul 23 1 2 1}
{Div 24 1 2 1}
{Mod 25 1 2 1}
{LShift 26 1 2 1}
{RShift 27 1 2 1}
{BitAnd 28 1 2 1}
{BitOr 29 1 2 1}
{BitXor 30 1 2 1}
{BitNot 31 1 1 1}
{LogAnd 32 1 2 1}
{LogOr 33 1 2 1}
{LogNot 34 1 1 1}
{EqEq 35 1 2 1}
{NtEq 36 1 2 1}
{LsEq 37 1 2 1}
{GrEq 38 1 2 1}
{Less 39 1 2 1}
{Grtr 40 1 2 1}
{Trunc 41 1 1 1}
{TruncSigned 42 1 1 1}
{Convert 43 2 1 1}
{Pick 44 1 0 1}
{Pop 45 0 1 0}
{Insert 46 1 0 0}
{COUNT 47 0 0 0}
{ConstString 16 1 0 1}
{Abs 17 1 1 1}
{Neg 18 1 1 1}
{Add 19 1 2 1}
{Sub 20 1 2 1}
{Mul 21 1 2 1}
{Div 22 1 2 1}
{Mod 23 1 2 1}
{LShift 24 1 2 1}
{RShift 25 1 2 1}
{BitAnd 26 1 2 1}
{BitOr 27 1 2 1}
{BitXor 28 1 2 1}
{BitNot 29 1 1 1}
{LogAnd 30 1 2 1}
{LogOr 31 1 2 1}
{LogNot 32 1 1 1}
{EqEq 33 1 2 1}
{NtEq 34 1 2 1}
{LsEq 35 1 2 1}
{GrEq 36 1 2 1}
{Less 37 1 2 1}
{Grtr 38 1 2 1}
{Trunc 39 1 1 1}
{TruncSigned 40 1 1 1}
{Convert 41 2 1 1}
{Pick 42 1 0 1}
{Pop 43 0 1 0}
{Insert 44 1 0 0}
{COUNT 45 0 0 0}
}
// NOTE(rjf): "ck" -> "conversion kind, when converted to type group", used in square matrix form