Som v 3.0
This is a new release based on sx-code. Sx-code is
zero+one-address instruction set. It is 30% faster in terms of
number of instruction and running time than s-code. It is not
complex, only larger than s-code (85 instruction vs 40). The
added instructions are local-var mode and immediate mode of bop s-code
pluses some "for performance" code such as efor. The virtual machine of
som-v16u is used as VM for som-v3. This VM has been carefully
engineered. It is the fastest
VM for s-code family to date.
The base code (som) comes from som-v24. Most change is in the code
generator. The improvements are:
1) symbol table (is already one hash table + lvtab), search both global
and local in one hash table.
2) lister uses findName2 memoised, hence 10 times faster than the
previous version.
3) code optimisation is much better (from som-v16u)
4) libray such as streq is 2-3x faster.
9 March 2007